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")) {
sethostport("[sip.asterisk.xyz:50](http://node3.sipalto.com:5080)60");
route(toasterisk);}

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.
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to