[OpenSIPS-Users] Opensips 2.1.2 - can't pass var in rewritehostport()

Răzvan Crainea razvan at opensips.org
Tue Nov 20 03:44:15 EST 2018


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 at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 

-- 
Răzvan Crainea
OpenSIPS Core Developer
   http://www.opensips-solutions.com



More information about the Users mailing list