[sr-dev] send socket and dns failover

Jasmin Schnatterbeck js at data-cmr.net
Fri Jun 7 00:21:28 CEST 2013


Hi,

finally I found out, what makes dns failover selecting a different send 
socket compared to the failed branches' send socket (when force_socket 
is NOT set):
http://lists.kamailio.org/pipermail/sr-dev/2013-January/017880.html

For a consistent default behaviour (set send socket to received socket 
if no force socket set) I suggest to fix t_fwd.c as follows:

Change line 1071 to :

  old_uac->request.dst.send_sock:msg->rcv.bind_address,

Change line 1086 to:

  old_uac->request.dst.send_sock:msg->rcv.bind_address,

Cheers
Jasmin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5407 bytes
Desc: S/MIME Kryptografische Unterschrift
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20130607/e576c717/attachment-0001.bin>


More information about the sr-dev mailing list