In article <[email protected]>, Mitch Claborn <[email protected]> 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: [email protected] - http://www.softins.co.uk Play: [email protected] - http://tony.mountifield.org -- _____________________________________________________________________ -- 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
