[OpenSIPS-Users] Script transformations
Chris Maciejewski
chris at wima.co.uk
Fri Nov 28 16:52:23 CET 2008
Hi,
I am trying to get "Replaces" from "Refer-to" header ($rt - variable) with
the following code:
$var(replaces) = $(rt{param.value,Replaces});
but unfortunately
xlog("Replaces: $var(replaces)");
shows nothing.
My "Refer-to:" looks like:
sip:<user>@<some_ip>:5060?Replaces=zqinclbguzedgwq%40<some_ip>%3bto-tag%3das4d3ce04b%3bfrom-tag%3dqrtpr
Can anyone please suggest what would be the correct syntax of transformation
in the above case?
Kind regards,
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20081128/80e279b1/attachment.htm
More information about the Users
mailing list