<div dir="ltr"><div>Hi all!</div><div><br></div><div>Seems to be an old topic but still unclean is it possible or not, please correct me if I'm wrong.<div>There are some old threads like <a href="http://lists.sip-router.org/pipermail/users/2007-May/011278.html">http://lists.sip-router.org/pipermail/users/2007-May/011278.html</a></div></div><div><br></div><div><div>I use Kamailio 4.2.1 trying to create intercepting registrar proxy, which handles NAT (rewrites contact), forwards REGISTER to backend and then stores REGISTER in its internal location on 200 OK from backend, so I call save() from reply route in noreply mode.</div><div><br></div><div>The problem is, it stores IP source of reply as 'received' and modified contact which i sent out to backend server as 'contact', so it loses original information from initial REGISTER.</div><div><br></div><div>Is there a way to make save() use original request fields like T_req($ct), or some way to call save() with full set of custom params?</div><div>Of course, I can save() all REGISTERs in request_route and then delete on backend fail, but it seems to be waste of resources, especially when REGISTER traffic is high :(</div><div><br></div><div>I'd be glad to hear any advice.</div><div><br></div><div><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Best regards,<br><br>Dmitry Sytchev,<br>IT Engineer</div>
</div></div></div>