[OpenSIPS-Users] nat_traversal nat_keepalive vs. fix_contact
Jody Rudolph
jrudolph at qx.net
Wed Sep 29 04:37:40 CEST 2010
All,
Is there any reason that nat_keepalive and fix_contact should not be used on the same register message? When both are used as shown below, the keep-alives are not sent. If the fix_contact is commented out the keep-alives are sent, however, the RFC1918 contact is sent to the registrar.
if (client_nat_test("3")) {
nat_keepalive();
add_path();
ds_select_dst("1", "4");
#fix_contact(); <------------if uncommented the keep-alives are not sent
if (!t_relay()) {
sl_reply_error();
};
exit;
}
Thanks,
Jody Rudolph
More information about the Users
mailing list