Hi all

Maybe a very simple question - but I cannot see the solution - I am more or 
less newbie ;)

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?

Thanks in advance
Oli

_______________________________________________
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

Reply via email to