Minor nit: $rd is not exactly the equivalent of rewritehostport(),
rather $rd used together with $rp [1].
[1]: https://www.opensips.org/Documentation/Script-CoreVar-3-0#toc70
Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com
On 20.11.2018 10:44, Răzvan Crainea wrote:
All you have to do is to assingn the $rd pseudo-variable, which does
the same thing as rewritehostport() function.
On 11/14/18 12:39 PM, maatohewetbi wrote:
How can I use it, like that?
$rd=$hdr(X-IP-Header)
rewritehostport($rd:5060)
--
Sent from:
http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-Users-f1449235.html
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users