On Wed, May 18, 2011 at 9:29 PM, Paul Belanger <pabelan...@digium.com>wrote:

> On 11-05-18 08:01 PM, A E [Gmail] wrote:
>
>> boxb*CLI>  dialplan show Test
>> [ Context 'Test' created by 'pbx_config' ]
>>   '2222' =>          1. Answer()
>> [pbx_config]
>>                     2. Wait(2)
>>  [pbx_config]
>>                     3. Hangup()
>> [pbx_config]
>>
>> -= 1 extension (3 priorities) in 1 context. =-
>>
>> But when the call comes into boxb from box a, on box b CLI I see the msg:
>>
>> NOTICE[1613]: chan_sip.c:21581 handle_request_invite: Call from 'boxA' to
>> extension '2222' rejected because extension not found in context 'Test'.
>>
>> WHY??
>>
>> Thanks :(
>>
>>  Does the peer using 'boxA' dialplan include context 'Test'?
>
> You mean in its definition/declaration in sip.conf? yes. sip.conf in Box B
looks like this:

[boxA]
type=peer
host=10.0.3.5
context=Test
disallow=all
allow=ulaw
allow=g722
allow=g729
dtmfmode=rfc2833
canreinvite=no
insecure=port,invite
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to