A E [Gmail]
2011-May-19 00:01 UTC
[asterisk-users] v1.8.4: Extension Not found in Context?
Hello All,
This is probably another one of those completely silly questions that I'm
going to hit myself later on, but I have the simplest issue right now but I
can't figure out why it's happening:
I have a trunk from one * box (box a) to another * box (box b)
the call comes in from box a with an extension 2222 which acc. to the peer
config in sip.conf is set to use context 'Test'
In extensions.conf,context 'Test' is as follows:
[Test]
exten => 2222,1,Answer()
same => n,Wait(2)
same => n,Hangup
on the CLI, I can verify that by 'dialplan show Test'
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 :(
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.digium.com/pipermail/asterisk-users/attachments/20110518/a83f8ce1/attachment.htm>
Paul Belanger
2011-May-19 01:29 UTC
[asterisk-users] v1.8.4: Extension Not found in Context?
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'? -- Paul Belanger Digium, Inc. | Software Developer twitter: pabelanger | IRC: pabelanger (Freenode) Check us out at: http://digium.com & http://asterisk.org