Problem 1

 

My aim is to remember INVITE sdp body in some variable.

Since body follows empty string, I use the for my purpose the following

regular expression:

 

<ereg regexp="^$.*" search_in="msg" check_it="true" assign_to="16" />

 

Unfortunately it doesn't work.

 

Problem 2

 

I have to discard <> brackets (if any) in INVITE Contact header to use
it afterwards 

as URI address. I tried to do it using regular expression:

 

<ereg regexp="&lt;*(.*)&gt;*" search_in="hdr" header="Contact:"
check_it="true" assign_to="4,13" />

 

It doesn't work: brackets if present aren't discarded

 

Please help me to solve the problems.

 

My E-mail: [EMAIL PROTECTED]

 

Thank you beforehand Yefim

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to