On 30/09/14 11:46, Julia Boudniatsky wrote:
$(tu{uri.uparam,cic}) gets ERROR wrong format,
$(tu{uri.uparam}) return : phone
So, uparam return the value of parameter "user" .
Right, I forgot what I
implemented and misread the docs.
You should add a transformation to return the user parameters.
I solved a problem by usage $(tu{param.value,cic,;})
Be careful not to have cic as
last parameter before @.
Might be safer to use:
$(tu{s.select,0,(a)}{param.value,cic})
Cheers,
Daniel
BR
Julia
On Tue, Sep 30, 2014 at 12:09 PM, Daniel-Constantin Mierla
<miconda(a)gmail.com <mailto:miconda@gmail.com>> wrote:
Hello,
On 30/09/14 10:41, Julia Boudniatsky wrote:
Hello,
Some Uri transformations stopped working after upgrade from 3.3
to 4.1.6.
*To: <sip:01412127775678;cic=012;csel=noind@10.25.153.150:5060
<http://noind@10.25.153.150:5060>;user=phone>*
_In v3.3_____
$tu({uri.params}) return:cic=012;csel=noind
$tu({uri.param,cic}) return: 012
_In v4.1.6_
$tu({uri.params}) return : user=phone
$tu({uri.param,cic}) return :
looks like this is happening as a fix, as the cic is an username
parameter, not a uri parameter.
You should use {uri.uparam,cic}:
http://www.kamailio.org/wiki/cookbooks/devel/transformations#uriuparam
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda>
-http://www.linkedin.com/in/miconda
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
list
sr-users(a)lists.sip-router.org <mailto:sr-users@lists.sip-router.org>
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda