Board logo

標題: Web based click to call [打印本頁]

作者: ckleea    時間: 2011-6-16 07:56     標題: 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.
作者: ckleea    時間: 2011-6-16 08:35

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.
作者: alang    時間: 2011-6-16 14:00

看不懂你的問題,如果能詳述你的 web-callback 實現的方法,可能會比較清楚
作者: ckleea    時間: 2011-6-16 14:38

回復 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.
作者: Qnewbie    時間: 2011-6-16 17:28

I think the second point is more complicated. It should be done by script.
作者: ckleea    時間: 2011-6-16 17:55

回復 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

圖片附件: screenshot.1.jpg (2011-6-16 17:54, 52.05 KB) / 下載次數 1127
http://telecom-cafe.com/forum/attachment.php?aid=816&k=9a2574ea46fab6e128cc68387c507128&t=1732618706&sid=7e7CU9


作者: ckleea    時間: 2011-6-16 17:59

回復 5# Qnewbie


Is it something you look forward to have?
作者: Qnewbie    時間: 2011-6-16 18:05

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.
作者: alang    時間: 2011-6-16 18:16

可能是英文我比較看不懂,關於第二點,如果使用 callback + DISA, 那還需要開發 script for dynamic route?
作者: ckleea    時間: 2011-6-16 20:02

回復 8# Qnewbie

You mean to have both numbers set in the web. Asterisk deals with connection for both sides?
作者: Qnewbie    時間: 2011-6-16 20:18

回復 10# ckleea


    Yes!

Most click2call act as one leg for outbound call, the other leg is internal number.
作者: ckleea    時間: 2011-6-16 20:22

回復 11# Qnewbie


    Then it needs manual programming.
作者: Qnewbie    時間: 2011-6-16 20:30

Yes, programming is needed.

It should not be considered as web click2call, should be web callback.
作者: ckleea    時間: 2011-6-16 20:58

回復 13# Qnewbie


SO you are looking for a solution like this

http://skysiptel.com/wp/?page_id=53
作者: Qnewbie    時間: 2011-6-16 22:27

Yes, exactly!
作者: TsinTsin    時間: 2011-6-17 00:27

本帖最後由 TsinTsin 於 2011-6-17 00:28 編輯
回復  Qnewbie


SO you are looking for a solution like this
ckleea 發表於 2011-6-16 20:58


For this case is so easy:
Connect two phones
How it works

Enter your phone number
Enter your destination number
Click Call.


using Asterisk .NET with Asterisk Manager Interface
1. connect to Asterisk and login
2. make Action
3. create Web Service (Let any Language call it and make the Action)






You can reference my  Asterisk.NET sample demo
作者: Qnewbie    時間: 2011-6-17 01:56

Thanks!

TsinTsin C-hing has multiple interesting downloads, for instance, blacklist
作者: ckleea    時間: 2011-6-17 06:52

回復 17# Qnewbie

You may look at this one as well

http://micpc.com/astwebmgr/




歡迎光臨 電訊茶室 (http://telecom-cafe.com/forum/) Powered by Discuz! 7.2