[asterisk-users] Error Configuring Asterisk (FREEPBX)

Diego Quintana Cruz diegoquintana at gmail.com
Wed Jul 18 13:34:23 CDT 2007


2007/7/18, Jared Smith <jsmith at digium.com>:
> On Wed, 2007-07-18 at 12:07 -0500, Diego Quintana Cruz wrote:
> > Hi all,
> > I've just installed again my Asterisk using Xorcom repositories. I can
> > make extensions, but when using any extension i want to dial anything,
> > I got "404 not found" using Xlite.
>
> My guess is that your user (or friend) account in sip.conf is not
> pointing to the dialplan context that contains the extension you're
> trying to dial.  For example, your sip.conf setting probably looks
> something like:
>
> [xlite]
> type=friend
> host=dynamic
> secret=yoursecretpassword
> context=blah
>
> and then in extensions.conf, you'd have a context that looks like:
>
> [blah]
> exten => 123,1,Playback(hello-world)
>
> Whenever a call comes into Asterisk, it first comes through a channel
> driver (SIP, in this case) and that channel configuration then points
> the call toward a specific dialplan context.  In my examples above, the
> configuration in sip.conf points to the context named "blah" in the
> dialplan.

Thanks for your response Jared, that's exactly what is happening, but
my asterisk doesn't load my proper dialplan defined in
extensions.conf.

show dialplan from-internal returns:
voip*CLI> show dialplan from-internal
[ Context 'from-internal' created by 'pbx_config' ]
  Include =>        'handle-it'                                   [pbx_config]
  Include =>        'phones'                                      [pbx_config]
  Include =>        'phone'                                       [pbx_config]
  Include =>        'trunk-9'                                     [pbx_config]
  Include =>        'features'                                    [pbx_config]
  Include =>        'operator'                                    [pbx_config]

-= 0 extensions (0 priorities) in 1 context. =-
None of those subcontexts are especified, however in my extensions.conf i got
[from-internal]
include => parkedcalls
include => from-internal-custom
include => ext-fax
include => from-internal-additional
include => ext-local-confirm
exten => s,1,Macro(hangupcall)
exten => h,1,Macro(hangupcall)

any ideas?
-- 
Diego Quintana a.k.a. RouterMaN
Ingeniero de las Telecomunicaciones
Linux Registered User #382615 - http://counter.li.org/
SIP # 1-747-633-6676 Ext. 1011
FWD # 764839 Ext. 1011
http://routerman.blogsome.com
http://gst.telecom.pucp.edu.pe



More information about the asterisk-users mailing list