[OpenSER-Users] OpenSER corrects the "Contact" field only one way.
Iñaki Baz Castillo
ibc at in.ilimit.es
Tue May 27 14:25:48 CEST 2008
El Tuesday 27 May 2008 14:06:27 Höskuldur escribió:
> Thanks for your help.
>
> Since I'm using OpenSER 1.1 I believe that nat_bflag isn't supported in
> userloc module for 1.1. But you got me on the right track:
>
> onreply_route[2]
> {
>
> if(status=~"(180)|(183)|2[0-9][0-9]")
> {
> if (isflagset(6) || nat_uac_test("1"))
> {
> xlog("L_INFO", "FANN NAT - S=$rs D=$rr F=$fu T=$tu IP=$si
> ID=$ci\n"); fix_nated_contact();
> }
> use_media_proxy();
> }
>
>
> exit;
>
> }
>
> This worked for me. Thank you very much for your help.
Nice :)
--
Iñaki Baz Castillo
ibc at in.ilimit.es
More information about the sr-users
mailing list