[Asterisk-Users] Dialplan woes

Gabriel Afana asterisk at gafana.com
Sun Mar 12 14:15:36 MST 2006


Hi,
    After updating your sip.conf and extensions.conf, did you reload
asterisk?  Asterisk caches the config files and does not re-read them unless
you issue a "sip reload", "extensions reload" or an all-in-one "restart when
convenient" at the CLI.

- Gabe

----- Original Message ----- 
From: "Dave Hope" <dave at davehope.co.uk>
To: <asterisk-users at lists.digium.com>
Sent: Sunday, March 12, 2006 2:31 AM
Subject: [Asterisk-Users] Dialplan woes


> Hello all,
>
> Inspired by the Asterisk talks at FOSDEM 2006, I've decided to give it a
> whirl. I'm having some newbie problems with my dialplan and was
> wondering if anyone could be of assistance Smile
>
> When trying to dial 500, 600 or 601 I get the following notice:
>
>
>         pbx.c:1330 pbx_extension_helper: Cannot find extension context
>         Internal'
>
>
> Any suggestions would be GREATLY appreciated!
>
> extensions.conf:
>         [general]
>         static          =>      yes
>         writeprotect    =>      yes
>
>         [External]
>         include         =>      Internal
>
>         [Internal]
>         exten           =>      500,1,Dial(SIP/Dave)
>         exten           =>      600,1,Echo()
>         exten          =>      601,1,Answer()
>         exten          =>      601,2,Playback(demo-echotest)
>         exten          =>      601,3,Echo
>         exten          =>      601,4,Playback(demo-echodone)
>         exten          =>      601,5,Hangup
>
>
> sip.conf
>         [general]
>         context         =       External
>         srvlookup       =       yes
>
>         [Dave]
>         type            =       friend
>         ;username       =       Dave
>         secret          =       dave
>         host            =       dynamic
>         allow           =       all
>         context         =       Internal
>
> Thanks for any input,
>
> Dave.
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> 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