[OpenSIPS-Users] opensips als LB for multi-FS cluster: nasty problems with TCP/TLS registered clients

Johannes Jakob lists.jj at googlemail.com
Wed Aug 22 12:11:59 CEST 2012


To answer to my own Question and to hopefully enlight others....

After weeks of frustration, hours of debugging, trial and error,
wiki-studying and at least one week without sufficient sleep, I
finally solved both of my issues:

1) UDP<>TCP not working

modparam("rr", "enable_double_rr", 1) # instead of 0, 1 is default
modparam("path", "use_received", 0) # instead of 1, 0 is default


2) "302 Moved temporarily" not working

# in onreply_route[external_reply]:
# instead of calling nat_test_and_correct unconditionally, do it only
for non 302's :

        if (!t_check_status("302")) {
                route("nat_test_and_correct");
        }



If anybody of you sees potential problems with theese modifications,
please tell me ;)


Best Regards,

  Johannes



More information about the Users mailing list