[asterisk-users] Reload problems with 1.8.27 and 11.9.0 - Someone else ?

Administrator TOOTAI admin at tootai.net
Wed May 7 10:14:18 CDT 2014


Le 07/05/2014 16:50, Rusty Newton a écrit :
> On Wed, May 7, 2014 at 2:46 AM, Administrator TOOTAI <admin at tootai.net> wrote:
>>
>> I got it: if the filename is given in totality it's working (as you do it).
>>
>> It's the #include </path to directorie>/*.conf which is not taking in
>> account (here *.conf description)
> That still works for me as well.
>
> I switched to Asterisk 11.9.0 built fresh from a tarball with default
> compilation options.
>
> I contructed a basic sip.conf, and added this line to the end:
>
> #include /etc/asterisk/sip_includes/*.conf

Here is the point. Modify it the way explained in previous message, like

#include sip_includes/*.conf

You should face the problem. And if you run it twice in a raw, it will 
do nothing the second time.

>
> I then edited /etc/asterisk/sip_includes/sip_included.conf to add a SIP peer.
>
> Started Asterisk.
>
> Then edited only the sip_included.conf file to change the peer name.
>
> Connected to Asterisk console, performed 'sip show peers', 'sip
> reload', 'sip show peers'.

sip show peers was always working, only reload (remember, not only sip 
stuff) did nothing.

> Everything worked as expected: here is a pastebin: http://pastebin.com/XGKKu4x9
>
> That is, when using a wildcard in the file path in an include inside
> sip.conf, Asterisk correctly detects a change in the included conf
> file upon a sip reload.
>
>
> You might try reproducing the issue on a fresh install, on your
> non-production system to see if you can narrow down where the
> difference is.

I reinstall our test server from scratch before opening the bug. As I 
also told, reinstalling previous versions solve the problem.

-- 
Daniel



More information about the asterisk-users mailing list