[asterisk-users] i extension not triggering
Tony Mountifield
tony at softins.co.uk
Thu Oct 25 11:24:49 CDT 2012
In article <50895CAB.9080206 at claborn.net>,
Mitch Claborn <mitch_ml at claborn.net> wrote:
> I set logger.conf to
> console =>debug,notice,warning,error,verbose
>
> and get the following output:
>
> == Using SIP RTP CoS mark 5
> [Oct 25 10:32:53] NOTICE[3501]: chan_sip.c:22622 handle_request_invite:
> Call from 'Mitch295' (192.168.5.104:5060) to extension '123' rejected
> because extension not found in context 'DockPhone'.
>
> NoOp() is not a typo, and it shows up correctly with "dialplan show
> DockPhone".
>
>
> [ Context 'DockPhone' created by 'pbx_config' ]
> '444' => 1. NoOp(Dock Phone)
> [pbx_config]
> 2. Dial(${DOCK_RECIPIENTS},30,kt)
> [pbx_config]
> 3. Verbose(2,DIALSTATUS=${DIALSTATUS})
> [pbx_config]
> 4. GotoIf($["${DIALSTATUS}" = "ANSWER"]?good)
> [pbx_config]
> 5. Playback(custom/dock-no-one-available)
> [pbx_config]
> 6. Wait(2)
> [pbx_config]
> [good] 7. Hangup()
> [pbx_config]
> 'h' => 1. NoOp(hangup extension from dock phone)
> [pbx_config]
> 2. Hangup()
> [pbx_config]
> 'i' => 1. NoOp(invalid extension from dock phone i)
> [pbx_config]
> 2. Playback(custom/dock-invalid)
> [pbx_config]
> 3. Hangup()
> [pbx_config]
> Include => 'emergency-services'
> [pbx_config]
The 'i' extension is not used when entering a context. You can only enter
a context (with Dial(), Goto(), etc), at an extension that exists. If it
doesn't exist, the context cannot be entered.
The 'i' extension is only used when already in a context, and is mainly
for catching unmatched extensions dialled within a Background or WaitExten.
See http://www.voip-info.org/wiki/view/Asterisk+i+extension for further
details.
There has also been discussion about this in the mailing list over the years.
Cheers
Tony
--
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org
More information about the asterisk-users
mailing list