[asterisk-users] Reload in 1.4 clears regexten

Watkins, Bradley Bradley.Watkins at compuware.com
Thu Jun 7 11:27:00 CDT 2007


So it is, I was wrong.  What do you get when you do a 'show dialplan
sip_autoreg'?  Does it show pbx_config or anything like that, or does it
say SIP?

In theory at least (though I'd have to peek at the code again to refresh
my memory), contexts that aren't created by pbx_config should not get
destroyed when you do an 'extensions reload'.

- 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, June 07, 2007 11:12 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: RE: [asterisk-users] Reload in 1.4 clears regexten
> 
> Brad,
> 
> I can't post the entire contents of sip.conf and
> extensions.conf/extensions.ael, but as you can see below, I 
> don't have a
> sip_autoreg defined anywhere in my dial plan.
> 
> [root at a1 asterisk]# cat sip.conf
> [general]
> context=default
> allowoverlap=no
> bindport=5060
> bindaddr=xxx.yyy.34.201
> srvlookup=yes
> regcontext=sip_autoreg
> 
> [root at a1 asterisk]# grep sip_autoreg extensions.conf
> [root at a1 asterisk]# grep sip_autoreg extensions.ael
> [root at a1 asterisk]#
> 
> Douglas.
> 
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Watkins,
> Bradley
> Sent: Thursday, June 07, 2007 3:28 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: RE: [asterisk-users] Reload in 1.4 clears regexten
> 
> Please post the relevant portions of your sip.conf and extensions.conf
> 
> I'll bet dollars to donuts you have the same context defined as both
> your regcontext and as a context in extensions.conf (or an .ael, or
> whatever).
> 
> - 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: Wednesday, June 06, 2007 7:08 PM
> > To: asterisk-users at lists.digium.com
> > Subject: [asterisk-users] Reload in 1.4 clears regexten
> > 
> > Ok, I could have sworn this was fixed in Asterisk 1.2, but it 
> > seems in Asterisk 1.4.4, that doing a reload, or even an 
> > 'extensions reload' will clear any extensions that have been 
> > created by regexten. This is VERY bad!
> > 
> >  
> > 
> > Doug.
> > 
> >  
> > 
> > 
> 
> 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
> _______________________________________________
> --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. 

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. 


More information about the asterisk-users mailing list