[SR-Users] username of Contact header

Al S alirsm at outlook.com
Fri May 27 16:21:52 CEST 2016


Hi,
I am trying to read username portion of Contact header:
My Contact header content has a URI value such as: sip:8131110000 at 10.10.10.10.:5060
and I am trying to read : 8131110000
I tried the following perl similar RE and it didn't work:
($var(main_number2)) = $ct =~ /sip:(.*)@/;
Thanks,AS 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160527/505ba832/attachment.html>


More information about the sr-users mailing list