[SR-Users] How to add parameter ;user=phone in RURI

Minh Phan mphan at mybestpro.com
Thu Jun 25 19:01:31 CEST 2020


Hi List,

I'm having trouble adding the parameter user=phone in the RURI. I have
tried to use the function add_uri_param from siputils module but it doesn't
work (see below). Here is the code I use to add user=phone parameter to
FROM, TO and RURI

uac_replace_from("", "sip:$var(normalized_number)@sip.domain.com
;user=phone");
uac_replace_to("", "sip:$var(normalized_number)@sip.domain.com;user=phone");
$rU = $var(normalized_number);
*add_uri_param*("user=phone");


Thanks in advance for any hints,
Best regards,
Minh Phan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200625/16c163f1/attachment.html>


More information about the sr-users mailing list