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,@}{param.value,cic})

Cheers,
Daniel



BR
Julia

On Tue, Sep 30, 2014 at 12:09 PM, Daniel-Constantin Mierla <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;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://www.linkedin.com/in/miconda

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
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