Weired problem here. I can see the BYE is not being sent to the actual IP. i see the BYE goes from opensips (1.11.3 tls) to local ip 192.168.1.x So call does not hangup. Everything else works fine.
Thats how i manage the NATED devices.
if (nat_uac_test("18")) {
if (is_method("REGISTER")) {
fix_nated_contact(); # Rewrite contact with source IP of signalling
fix_nated_register();
force_rport();
setbflag(6); # Mark as NATed
};
if (is_method("INVITE")) {
fix_nated_sdp("10"); # Add direction=active to SDP
force_rport();
};
};
any idea?