Page 1 of 1

Direct IP Address Calling for Video Conferencing

Posted: Wed Jan 30, 2013 10:53 am
by wilbert
Did my tries but I cannot get it running. Is there any way to make a Dial Plan to allow direct ip address calls? I mean:

sys.Dial("199.48.1.50") or

sys.Dial("video.conference.com")

I need to call to some Video Conferencing services but they have not SIP URI address so I'm forced to call to ip addressess or dns names. Is there any way to include this in a Dial Plan?

Thanks in advance!

Re: Direct IP Address Calling for Video Conferencing

Posted: Wed Jan 30, 2013 11:11 am
by Aaron
Do you mean in a SimpleWizard dialplan?

The direct IP or hostname calling is done exactly as you've shown for a Ruby dialplan. For the SimpleWizard you can do exactly the same thing by using the AdvancedDial command instead of the Dial command.

Re: Direct IP Address Calling for Video Conferencing

Posted: Wed Jan 30, 2013 5:43 pm
by wilbert
I mean in Ruby. Problem is that if I do a sys.Dial"192.192.192.192") in a dialplan, SS automatically make the call to req.URI.User@192.192.192.192.

In a sip uri call most Softphones use to clean the user part. If I call to 192.192.192.192@whatever, softphones will send 192192192192@whatever. So, I'm forced to work on the domain part dialing ip@192.192.192.192.

In my DialPlan if a call goes to req.URI.User == "ip" I simply do a sys.Dial( req.URI.Host ). Easy but it doesn't run. SS make a call to ip@192.192.192.192. And this is the core of my problem.

Re: Direct IP Address Calling for Video Conferencing

Posted: Thu Jan 31, 2013 9:43 am
by Aaron
Ok I understand what you are saying. In nearly 6 years of operation no one has ever requested that behaviour before :) . So it's likely that in 99.999% of cases people do want req.URI.User to be put into the SIP URI when they don't explicitly set anything for the user portion of their dial string.

In addition I would have thought in most cases if a SIP server accepts a call with an empty user portion in the URI it would ignore cases where the user portion is specified.

All that being said I should be able to come up with a way to allow SIP URIs with an empty user portion. I'll add the request to my list of dev work and get to it as time permits.

Re: Direct IP Address Calling for Video Conferencing

Posted: Thu Jan 31, 2013 4:19 pm
by wilbert
It means we are evolving! Good to know it could be a new feature in SS!

Re: Direct IP Address Calling for Video Conferencing

Posted: Sun Feb 03, 2013 9:51 am
by Aaron
A new update has been applied that will allow a complete SIP URI to be dialled without the sipsorcery server auto-completing the user portion of the URI.

To use the new approach you will need to fully specify the SIP URI in your dial string which means you must prefix it with "sip:" or "sips:". So in your example where you want to directly dial an IP address you would use:

Code: Select all

sys.Dial("sip:192.192.192.192")

Re: Direct IP Address Calling for Video Conferencing

Posted: Mon Feb 04, 2013 8:52 pm
by wilbert
Working well. Thanks!!!