[asterisk-users] help with dialplan

Todd Reese treese65 at gmail.com
Tue Aug 31 10:14:47 CDT 2010


  Interesting things going on herel.

After your suggestions, Steve.  I reran the dialplan show 
16789542133 at remote command with the below results.


Phone calls are geting the 404 error and the NOTICE on the console.
[Aug 31 11:06:46] NOTICE[11884]: chan_sip.c:20161 handle_request_invite: 
Call from '150' to extension '16789542133' rejected because extension 
not found in context 'remote'.


asterisk*CLI> dialplan show 16789542133 at remote
[ Included context 'dialout1' created by 'pbx_config' ]
   '_1NXXNXXXXXX' => -2. Dial(SIP/v6787500600/${EXTEN},40,Ttr)     
[pbx_config]

[ Included context 'dialout1' created by 'pbx_config' ]
   '_1NXXNXXXXXX' => -2. Dial(SIP/v6787500600/${EXTEN},40,Ttr)     
[pbx_config]

[ Included context 'dialout2' created by 'pbx_config' ]
   '_1NXXNXXXXXX' => -2. Dial(SIP/voip.comACA/${EXTEN},40,Ttr)     
[pbx_config]

[ Included context 'dialout3' created by 'pbx_config' ]
   '_1NXXNXXXXXX' => -2. Dial(SIP/v6783747049/${EXTEN},40,Ttr)     
[pbx_config]

[ Included context 'dialout1' created by 'pbx_config' ]
   '_1NXXNXXXXXX' => -2. Dial(SIP/v6787500600/${EXTEN},40,Ttr)     
[pbx_config]

[ Included context 'dialout2' created by 'pbx_config' ]
   '_1NXXNXXXXXX' => -2. Dial(SIP/voip.comACA/${EXTEN},40,Ttr)     
[pbx_config]

[ Included context 'dialout3' created by 'pbx_config' ]
   '_1NXXNXXXXXX' => -2. Dial(SIP/v6783747049/${EXTEN},40,Ttr)     
[pbx_config]

-= 7 extensions (7 priorities) in 7 contexts. =-
[Aug 31 11:03:38] WARNING[11903]: pbx.c:5741 show_dialplan_helper: 
Avoiding circular include of from-internal within remote


On 8/31/2010 10:49 AM, Steve Murphy wrote:
> Todd--
>
> There is probably some nifty anti-infinite-recursion code in the 
> extensions.conf parser,
> to keep asterisk from going into infinite loops trying to descend into 
> the right context.
>
> In your dialplan, [remote] includes dialout1, dialout2, dialout3, and 
> each of those
> include remote.
>
> Straighten out that mess and maybe things might work. Just a guess, 
> but worth a try!
>
> murf
>
>
> On Tue, Aug 31, 2010 at 8:25 AM, Todd Reese <treese65 at gmail.com 
> <mailto:treese65 at gmail.com>> wrote:
>
>      From extensions.conf
>
>     [remote]
>     include => from-internal
>     include => dialout1
>     include => dialout2
>     include => dialout3
>     include => intercom
>     exten => 150,1,Macro(oneline,${EXTERNPHONE0})
>
>     [dialout1]
>     include => from-internal
>     include => 411
>     include => remote
>     exten => 911,1,Goto(nineoneone,s,1)
>     exten => _1NXXNXXXXXX,n,Dial(SIP/v6787500600/${EXTEN},40,Ttr)
>     [dialout2]
>     include => from-internal
>     include => 411
>     include => remote
>     exten => 911,1,Goto(nineoneone,s,1)
>     exten => _1NXXNXXXXXX,n,Dial(SIP/voip.comACA/${EXTEN},40,Ttr)
>     [dialout3]
>     include => from-internal
>     include => 411
>     include => remote
>     exten => 911,1,Goto(nineoneone,s,1)
>     exten => _1NXXNXXXXXX,n,Dial(SIP/v6783747049/${EXTEN},40,Ttr)
>
>
>
>
>
>     On 8/31/2010 9:58 AM, Paul Belanger wrote:
>     > On Tue, Aug 31, 2010 at 9:16 AM, Todd Reese<treese65 at gmail.com
>     <mailto:treese65 at gmail.com>>  wrote:
>     >>   Here's the updated debug log.
>     >>
>     > [Aug 30 15:27:41] NOTICE[11568] chan_sip.c: Call from '150' to
>     > extension '6789542133' rejected because extension not found in
>     context
>     > 'remote'.
>     >
>     > So, again, a context problem.  You can confirm by entering:
>     >
>     > *CLI>  dialplan show 6789542133 at remote
>     >
>     >
>
>
>     --
>     _____________________________________________________________________
>     -- 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
>
>
>
>
> -- 
> Steve Murphy
> ParseTree Corp
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100831/5e11d62e/attachment-0001.htm 


More information about the asterisk-users mailing list