I managed to get the very cool “click to call” script from voipuser.org/forum_topic_9971.html to work. I’d like to make a small change however.
One of the variables defined in the call.php file is
As I understand it, when a website visitor enters their phone number and clicks “Call Me”, a SIP call is placed to the peer 1234 that’s defined in sip.conf. As I said this seems to be working.
What I want to happen is for the call instead to enter the extension of my dialplan which normally accepts incoming calls… so these calls act like any other call that’s placed to my DiD.
I tried changing the call.php file to read
but neither worked.
Can someone suggest how to get calls into the desired extension?