<div dir="ltr"><div dir="ltr"><div><div><div>Hello,<br><br></div>I'm setting up a new cluster that must replace several old Asterisk instances.<br></div>For various reasons, this new cluster must use chan_sip (migration to PJSIP is planned in a later phase).<br><br></div>This new cluster uses VRRP in active/passive mode:<br></div><div>- at any time, only one cluster member is active,<br></div><div>- when a member becomes active, it inherits several floating IP addresses, it changes its IP configuration (with ip rule or ip route statements) and it starts Asterisk.<br></div><div><br>Beside tweaking Linux IP configuration, is there a way to teach Asterisk's chan_sip "to always reply using as IP source, the destination IP it got the SIP request from" ?<br><br></div><div>For instance, if Asterisk's chan_sip listen on IPs IP A, Ip B and IP C, all belonging to the same network, then I want Asterisk to reply with IP A for any request it received through IP A.<br><br></div><div>Looking at ASTDB SIP/Registry instances, Asterisk does not save the IP address it heard an incoming REGISTER with.<br></div><div><br></div><div>Did I miss something ?<br></div><div>Suggestions ?<br><br></div><div>Best regards<br></div><div><br></div><div><br></div><div><br><br></div></div>