[asterisk-users] Asterisk listening on undefined IP as per bindaddr

Zohair Raza engineerzuhairraza at gmail.com
Wed Aug 20 11:08:38 CDT 2014


Hello all,

I am running asterisk on VMs with standby heartbeat configuration,
Heartbeat assigns a virtual IP 172.20.255.40 on machine afterwards asterisk
is started. In the sip.conf, I have explicitly define
bindaddr=172.20.255.40 but sometimes I see packets coming from physical IP
172.20.255.41

I have both tcp and udp transport enabled

Here is the lsof -ni :5060 output

asterisk 2878 asterisk  613r  IPv4 40060683      0t0  TCP
172.20.255.41:52381->10.100.210.110:sip (ESTABLISHED)
asterisk 2878 asterisk  528u  IPv4 29757779      0t0  TCP
172.20.255.41:55627->10.200.14.29:sip (ESTABLISHED)
asterisk 2878 asterisk  530u  IPv4 19211854      0t0  TCP 172.20.255.40:
sip->10.100.157.32:49227 (ESTABLISHED)

 sip show settings


Global Settings:
----------------
  UDP Bindaddress:        172.20.255.40:5060
  TCP SIP Bindaddress:    172.20.255.40:5060


Anyone has idea what could be the reason?



Regards,
Zohair Raza
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140820/e28c5fa5/attachment.html>


More information about the asterisk-users mailing list