Richard Kolkovich | 18 Aug 18:14
Gravatar

DID -> Extension mapping

I'm setting up a sipx installation using Bandtel as a SIP trunk.  For the office, I need to have DIDs map to
extensions.  When I get the INVITE from Bandtel, the number is prepended with 0300 (i.e. -
03001234567890@).  I have created a DialPlan based on http://tinyurl.com/5wjmtb that sets the prefix to
0300, matching 10 digits.  The resulting call is no prefix and matched suffix.  This should, as I understand
it, result in a call to 1234567890.

The extension I want to forward to has the DID as an alias, so I would assume this dial plan would ring that
extension.  It actually results in a 404 sent back to Bandtel, and the call failing.

Is it possible to accomplish this without making the extensions the DIDs themselves?

Thanks,

--

-- 

Richard Kolkovich
sarumont <at> sigil.org
I'm setting up a sipx installation using Bandtel as a SIP trunk.  For the office, I need to have DIDs map to
extensions.  When I get the INVITE from Bandtel, the number is prepended with 0300 (i.e. -
03001234567890@).  I have created a DialPlan based on http://tinyurl.com/5wjmtb that sets the prefix to
0300, matching 10 digits.  The resulting call is no prefix and matched suffix.  This should, as I understand
it, result in a call to 1234567890.

The extension I want to forward to has the DID as an alias, so I would assume this dial plan would ring that
extension.  It actually results in a 404 sent back to Bandtel, and the call failing.

Is it possible to accomplish this without making the extensions the DIDs themselves?

(Continue reading)

Scott Lawrence | 18 Aug 20:58

Re: DID -> Extension mapping


On Mon, 2008-08-18 at 11:18 -0500, Richard Kolkovich wrote:
> I'm setting up a sipx installation using Bandtel as a SIP trunk.  For
> the office, I need to have DIDs map to extensions.  When I get the
> INVITE from Bandtel, the number is prepended with 0300 (i.e. -
> 03001234567890@).  I have created a DialPlan based on
> http://tinyurl.com/5wjmtb that sets the prefix to 0300, matching 10
> digits.  The resulting call is no prefix and matched suffix.  This
> should, as I understand it, result in a call to 1234567890.
> 
> The extension I want to forward to has the DID as an alias, so I would
> assume this dial plan would ring that extension.  It actually results
> in a 404 sent back to Bandtel, and the call failing.

Did you Activate the dial plans after you made the change?

> Is it possible to accomplish this without making the extensions the
> DIDs themselves?

Yes, it should be.

You may need to capture a call and post the trace.  See
http://sipx-wiki.calivia.com/index.php/Display_SIP_message_flow_using_Sipviewer

and the documentation for the sipx-trace script on your system
(sipx-trace --help).

--

-- 
Scott Lawrence  tel:+1.781.229.0533;ext=162 or sip:slawrence <at> pingtel.com
  sipXecs project coordinator - SIPfoundry http://www.sipfoundry.org/sipXecs
(Continue reading)

Tony Graziano | 18 Aug 21:05
Favicon

Re: DID -> Extension mapping

What version of sipx, and what are you using to connect to their sip trunk?

>>> Scott Lawrence <slawrence <at> pingtel.com> 08/18/08 02:58PM >>>

On Mon, 2008-08-18 at 11:18 -0500, Richard Kolkovich wrote:
> I'm setting up a sipx installation using Bandtel as a SIP trunk.  For
> the office, I need to have DIDs map to extensions.  When I get the
> INVITE from Bandtel, the number is prepended with 0300 (i.e. -
> 03001234567890 <at> ).  I have created a DialPlan based on
> http://tinyurl.com/5wjmtb that sets the prefix to 0300, matching 10
> digits.  The resulting call is no prefix and matched suffix.  This
> should, as I understand it, result in a call to 1234567890.
>
> The extension I want to forward to has the DID as an alias, so I would
> assume this dial plan would ring that extension.  It actually results
> in a 404 sent back to Bandtel, and the call failing.

Did you Activate the dial plans after you made the change?

> Is it possible to accomplish this without making the extensions the
> DIDs themselves?

Yes, it should be.

You may need to capture a call and post the trace.  See
http://sipx-wiki.calivia.com/index.php/Display_SIP_message_flow_using_Sipviewer

and the documentation for the sipx-trace script on your system
(sipx-trace --help).

--
Scott Lawrence  tel:+1.781.229.0533;ext=162 or sip:slawrence <at> pingtel.com
  sipXecs project coordinator - SIPfoundry http://www.sipfoundry.org/sipXecs
  CTO, Voice Solutions   - Bluesocket Inc. http://www.bluesocket.com/
                                           http://www.pingtel.com/

_______________________________________________
sipx-users mailing list
sipx-users <at> list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-users
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users
<div>What version 
of sipx, and what are you using to connect to their sip 
trunk?<br><br>&gt;&gt;&gt; Scott Lawrence &lt;slawrence <at> pingtel.com&gt; 08/18/08 
02:58PM &gt;&gt;&gt;<br><br>On Mon, 2008-08-18 at 11:18 -0500, Richard Kolkovich 
wrote:<br>&gt; I'm setting up a sipx installation using Bandtel as a SIP 
trunk.&nbsp; For<br>&gt; the office, I need to have DIDs map to 
extensions.&nbsp; When I get the<br>&gt; INVITE from Bandtel, the number is 
prepended with 0300 (i.e. -<br>&gt; 03001234567890 <at> ).&nbsp; I have created a 
DialPlan based on<br>&gt; <a href="http://tinyurl.com/5wjmtb">http://tinyurl.com/5wjmtb</a> that sets the 
prefix to 0300, matching 10<br>&gt; digits.&nbsp; The resulting call is no 
prefix and matched suffix.&nbsp; This<br>&gt; should, as I understand it, result 
in a call to 1234567890.<br>&gt; <br>&gt; The extension I want to forward to has 
the DID as an alias, so I would<br>&gt; assume this dial plan would ring that 
extension.&nbsp; It actually results<br>&gt; in a 404 sent back to Bandtel, and 
the call failing.<br><br>Did you Activate the dial plans after you made the 
change?<br><br>&gt; Is it possible to accomplish this without making the 
extensions the<br>&gt; DIDs themselves?<br><br>Yes, it should be.<br><br>You may 
need to capture a call and post the trace.&nbsp; See<br><a href="http://sipx-wiki.calivia.com/index.php/Display_SIP_message_flow_using_Sipviewer">http://sipx-wiki.calivia.com/index.php/Display_SIP_message_flow_using_Sipviewer</a><br><br>and 
the documentation for the sipx-trace script on your system<br>(sipx-trace 
--help).<br><br>-- <br>Scott Lawrence&nbsp; tel:+1.781.229.0533;ext=162 or 
sip:slawrence <at> pingtel.com<br>&nbsp; sipXecs project coordinator - SIPfoundry <a href="http://www.sipfoundry.org/sipXecs">http://www.sipfoundry.org/sipXecs</a><br>&nbsp; 
CTO, Voice Solutions&nbsp;&nbsp; - Bluesocket Inc. <a href="http://www.bluesocket.com/">http://www.bluesocket.com/</a> 
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<a href="http://www.pingtel.com/">http://www.pingtel.com/</a><br><br>_______________________________________________<br>sipx-users 
mailing list<br>sipx-users <at> list.sipfoundry.org<br>List Archive: <a href="http://list.sipfoundry.org/archive/sipx-users">http://list.sipfoundry.org/archive/sipx-users</a><br>Unsubscribe: 
<a href="http://list.sipfoundry.org/mailman/listinfo/sipx-users">http://list.sipfoundry.org/mailman/listinfo/sipx-users</a><br>
</div>
Richard Kolkovich | 19 Aug 14:02
Gravatar

Re: DID -> Extension mapping

On Mon, Aug 18, 2008 at 11:18:05AM -0500, Richard Kolkovich wrote:
> I'm setting up a sipx installation using Bandtel as a SIP trunk.  For the office, I need to have DIDs map to
extensions.  When I get the INVITE from Bandtel, the number is prepended with 0300 (i.e. -
03001234567890@).  I have created a DialPlan based on http://tinyurl.com/5wjmtb that sets the prefix to
0300, matching 10 digits.  The resulting call is no prefix and matched suffix.  This should, as I understand
it, result in a call to 1234567890.
> 
> The extension I want to forward to has the DID as an alias, so I would assume this dial plan would ring that
extension.  It actually results in a 404 sent back to Bandtel, and the call failing.
> 
> Is it possible to accomplish this without making the extensions the DIDs themselves?
> 
> Thanks,
> 
> -- 
> 
> Richard Kolkovich
> sarumont <at> sigil.org

Looking at this some more, I discovered the SBC "send all calls here" is not a fallback - it just agnostically
sends calls to that extension.  I took the value out of that field, and that should delegate to the Dial Plan. 
I'm pretty certain, though, that the call is not getting inside of sipxbridge.  sipx-trace doesn't show me
anything about calls that come in, and tcpdump tells me that I'm sending a 503 back to Bandtel.

Could this be a sipXbridge bug, or (hopefully) a mis-configuration on my part?  I can send the tcpdump logs if
need be, but it's basically INVITE, 503, ACK.

Thanks,

-- 

Richard Kolkovich
sarumont <at> sigil.org
On Mon, Aug 18, 2008 at 11:18:05AM -0500, Richard Kolkovich wrote:
> I'm setting up a sipx installation using Bandtel as a SIP trunk.  For the office, I need to have DIDs map to
extensions.  When I get the INVITE from Bandtel, the number is prepended with 0300 (i.e. -
03001234567890@).  I have created a DialPlan based on http://tinyurl.com/5wjmtb that sets the prefix to
0300, matching 10 digits.  The resulting call is no prefix and matched suffix.  This should, as I understand
it, result in a call to 1234567890.
> 
> The extension I want to forward to has the DID as an alias, so I would assume this dial plan would ring that
extension.  It actually results in a 404 sent back to Bandtel, and the call failing.
> 
> Is it possible to accomplish this without making the extensions the DIDs themselves?
> 
> Thanks,
> 
> -- 
> 
> Richard Kolkovich
> sarumont <at> sigil.org

Looking at this some more, I discovered the SBC "send all calls here" is not a fallback - it just agnostically
sends calls to that extension.  I took the value out of that field, and that should delegate to the Dial Plan. 
I'm pretty certain, though, that the call is not getting inside of sipxbridge.  sipx-trace doesn't show me
anything about calls that come in, and tcpdump tells me that I'm sending a 503 back to Bandtel.

Could this be a sipXbridge bug, or (hopefully) a mis-configuration on my part?  I can send the tcpdump logs if
need be, but it's basically INVITE, 503, ACK.

Thanks,

--

-- 

Richard Kolkovich
sarumont <at> sigil.org
Tony Graziano | 19 Aug 14:52
Favicon

Re: DID -> Extension mapping

Ranga: Do you have a "how-to" for bandtel yet? Can sipXbridge strip the digits instead of using a dial plan entry?

We have a bandtel trunk here, but are using an ingate. We strip the 0300 prefix and deliver the calls as 10 digits as an alias to the sipx system.
 
your alias should be "1234567890" (no "domain.tld". You should try to make sure there is nothing wrong with the dial plan by disabling it and making 03001234567890 an alias to, then seeing if the call completes, this way it tells you they are delivering the call. I do not believe a dial plan entry would be necessary 9at least it wasnt necessary in 3.10.2) to achive this.
 
If when looking at your call logs, you have see the invite from bandtel as DID <at> ipaddress, then make sure you have an domain alias to the IP (remember to apply and activate any alias or dial plan changes).
 
>>> Richard Kolkovich <sarumont <at> sigil.org> 08/19/08 08:02AM >>>
On Mon, Aug 18, 2008 at 11:18:05AM -0500, Richard Kolkovich wrote:
> I'm setting up a sipx installation using Bandtel as a SIP trunk.  For the office, I need to have DIDs map to extensions.  When I get the INVITE from Bandtel, the number is prepended with 0300 (i.e. - 03001234567890 <at> ).  I have created a DialPlan based on http://tinyurl.com/5wjmtb that sets the prefix to 0300, matching 10 digits.  The resulting call is no prefix and matched suffix.  This should, as I understand it, result in a call to 1234567890.

<div>
<div>
<div>Ranga: Do you have a "how-to" for bandtel yet? Can sipXbridge strip the 
digits instead of using a dial plan entry?<br><br>We have a bandtel trunk here, 
but are using an ingate. We strip the 0300 prefix and deliver the calls as 10 
digits as an alias to the sipx system.</div>
</div>
<div>&nbsp;</div>
<div>your alias should be "1234567890" (no "domain.tld". You should try to make 
sure there is nothing wrong with the dial plan by disabling it and making 
03001234567890 an alias to, then seeing if the call completes, this way it tells 
you they are delivering the call. I do not believe a dial plan entry would be 
necessary 9at least it wasnt necessary in 3.10.2) to achive this.</div>
<div>&nbsp;</div>
<div>If when looking at your call logs, you have see the invite from bandtel as 
<a href="mailto:DID <at> ipaddress">DID <at> ipaddress</a>, then make sure you have an 
domain alias to the IP (remember to apply and activate any alias or dial plan 
changes).</div>
<div>&nbsp;</div>
<div>&gt;&gt;&gt; Richard Kolkovich &lt;sarumont <at> sigil.org&gt; 08/19/08 08:02AM 
&gt;&gt;&gt;<br>On Mon, Aug 18, 2008 at 11:18:05AM -0500, Richard Kolkovich 
wrote:<br>&gt; I'm setting up a sipx installation using Bandtel as a SIP 
trunk.&nbsp; For the office, I need to have DIDs map to extensions.&nbsp; When I 
get the INVITE from Bandtel, the number is prepended with 0300 (i.e. - 
03001234567890 <at> ).&nbsp; I have created a DialPlan based on <a href="http://tinyurl.com/5wjmtb">http://tinyurl.com/5wjmtb</a> that sets the 
prefix to 0300, matching 10 digits.&nbsp; The resulting call is no prefix and 
matched suffix.&nbsp; This should, as I understand it, result in a call to 
1234567890.<br><br>
</div>
</div>

Gmane