Direct IP Address Calling for Video Conferencing

Feedback, issues & questions regarding the use of the Telis Wizard and Simple Wizard dial plans.
Post Reply
wilbert
Posts: 66
Joined: Mon Dec 12, 2011 4:48 pm

Direct IP Address Calling for Video Conferencing

Post by wilbert » Wed Jan 30, 2013 10:53 am

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!

User avatar
Aaron
Site Admin
Posts: 4552
Joined: Thu Jul 12, 2007 12:13 am

Re: Direct IP Address Calling for Video Conferencing

Post by Aaron » Wed Jan 30, 2013 11:11 am

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.

wilbert
Posts: 66
Joined: Mon Dec 12, 2011 4:48 pm

Re: Direct IP Address Calling for Video Conferencing

Post by wilbert » Wed Jan 30, 2013 5:43 pm

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.

User avatar
Aaron
Site Admin
Posts: 4552
Joined: Thu Jul 12, 2007 12:13 am

Re: Direct IP Address Calling for Video Conferencing

Post by Aaron » Thu Jan 31, 2013 9:43 am

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.

wilbert
Posts: 66
Joined: Mon Dec 12, 2011 4:48 pm

Re: Direct IP Address Calling for Video Conferencing

Post by wilbert » Thu Jan 31, 2013 4:19 pm

It means we are evolving! Good to know it could be a new feature in SS!

User avatar
Aaron
Site Admin
Posts: 4552
Joined: Thu Jul 12, 2007 12:13 am

Re: Direct IP Address Calling for Video Conferencing

Post by Aaron » Sun Feb 03, 2013 9:51 am

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")

wilbert
Posts: 66
Joined: Mon Dec 12, 2011 4:48 pm

Re: Direct IP Address Calling for Video Conferencing

Post by wilbert » Mon Feb 04, 2013 8:52 pm

Working well. Thanks!!!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest