返回列表 發帖

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

看不懂你的問題,如果能詳述你的 web-callback 實現的方法,可能會比較清楚
OSSLab Blog :: VoIP & IT Consultant

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

I think the second point is more complicated. It should be done by script.

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

No exactly the callback I am looking for.

Both legs should be assigned by the web. One leg is checked by asterisk, or with auth. code.

TOP

可能是英文我比較看不懂,關於第二點,如果使用 callback + DISA, 那還需要開發 script for dynamic route?
OSSLab Blog :: VoIP & IT Consultant

TOP

回復 8# Qnewbie

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

TOP

回復 10# ckleea


    Yes!

Most click2call act as one leg for outbound call, the other leg is internal number.

TOP

回復 11# Qnewbie


    Then it needs manual programming.

TOP

Yes, programming is needed.

It should not be considered as web click2call, should be web callback.

TOP

回復 13# Qnewbie


SO you are looking for a solution like this

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

TOP

Yes, exactly!

TOP

返回列表