search for: nat_uac_test

Displaying 1 result from an estimated 1 matches for "nat_uac_test".

2005 Jan 25
1
SER Prob
...nd_reply("513", "Message too big"); break; }; #############Aisling Insert################ # #!Nat Insert # #the below line tests if the IP of the received packet is different from the IP in the via header and also # #sees if the IP address in the contact header is private # if (nat_uac_test("3")){ # if (method == "REGISTER" || ! search("^Record-Route:")){ # log("Log: Someone trying to register from private IP,rewriting\n"); # # fixed_nated_contact(); #Rewrite contact with source IP # if (method == "INVITE"){ # fix_nated_sdp("1&quo...