Hi All,<br><br>I am using Asterisk for one of my projects in OpenBTS. I am having the age old problem of &quot;extension not found&quot; when try to make<br>a call from one registered SIP phone to other registered SIP phone (two mobile phones connected to Asterisk via OpenBTS).<br>
<br>The exact error thrown on Asterisk CLI is<br><b>&quot;chan_sip.c:20039 handle_request_invite: Call from [IMSI310410270465840] to extension &quot;2103&quot; rejected because extension not found&quot;</b><br><br>I have provisioned for both the phones in <b>sip.conf</b> and <b>extensions.conf</b> under context<b> [sip-external]</b> but I suspect whatever entry given in extensions.conf, <br>
that file is not getting parsed and extensions are not read.<br><br>I have tried all the methods suggested by others in the Asterisk User community but still the problem remains same. If anybody knows the solution to this <br>
one, please let me know.<br><br>--<br>Abhinav<br><br><br>Copied below is my sip.conf and extensions.conf<br>===================================<br><br><b>extensions.conf</b><br>===============================<br>[globals]<br>
<br>;Using this Macro<br>[macro-dialGSM]<br>exten =&gt; s,1,Dial(SIP/${ARG1})<br>exten =&gt; s,2,Goto(s-${DIALSTATUS},1)<br>exten =&gt; s-CANCEL,1,Hangup<br>exten =&gt; s-NOANSWER,1,Hangup<br>exten =&gt; s-BUSY,1,Busy(30)<br>
exten =&gt; s-CONGESTION,1,Congestion(30)<br>exten =&gt; s-CHANUNAVAIL,1,playback(ss-noservice)<br>exten =&gt; s-CANCEL,1,Hangup<br><br>#include &quot;extensions.local.conf&quot;<br><br>[sip-external]<br>exten =&gt; 2101,1,Macro(dialGSM,2101)<br>
exten =&gt; 2102,1,Macro(dialGSM,IMSI310410270465840)<br>exten =&gt; 2103,1,Macro(dialGSM,IMSI404864430002302)<br><br>; check for local extensions first<br>include =&gt; sip-local<br>===============================<br><br>
<b>sip.conf</b><br>==============================<br>[general]<br>; Comment these out if no backhaul is available.<br>; Use the pair with the shortest latency.<br>;register =&gt; <a href="http://kestrel0:v01ptest@sip.ca1.link2voip.com:5060">kestrel0:v01ptest@sip.ca1.link2voip.com:5060</a><br>
;register =&gt; <a href="http://kestrel0:v01ptest@sip.ca2.link2voip.com:5060">kestrel0:v01ptest@sip.ca2.link2voip.com:5060</a><br>;register =&gt; <a href="http://kestrel0:v01ptest@sip.us1.link2voip.com:5060">kestrel0:v01ptest@sip.us1.link2voip.com:5060</a><br>
;register =&gt; <a href="http://kestrel0:v01ptest@sip.us2.link2voip.com:5060">kestrel0:v01ptest@sip.us2.link2voip.com:5060</a><br>;register =&gt; <a href="http://kestrel0:v01ptest@sip.nl1.link2voip.com:5060">kestrel0:v01ptest@sip.nl1.link2voip.com:5060</a><br>
;register =&gt; <a href="http://kestrel0:v01ptest@sip.nl2.link2voip.com:5060">kestrel0:v01ptest@sip.nl2.link2voip.com:5060</a><br>rtpstart=16386<br>rtpend=16482<br>relaxdtmf=yes<br><br><br>[softPhone]<br>callerid=2101<br>
canreinvite=no<br>type=friend<br>context=sip-external<br>allow=ulaw<br>allow=gsm<br>host=dynamic<br><br>; provisioned Thu Dec 13 17:15:10 2010<br>[IMSI310410270465840] ; ATnT SIM card IMSI<br>callerid=2102<br>canreinvite=no<br>
type=friend<br>context=sip-external<br>allow=gsm<br>host=dynamic<br>dtmfmode=info<br><br>; provisioned Thu Dec 14 12:15:10 2010<br>[IMSI404864430002302] ; Vodafone SIM card IMSI<br>callerid=2103<br>canreinvite=no<br>type=friend<br>
context=sip-external<br>allow=gsm<br>host=dynamic<br>dtmfmode=info<br>==============================<br>