SIP Account Multiple DDIs

Support zone
Post Reply
mooad
Posts: 2
Joined: Mon Aug 18, 2014 4:22 pm

SIP Account Multiple DDIs

Post by mooad » Mon Aug 18, 2014 8:13 pm

Hi, I want to know if it's possible to have a SIP Account with multiple DDIs. I have 3 providers and want to connect them all in to one SIP account using SIP Sorcery.

The SIP Account would be connected to something like Asterisk or 3CX.

I ask this question because I assume the To: field would be the sip account and not the DDI that's been called.

Thanks in advance.

Aaron
Site Admin
Posts: 4652
Joined: Thu Jul 12, 2007 12:13 am

Re: SIP Account Multiple DDIs

Post by Aaron » Thu Aug 21, 2014 10:32 am

Yes that's possible and is in fact one of the main uses for the sipsorcery service.

mooad
Posts: 2
Joined: Mon Aug 18, 2014 4:22 pm

Re: SIP Account Multiple DDIs

Post by mooad » Thu Aug 21, 2014 4:33 pm

How? sys.Dial sends the request to username@ not ddi@ in the TO field.

Aaron
Site Admin
Posts: 4652
Joined: Thu Jul 12, 2007 12:13 am

Re: SIP Account Multiple DDIs

Post by Aaron » Fri Aug 22, 2014 1:13 pm

For an INVITE request the To header typically contains the same SIP address as the request URI, that is if you are sending a call to sip:someone@somewhere.com then that URI will be used as the request's destination URI and the To header.

However none of that should matter for getting calls from multiple providers to one of your sipsorcery SIP accounts. To accomplish that you can follow the steps outlined here http://www.sipsorcery.com/mainsite/Help#Incoming to create an incoming dialplan.

Post Reply