[OpenSIPS-Users] Registration passthrough

nutxase nutxase at proton.me
Wed May 31 13:50:25 UTC 2023

Hey guys

I have set opensips to take registrations and pass them through to asterisk using the below
but my question is how can i make it set the contact to the ip of the uac and not the ip of opensips ?

if (is_method("REGISTER")) {

route[toasterisk] {
if (!t_relay()) {
xlog("(Rewriting) t_relay 1 - M=$rm RURI=$ru F=$fu T=$tu IP=$si ID=$ci\n");
sl_reply_error(); }

Sent with [Proton Mail](https://proton.me/) secure email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20230531/ed81c547/attachment.html>

More information about the Users mailing list