[OpenSIPS-Users] Save in on_reply route
Bogdan-Andrei Iancu
bogdan at opensips.org
Tue May 19 12:33:44 CEST 2015
Hi Stefan,
Try using fix_nated_register() function in request route.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 19.05.2015 12:03, Stefano Pisani wrote:
> Hi Guys,
> I'm facing an issue. I'm using opensips as proxy for REGISTER too.
> So I need to save the registration only when 200 OK returns from media
> server.
> I do save("location","r") in onreply_route and it works but there is a
> problem.
> The original contact was fixed using fix_nated_contact() but the
> original one in saved in location, so I have an internal IP in contact
> field and the sipping (the reason for doing that) is not working.
>
> What I'm doing wrong?
> Thanks
>
> s
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list