[OpenSIPS-Users] Save in on_reply route

Stefano Pisani stefano.m.pisani at gmail.com
Tue May 19 11:03:52 CEST 2015


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



More information about the Users mailing list