Hi
Thank you for your help.
Will the following be working?
<recv request="OPTIONS">
<action>
<ereg regexp="OPTIONS
(sip:1000-junipersyst...@[local_ip]:[local_port]) SIP/2.0"
search_in="msg" check_it="true" assign_to="2"/>
</action>
</recv>
Regards,
Evgeny Miloslavsky
Systest Engineer
Juniper Networks Solutions Israel LTD.
Office: 972-9-9712355
Office: 972-74-7170072
________________________________
From: mayamatakeshi [mailto:mayamatake...@gmail.com]
Sent: Tuesday, February 23, 2010 12:12 PM
To: Evgeny Miloslavsky
Cc: sipp-users@lists.sourceforge.net;
sipp-users-boun...@lists.sourceforge.net
Subject: Re: [Sipp-users] HowTo search regular expression within request
line
On Tue, Feb 23, 2010 at 6:50 PM, Evgeny Miloslavsky
<emiloslav...@juniper.net> wrote:
Hi All!
I have to find SIP-URI for example (sip:30...@somedomain.com) within
Request-Line (not header) of ID OPTIONS request received.
What shoud be an search_in value within <actions> field?
That is :
<recv request=OPTIONS>
<action>
<ereg regexp=" sip:30...@somedomain.com"
search_in="??????" check_it="true" assign_to="1"/>
</action>
</recv>
Have you tried search_in="msg" to search the whole message?
I would expect something like this to work:
<ereg regexp="OPTIONS (sip:30...@somedomain.com) SIP/2.0"
search_in="msg" check_it="true" assign_to="whole_thing,the_uri" />
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users