chan_iax2.c: Ignoring bindaddr on reload

blanchae

Guru
Joined
Mar 12, 2008
Messages
1,909
Reaction score
9
chan_iax2.c: Ignoring bindaddr on reload - NOT SOLVED

It appears that restarting Asterisk and the network services is not enough. Must be some persistance in the network - arp cache, on the switch, etc.. Turned everything back on again today after shutting it all down and now it works and then it doesn't with 1.6.2.6...

Did find a bug with IAX2 and the iax_general_custom.conf file. bindaddr=xxx.xxx.xxx.xxx is ignored on reload. Here's the error message:

chan_iax2.c: Ignoring bindaddr on reload

It defaults back to address 0.0.0.0 which is any interface.

The purpose of the bindaddr="IP address of interface" is to direct IAX2 to only use a specific interface for communication.
This is ABSOLUTELY necessary if you are using VLANs on your PiaF box.

Example: if you have an IAX softphone (PC) on the Data VLAN and attempt to register to PiaF using its Voice VLAN interface (which you should for QoS), PiaF responds with its Data VLAN interface. The softphone chokes on the reply because it received the wrong IP address. It was expecting a Voice VLAN IP address. :crazy:

I see that it is a recurring bug and the FreePBX crew has been addressed about it over the years but it keeps popping up. I'll follow up on it with FreePBX.
 
It's not a PiaF or FreePBX problem. Traced it down to a bug in chan_iax2.c and reported it to issues at asterisk.org.

This bug has been reported as Issue 16561 at asterisk.org in their bug tracking. I don't believe that it is a FreePBX problem either because I went through all the /etc/asterisk/iax config files and didn't see anything that would overwrite the setting such bindaddr=0.0.0.0
 
Just verified that this is still a bug with asterisk 1.6.2.6 (previously reported on 1.6.0.2).
 
Using bindaddr with SIP works perfectly - no problems like IAX. Gonna find out tomorrow. This one is bugging me - no pun intended.
 

Members online

No members online now.

Forum statistics

Threads
26,688
Messages
174,412
Members
20,259
Latest member
Fadeek86
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top