返回列表 發帖

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.

回復 17# Qnewbie

You may look at this one as well

http://micpc.com/astwebmgr/

TOP

Thanks!

TsinTsin C-hing has multiple interesting downloads, for instance, blacklist

TOP

本帖最後由 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

TOP

Yes, exactly!

TOP

回復 13# Qnewbie


SO you are looking for a solution like this

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

TOP

Yes, programming is needed.

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

TOP

回復 11# Qnewbie


    Then it needs manual programming.

TOP

回復 10# ckleea


    Yes!

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

TOP

回復 8# Qnewbie

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

TOP

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

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

回復 5# Qnewbie


Is it something you look forward to have?

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

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

TOP

返回列表