[SR-Users] Kamailio V4.2.5 append prefix to Request Uri problem.

Julia Boudniatsky juliabo at gmail.com
Fri May 29 15:36:28 CEST 2015


Please see  in http://www.kamailio.org/wiki/cookbooks/4.2.x/pseudovariables

$_s(format) - Evaluate dynamic format

*$_s(format)* - returns the string after evaluating all pseudo-variables in
format

    $var(x) = "sip:" + $rU + "@" + $fd;

    # is equivalent of:    $var(x) = $_s(sip:$rU@$fd);

BR


On Fri, May 29, 2015 at 2:40 PM, ycaner <yasin.caner at netgsm.com.tr> wrote:

> Hello;
>  it works both ways.  Could you explain what i did here?
>
>
> $rU=*$_s*($avp(i:69)$rU);
> $rU=*$_s*($avp(s:69)$rU);
>
> Thanks.
>
>
>
> --
> View this message in context:
> http://sip-router.1086192.n5.nabble.com/Kamailio-V4-2-5-append-prefix-to-Request-Uri-problem-tp138258p138277.html
> Sent from the Users mailing list archive at Nabble.com.
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150529/167b0b51/attachment.html>


More information about the sr-users mailing list