Hello,

Parameters to SIP headers are ';' separated.  ',' is used to concatenate multiple headers onto a single line.  The {param...} transformation is intended to process SIP header parameters.

However, there is a new feature in Kamailio 4.1 (currently in a pre-release/testing phase) that allows you to specify the delimiter value.  That may do what you require.

Please see: http://www.kamailio.org/wiki/cookbooks/devel/transformations#paramvalue_name_delimiter

Regards,

Peter


On 17 October 2013 16:04, Seudin Kasumovic <seudin.kasumovic@gmail.com> wrote:
Hi,

Transformation {param.value, param_name} returns incomplete or empty values when parameter value contains comma (,).

See next example:

$avp(my_var)="a=val_a1,val_a2,val_a3;b=val_b";

in next transformations:

$(avp(my_var){param.value, a}) returns 'val_a1'
$(avp(my_var){param.value, b}) returns empty string

Seams that comma in parameter value conflicts with semi column separator.

Is this bug or wrong documented?

Related link:

-- 
Seudin Kasumovic
Tuzla, Bosnia

_______________________________________________
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




--
Peter Dunkley
Technical Director
Crocodile RCS Ltd