[asterisk-users] i extension not triggering

Danny Nicholas danny at debsinc.com
Thu Oct 25 10:42:10 CDT 2012


Based on the output below, DockPhone is expecting to be reached with a
dialstring of 444.  If you change 444 to ZXX, the problem should go away.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Mitch Claborn
Sent: Thursday, October 25, 2012 10:37 AM
To: asterisk-users at lists.digium.com
Subject: Re: [asterisk-users] i extension not triggering

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]





Mitch

On 10/25/2012 10:19 AM, Danny Nicholas wrote:
> It would be good to see OP's output, but noop() is essentially the same as
> Verbose(), whatever goes in the () is just a comment/message.
>
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Doug Lytle
> Sent: Thursday, October 25, 2012 10:16 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [asterisk-users] i extension not triggering
>
>>> exten =>i,1,NoOp(invalid extension from dock phone i)
>
> Was this a typo?
>
> I believe it should be:
>
> exten => i,1,NoOP()
>
> What does your console output look like?
>
> Doug
>
> --
> Ben Franklin quote:
>
> "Those who would give up Essential Liberty to purchase a little Temporary
> Safety, deserve neither Liberty nor Safety."
>
> --
> _____________________________________________________________________
> -- 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
>
>
> --
> _____________________________________________________________________
> -- 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
>

--
_____________________________________________________________________
-- 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




More information about the asterisk-users mailing list