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

2015-05-29 Thread ycaner
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

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

2015-05-29 Thread Yasin CANER
Hello; i try to append prefix to $rU like below in Kamailio V4.2.5 . i get error even if i set string value. it works only when i append like that $rU=3002+$rU; - 1 test $var(prefix)=$avp(s:69); $rU=$var(prefix)+$rU; -FAILED -2 test

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

2015-05-29 Thread Julia Boudniatsky
Hi, Try to use: $rU=$_s($avp(69)$rU); BR Julia On Fri, May 29, 2015 at 12:13 PM, Yasin CANER yasin.ca...@netgsm.com.tr wrote: Hello; i try to append prefix to $rU like below in Kamailio V4.2.5 . i get error even if i set string value. it works only when i append like that

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

2015-05-29 Thread Julia Boudniatsky
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