Interesting behavior on FreePBX "Apply Config"
Ok, all this talk about the .conf file caused me to start testing something.
I have an IAX2 trunk configuration working with a bare bones Asterisk build. I wanted to duplicate the configuration using FreePBX. The configuration uses registrations and dyamic hosts. I was trying to understand exactly what FreePBX was generating.
I was making rapid fire changes and deleted a registration string.
The string was gone from the iax_registrations.conf
Watching the remote server I was getting "no authority" errors from IAX. The registration was "stuck" in the message.
I had to start and stop Asterisk to clear this up. A simple iax2 reload did not work.
On another note, this is clearly my fault. After service asterisk stop and start I was unable to get to the asterisk cli. Asterisk -r returned:
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
I tried amportal chown this did not fix it
I had to hard restart the box.
Interesting....
Scott
It's a big problem. But you know what, even though you can't do asterisk -r, asterisk and everything still works. So at the end of the day you can just reboot the server.
But this is what I do for now.
I'm away and I'm doing all this from my phone, so if you're a member of asterisk forums, can you put this in a trouble ticket? Otherwise I'll do it when I get back.




Member Since:
2007-12-17