<span class="gmail_quote"><br><br></span>Hi, <br><br>We are a service provider using Asterisk for&nbsp; our softswitch. We offer SIP connections via IP phones as well as PRI and POTS replacements for our customers. However, i
am having problems with incoming calls from a Cisco IAD2431 and its dialing context. When a call comes from the PBX through the IAD2431 to Asterisk, the calls are not in the customer1 context as they should be. Our customer is not able to dial 4 digit extensions to their other IP phones. See config examples below.
<br><br>Has anyone else experienced the problems I am having?<br><br>Thanks,<br><br>Sum Ding Wong<br><br>;-----------------------<br>; sip.conf<br>;-----------------------<br>
[general]<br>context=default<br>srvlookup=yes<br>dtmfmode=inband<br>qualify=yes<br>nat=yes<br>host=dynamic<br>canreinvite=no<br>pedantic=no<br>disallow=all<br>allow=ulaw<br>allow=g729<br>allow=g723<br>allow=alaw<br><br>[
<a href="http://12.34.43.3" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">12.34.43.3</a>]<br>context=customer1<br>type=friend<br>qualify=200<br>host=<a href="http://12.34.43.3" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
12.34.43.3</a><br>canreinvite=no<br><br>;------------------------------<br>; Extensions.conf
<br>;------------------------------<br>[macro-voicemail]<br>;usage Macro(voicemail,&lt;extension&gt;,&lt;mailbox&gt;)<br>exten =&gt; s,1,Dial(${ARG1},15,rt)<br>exten =&gt; s,2,Goto(s-${DIALSTATUS},1)<br>exten =&gt; s-NOANSWER,1,Voicemail(u${ARG2})
<br>exten =&gt; s-BUSY,1,Voicemail(b${ARG2})<br>exten =&gt; _s-.,1,Goto(s-NOANSWER,1)<br><br><br>[customer1]<br>include =&gt; voicemail<br>include =&gt; customer1-did<br>include =&gt; customer1-internal<br>include =&gt; outgoing-unlimited
<br><br>[customer1-internal]<br>exten =&gt; _*.,1,Pickup(${EXTEN:1})<br><br>exten =&gt; 1272,1,Macro(voicemail,SIP/2125551272,2125551272)<br>exten =&gt; 1273,1,Macro(voicemail,SIP/2125551273,2125551273)<br>exten =&gt; 1274,1,Macro(voicemail,SIP/2125551274,2125551274)
<br>exten =&gt; 1275,1,Macro(voicemail,SIP/2125551275,2125551275)<br>exten =&gt; 1276,1,Macro(voicemail,SIP/2125551276,2125551276)<br><br>[customer1-did]<br>exten =&gt; 2125551285,1,Dial(<a href="mailto:SIP/2125551285@12.34.43.3" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

SIP/2125551285@12.34.43.3</a>,30,rt )<br>exten =&gt; 2125551272,1,Macro(voicemail,SIP/2125551272,2125551272)<br>exten =&gt; 2125551273,1,Macro(voicemail,SIP/2125551273,2125551273)<br>exten =&gt; 2125551274,1,Macro(voicemail,SIP/2125551274,2125551274)
<br>exten =&gt; 2125551275,1,Macro(voicemail,SIP/2125551275,2125551275)<br>exten =&gt; 2125551276,1,Macro(voicemail,SIP/2125551276,2125551276)<br><br><br>
<br>