2009/4/30 Chris Maciejewski <[email protected]>: > Hi, > > In a REQUEST_ROUTE I am calling fix_nated_contact(); before handling > REGISTER packets and I can see in a 'location' table > <sip:[email protected]> is correctly changed to > <sip:10...@{public_ip}:{port}>. > > However when I call xlog(" CONTACT: $ct"); is still shows original > contact <sip:[email protected]>. > > How can I access rewritten (with the public IP) contact in a REQUEST_ROUTE?
Most probably it's not possible. but you already know that the new Contact will be: "sip(s):original_contact_u...@$si:$sp" -- Iñaki Baz Castillo <[email protected]> _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
