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_transformations -- juha _______________________________________________ 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