[Asterisk-Users] 'extensions reload' clears Regextens

Douglas Garstang dgarstang at oneeighty.com
Thu May 11 10:48:00 MST 2006


Ok, thanks guys. I think I got this simple case working.

Now I have the major issue... when the dial on the second Asterisk system is called, it's in extensions.conf, and the ring options are hard coded. However, the agi script on the first box grabbed the ring options from a database... I have no way to pass that info to the second Asterisk box. Bloody hell.


> -----Original Message-----
> From: Watkins, Bradley [mailto:Bradley.Watkins at compuware.com]
> Sent: Thursday, May 11, 2006 11:31 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: RE: [Asterisk-Users] 'extensions reload' clears Regextens
> 
> 
> The answer is to create a separate context for your regextens 
> (or, more
> appropriately, name it in sip.conf and let chan_sip create 
> it) and then
> include that context in your dundi_local context where you have the
> dialing information.
> 
> Regards,
> - Brad 
> 
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Douglas
> Garstang
> Sent: Thursday, May 11, 2006 1:00 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: RE: [Asterisk-Users] 'extensions reload' clears Regextens
> 
> > -----Original Message-----
> > From: Aaron Daniel [mailto:amdtech at shsu.edu]
> > Sent: Thursday, May 11, 2006 10:50 AM
> > To: Asterisk Users Mailing List - Non-Commercial Discussion
> > Subject: RE: [Asterisk-Users] 'extensions reload' clears Regextens
> > 
> > 
> > As a note, if you don't create the dundi_local context in 
> > extensions.conf, SIP will create the context and doing an 
> extensions 
> > reload won't get rid of the registration information.  Also, if you 
> > notice a phone isn't showing up in the list, try doing a "sip prune 
> > realtime <exten>" and then a "sip show peer <exten> load" 
> which will 
> > refresh the information.  Easier than completely restarting 
> asterisk 
> > :)
> 
> Aaron,
> 
> I tried that. If I have no dundi_local in extensions.conf, I get the
> automatic priority 1 NoOps (and yes, an 'extensions reload' doesn't
> clear them), but of course, because I have no dundi_local in
> extensions.conf, I also have no priority 2 Dial commands, so 
> how can the
> system reach the phone?
> 
> Btw, I'm not using realtime...
> 
> Doug
> _______________________________________________
> --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
> 
> The contents of this e-mail are intended for the named 
> addressee only. It contains information that may be 
> confidential. Unless you are the named addressee or an 
> authorized designee, you may not copy or use it, or disclose 
> it to anyone else. If you received it in error please notify 
> us immediately and then destroy it. 
> _______________________________________________
> --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