[OpenSIPS-Users] Opensips1.6.0 : LCR contacts forking works only when advertised address is specified
Amit Sharma
amit398 at gmail.com
Fri Dec 11 08:52:46 CET 2009
I am using opensips 1.6.0 and using load_contacts and next_contacts lcr
functions for serial forking.
The issue observed is that next_contacts fails when decoding the stored
branch info when no advertised address is specified and therefore , the
messages are dropped.
The root cause seems that load contacts always stores the advertised address
on the socket during encode_branch_info even though the adv address may be
blank. The underlying socket2str function doesn't check if the adv add is
blank for the socket.
The workaround is to provide an advertised address (same as listen address)
for all listen directives.
-Amit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20091211/77933423/attachment.htm
More information about the Users
mailing list