[OpenSER-Users] record_route_preset("x.x.x.x:5060; nat=yes"); and search("^Route:.*; nat=yes")

Halomoan Chow halomoan at gmail.com
Wed Sep 12 07:51:51 CEST 2007


Dear All

I don't understand why in the Openser+MediaProxy i need
record_route_preset("x.x.x.x:5060;nat=yes"); and search("^Route:.*;nat=yes")
What is the purpose while I can do client_nat_test to see if the request is
come from a nat-ed client.

If I remove search("^Route:.*;nat=yes") from below statement, I can do
re-INVITE without any problem because it still have client_nat_test to find
out the nat in between.

if (client_nat_test("3") || search("^Route:.*;nat=yes")) {
   setbflag(6);
   use_media_proxy();
};


Hope someone can give me a clue.

Thank you.

Regards,

Halomoan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20070912/efff5ac2/attachment.htm 


More information about the Users mailing list