简体   繁体   中英

Setup Voip Call from SIP Account in php

I have my CMS built in the php, now I want to integrate Voip call on when admin click on the any user's phone number, but I didn't find any solution to get it done. All I have a SIP details of admin and the second user. I did tried the example shown in below link but not working: https://level7systems.co.uk/en/click_to_call_with_php_sip/ it always returning No final response in fr_timer seconds

经过大量研究,我发现SIPML是解决我的问题的方法,它提供了预构建库以进行sip调用,下面是演示URL: https : //www.doubango.org/sipml5/call.htm? SVN = 250

First you need to have VoIP server which supports some kind of API, probably best one is Asterisk or Freeswitch.(I don't know what server you are using, but you will need not only SIP account, but some kind of API too) If you will use Asterisk you can use AMI interface for triggering call. So when you click on number your PHP script needs to connect to Asterisk management interface and trigger a call.

Here are some examples:

http://www.voip-info.org/wiki/view/Asterisk+manager+Example:+PHP

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM