Hello,
I need to get the value of first tgrp param in this string :
$var(x) =
<sip:xxxxxxxxx;tgrp=0001000;[email protected]:5060;transport=UDP;user=phone;tgrp=237>
I'm trying $var(y) = $(var(x){param.value,tgrp}); but it's getting the last
value of tgrp which is "237>".
Noting that first tgrp is not always in the second index , some other
parameters can be added to the string.
How to get the value of first occurrence of tgrp param ?
Regards,
Ali Taher
_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users