Oliver Roth writes:
I need to do some string operations in kamailio.cfg.
How can I get the cli from the following string:
sip:+41523940347@195.216.67.103;user=phone
I only would need +41523940347 in a variable
Something like
$avp(s:myCli) = ^sip:\+(\d{11})@.{1,40}$
Any idea?
see if any of these would help:
http://www.kamailio.org/wiki/cookbooks/devel/transformations#uri_transforma…
-- juha