View Single Post
Unread 06-04-2010, 03:31 PM   #4
emoci
 
Join Date: Jul 2007
Location: Toronto, Canada
Posts: 1,422
Thanks: 123
Thanked 369 Times in 282 Posts
emoci is a name known to allemoci is a name known to allemoci is a name known to allemoci is a name known to all
Default

Quote:
Originally Posted by newjaguar View Post
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....
emoci is offline   Reply With Quote