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

2020-06-29 Thread Zhan Bazarov
Hi, try to do smth like: if (!has_totag()){ $ru = $ru + ";user=phone" } -- Sent from: http://sip-router.1086192.n5.nabble.com/Users-f3.html ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org

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

2020-06-26 Thread Minh Phan
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("",