[SR-Users] Uri transformations stopped working after upgrade from 3.3 to 4.1.6.

Julia Boudniatsky juliabo at gmail.com
Tue Sep 30 11:46:57 CEST 2014


$(tu{uri.uparam,cic}) gets  ERROR wrong format,

$(tu{uri.uparam}) return : phone

So, uparam return the value of  parameter "user" .

I solved a problem by usage $(tu{param.value,cic,;})

BR
Julia

On Tue, Sep 30, 2014 at 12:09 PM, Daniel-Constantin Mierla <
miconda at 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 at 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 Mierlahttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
>
>
> _______________________________________________
> 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/20140930/18a6b4b6/attachment.html>


More information about the sr-users mailing list