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

> Interesting things going on herel.
>
> After your suggestions, Steve.  I reran the dialplan show
> 16789542...@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 16789542...@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
-- 
_____________________________________________________________________
-- 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

Reply via email to