SIP Sorcery Help - Web Callback
Back to Contents
For additional help or questions a community forum is available here.
Web Callback User Guide
The Web Callback feature can be used to initiate a callback using a HTTP GET request. The steps involved are:
1. Create a new dialplan with a name of webcallback. This is the dialplan that will be activated when a Web Callback
arrives for your username and can contain any processing you wish. However since there is no SIP call to bridge to using
the Dial command will not work. An example of a minimal dialplan for a web callback is:
sys.Log("webcallback dialplan starting...callback number=#{req.URI.user}")
sys.Callback("username@local", "#{req.URI.user}@provider")
2. The Web Callback can now be initiated using http://www.sipsorcery.com/callmanager.svc/webcallback?user=username&number=1234567.