[asterisk-users] help with dialplan

Steve Murphy murf at parsetree.com
Tue Aug 31 10:26:28 CDT 2010


On Tue, Aug 31, 2010 at 9:14 AM, Todd Reese <treese65 at gmail.com> wrote:

> 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'.
>

-- This one is easy to solve, Add the extension  16789542133 to the remote
context and have it do what you need to be done for an incoming call.

and also, see below:

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

See the "Avoiding circular include"? Get rid of that by removing one of the
includes that make the cycle; make your
inclusions hierarchical. One context to include them all, and in the
darkness bind them!  (sorry, too much Tolkien)

murf



-- 
Steve Murphy
ParseTree Corp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100831/21078635/attachment.htm 


More information about the asterisk-users mailing list