[OpenSIPS-Users] It is possible to have a more flexible fix_nated_contact()?

Nick Altmann nick.altmann at gmail.com
Thu Jan 31 06:13:27 CET 2013


You just can do
remove_hf("Contact");
insert_hf("sip:$tU at OutboundProxyIP");
in this case.

--
Nick


2013/1/31 microx <acmicrox at gmail.com>

> Hi all,
>
> My scenario is caller->outbound proxy->proxy server->outbound
> proxy->callee.
>
> The outbound proxy will run topology_hiding/match_dialog() after receiving
> the requests
> returned from the proxy server.
>
> When I use some kind of Polycom video phone, PRACK requests triggered.
> Because
> 1) PRACK requests are sent ahead of 200 OK of callee and
> 2) match_dialog() works only after the outbound proxy processes the 200 OK,
> PRACK requests will be looped many times between the outbound proxy and the
> proxy server
> until the outbound proxy receives the 200 OK.
>
> A solution to this issue is having a flexible fix_nated_contact() to allow
> me to do something
> like ``fix_nated_contact("sip:$tU at OutboundProxyIP")''. I am wondering that
> it is possible for
> OpenSIPS to meet this requirement. Thanks.
>
> Best wishes,
> Chen-Che
>
>
>
> --
> View this message in context:
> http://opensips-open-sip-server.1449251.n2.nabble.com/It-is-possible-to-have-a-more-flexible-fix-nated-contact-tp7584303.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130131/2b663876/attachment.htm>


More information about the Users mailing list