[OpenSIPS-Users] Opensips1.6.0 : LCR contacts forking works only when advertised address is specified
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Fri Dec 11 19:04:33 CET 2009
Hi Amit,
load_contacts and next_contacts are to become obsoleted. Please use
serialize_branches() -
http://www.opensips.org/Resources/DocsCoreFcn16#toc124
next_branches() - http://www.opensips.org/Resources/DocsCoreFcn16
Regards,
Bogdan
Amit Sharma wrote:
> 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
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
--
Bogdan-Andrei Iancu
www.voice-system.ro
More information about the Users
mailing list