[Sipp-users] How to extract the second the second string from the VIA: header

2009-02-02 Thread Pratap Nath
HI All, I was simulating a conference scenario with Sipp. The Switch sends me a update message with following Information. UPDATE sip:5...@148.147.171.54:64478;transport=tcp SIP/2.0 Call-ID: 15_374cb53-41c226674cf7e31...@148.147.171.54 CSeq: 2 UPDATE From: sip:5...@avaya.com

Re: [Sipp-users] How to extract the second the second string from the VIA: header

2009-02-02 Thread Charles P Wright
You need to have parenthesis to capture just the part after the comma. Something like. ereg regexp=,(foo) assign_to=dummy,foovalue / Charles Pratap Nath pratapn...@gmail.com 02/02/2009 08:43 AM To sipp-users@lists.sourceforge.net cc Subject [Sipp-users] How to extract the second the