Quote:
Originally Posted by newjaguar
Thanks for the advice.
I have put SipSorcery in the middle.
Triggering the call is no problem but I having problem with SipSorcery to call out. I have added Voxalot as sip provider but I think it can NOT call out. I have tested it by adding SipSprcery account with x-lite, I can not call out.
What am I doing wrong ? Do I have to setup Dial Plans etc. ?
Any suggestions, Thanks again :-)
|
Sorry this maybe a little late....
You need to setup a dialplan within SipSorcery to enable outgoing calls...
If you're just using it for this purpose here's simple dial plan:
Code:
#Ruby
sys.log("***Outgoing Call Starting***")
sys.log("Call being placed by #{req.Header.From.FromName} at #{req.Header.From.FromURI.User}@#{req.Header.From.FromURI.Host}")
sys.log("Call is for #{req.URI.User}")
caller = req.Header.From.FromURI.User
number_called = req.URI.User
sys.log("*** Call From: #{caller} ***")
sys.log ("***Call To: #{number_called } ***")
sys.Dial("VoXalot")
Assuming "VoXalot" is the name you gave your VoXalot registration in SipSorcery....