返回列表 發帖

Web based click to call

After some investigation, I found a script to do click to call. It is not difficult but works.

However, I notice that there are few errors and problem
1. The callfile generated has some extra carriage return. In CLI it shows as warnings
2. I cannot dynamically assign channel to use . Therefore, either your handset is connected your asterisk as an extension or connected based on your location. The latter is really important because you may not have wifi for your VoIP during connection but you are using some local phone at somewhere in the world
3. Need definitely upgrade the existing IVR for more robust setup
4. You need a server to run the php script and local read write to pass the callfile to asterisk server. In IP01, it means you need to add lighttpd during compilation.

Some supplementary information for point 2. What I mean is
the web based program should allow me to select which type of channel to be use to call back i.e. when you are roaming to somewhere, you are either connected to your server as soft phone ( in that case, you do not really need web call back), or you just a lcoal phone number of that country with internet access to the web. In the latter case, web call back will be of great importance to save you cost.

The web program should ask for the cheapest plan to call from your asterisk server to your local phone number and allow you in the system to use your asterisk dialplan to dial out.

In my mind is that HK uses HKBN2b, US uses Google voice, other countries e.g. UK use your local endpoint if you have.... etc

For point 3, the IVR should be changed to some more intuitive voice to guide you through.

TOP

回復 3# alang

I have tried your scripts but not able to make it work. So I look around and try to develop my own version. The description above is based on the problems I encountered.

TOP

回復 5# Qnewbie

I m by no mean an expert in programmer so it is done by trial and error.

My present developing screen likes this

screenshot.1.jpg

TOP

回復 5# Qnewbie


Is it something you look forward to have?

TOP

回復 8# Qnewbie

You mean to have both numbers set in the web. Asterisk deals with connection for both sides?

TOP

回復 11# Qnewbie


    Then it needs manual programming.

TOP

回復 13# Qnewbie


SO you are looking for a solution like this

http://skysiptel.com/wp/?page_id=53

TOP

回復 17# Qnewbie

You may look at this one as well

http://micpc.com/astwebmgr/

TOP

返回列表