<div dir="ltr"><div class="gmail_quote">On Wed, May 18, 2011 at 9:29 PM, Paul Belanger <span dir="ltr"><<a href="mailto:pabelanger@digium.com">pabelanger@digium.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 11-05-18 08:01 PM, A E [Gmail] wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
boxb*CLI> dialplan show Test<br>
[ Context 'Test' created by 'pbx_config' ]<br>
'2222' => 1. Answer()<br>
[pbx_config]<br>
2. Wait(2)<br>
[pbx_config]<br>
3. Hangup()<br>
[pbx_config]<br>
<br>
-= 1 extension (3 priorities) in 1 context. =-<br>
<br>
But when the call comes into boxb from box a, on box b CLI I see the msg:<br>
<br>
NOTICE[1613]: chan_sip.c:21581 handle_request_invite: Call from 'boxA' to<br>
extension '2222' rejected because extension not found in context 'Test'.<br>
<br>
WHY??<br>
<br>
Thanks :(<br>
<br>
</blockquote></div>
Does the peer using 'boxA' dialplan include context 'Test'?<br><br></blockquote><div><font class="Apple-style-span" face="'trebuchet ms', sans-serif">You mean in its definition/declaration in sip.conf? yes. sip.conf in Box B looks like this:</font></div>
<div><br></div><div><div><font class="Apple-style-span" face="'trebuchet ms', sans-serif">[boxA]</font></div><div><font class="Apple-style-span" face="'trebuchet ms', sans-serif">type=peer</font></div><div>
<font class="Apple-style-span" face="'trebuchet ms', sans-serif">host=10.0.3.5</font></div><div><font class="Apple-style-span" face="'trebuchet ms', sans-serif">context=Test</font></div><div><font class="Apple-style-span" face="'trebuchet ms', sans-serif">disallow=all</font></div>
<div><font class="Apple-style-span" face="'trebuchet ms', sans-serif">allow=ulaw</font></div><div><font class="Apple-style-span" face="'trebuchet ms', sans-serif">allow=g722</font></div><div><font class="Apple-style-span" face="'trebuchet ms', sans-serif">allow=g729</font></div>
<div><font class="Apple-style-span" face="'trebuchet ms', sans-serif">dtmfmode=rfc2833</font></div><div><font class="Apple-style-span" face="'trebuchet ms', sans-serif">canreinvite=no</font></div><div><font class="Apple-style-span" face="'trebuchet ms', sans-serif">insecure=port,invite</font></div>
</div><div><br></div><div><br></div></div></div>