I need help from one of you experts out there for setting up a very basic web callback service on SIPsorcery. I am using Freephoneline.ca as my SIP provider and wanted to setup web callback on my iPhone using an app called Groundwire. Groundwire accepts web callback settings (callback URLs and HTTP POST or SOAP APIs).
At this point, my SIP provider is already setup with SIPsorcery. And this is what I know so far:
My dailplan must look like this.....
sys.Log("webcallback dialplan starting...callback number=#{req.URI.user}")
sys.Callback("username@local", "#{req.URI.user}@provider")
SO WHAT PORTION OF THIS CODE DO I NEED TO CUSTOMIZE?????
The Web Callback URL to be used must look like this: "http://www.sipsorcery.com/callmanager.s ... er=1234567".
AGAIN, WHAT DO I CHANGE IN THIS URL FOR IT TO FUNCTION WITH MY ACCOUNT????
Thanks for helping a newbe...
Need help setting up a basic Web Callback dialplan with SIP
Re: Need help setting up a basic Web Callback dialplan with
On the line below change "username" to your own SIPSorcery username and "provider" to the name of the SIP provider you created to place the callbacks through.
sys.Callback("username@local", "#{req.URI.user}@provider")
sys.Callback("username@local", "#{req.URI.user}@provider")
Re: Need help setting up a basic Web Callback dialplan with
Thanks for the help Aaron but that doesn't work. With a lot of testing, this is what ended up working for me :
sys.Log("webcallback dialplan startting to local...callback number=#{req.URI.user}")
sys.Callback("MY_CALLBACK_NUMBER_HERE@MY_PROVIDER_NAME_HERE", "#{req.URI.user}@MY_PROVIDER_NAME_HERE")
and,
"http://www.sipsorcery.com/callmanager.s ... _CALL_HERE".
Works great every time! Hope this helps someone else....
Now, does anyone know how to integrate the HTTP url with the Groundwire app (iPhone) ????? I haven't found a way to make it work yet.
sys.Log("webcallback dialplan startting to local...callback number=#{req.URI.user}")
sys.Callback("MY_CALLBACK_NUMBER_HERE@MY_PROVIDER_NAME_HERE", "#{req.URI.user}@MY_PROVIDER_NAME_HERE")
and,
"http://www.sipsorcery.com/callmanager.s ... _CALL_HERE".
Works great every time! Hope this helps someone else....
Now, does anyone know how to integrate the HTTP url with the Groundwire app (iPhone) ????? I haven't found a way to make it work yet.
-
- Posts: 1
- Joined: Tue Oct 25, 2011 1:19 pm
Re: Need help setting up a basic Web Callback dialplan with
Hello!
Please check http://www.flashphoner.com
This is RTMP-SIP server for making web calls from the browser to phones
It have built-in FlashPhone and JavaScript Phone
Functions:
- Audio - Speex, g.711, g.729
- Video - h.263, h.264
- SIP - calls, transfer, hold, DTMF, IM chat
- API - ActionScript, JavaScript
- Open source client
- Open source server java app
Thanks,
Pavel
Please check http://www.flashphoner.com
This is RTMP-SIP server for making web calls from the browser to phones
It have built-in FlashPhone and JavaScript Phone
Functions:
- Audio - Speex, g.711, g.729
- Video - h.263, h.264
- SIP - calls, transfer, hold, DTMF, IM chat
- API - ActionScript, JavaScript
- Open source client
- Open source server java app
Thanks,
Pavel