Use something like this mentioned below:
  <recv request="INVITE" rrs="true" crlf="true">
         <action>
<ereg regexp=".*" search_in="hdr" header="Cseq:" check_it="true"
assign_to="9"/>
       </action>
  </recv
then use [$9]
 
Thanks
- Shyamal Bhowmik
 

________________________________

From: Othman EL YOUBI [mailto:othmanelyo...@gmail.com] 
Sent: Tuesday, May 24, 2011 6:47 PM
To: sipp-users@lists.sourceforge.net
Subject: [Sipp-users] Regexp probleme


Hello Sipp users
I want to put a Cseq  field in a variable and use it in another SIP
message, but i dont know how to use regular expression to select just
the "Cseq" line.
Can anyone help me? 
thank you

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to