I tried this and it worked,
  <recv response="200" timeout="10000">
<action>
<ereg regexp="tag=([[:alnum:]\-]*)" search_in="hdr" header="To"
check_it="true" assign_to="3,4"/>
</action>
  </recv>
Then i use the variable 4.
Thank you.


2011/6/7 Peter Fabian <[email protected]>

> I was just trying to do a similar thing.  Grab the tag= parameter from the
> From header and add it as the To: tag for a REInvite
>
>   <recv request="INVITE" crlf="true">
>    <action>
>     <ereg regexp="tag=(.*)" search_in="hdr" header="From:" assign_to="1"/>
>    </action>
>   </recv>
>
>
> Hope that helps
> Peter Fabian | Senior Voice Engineer
>
>
> On Mon, Jun 6, 2011 at 6:22 AM, Othman EL YOUBI 
> <[email protected]>wrote:
>
>> Hello everybody
>> I want to use regular expressions to select the value of a Call_id and a
>> tag parametre, just the value without the name of the parametre. Does anyone
>> know how to do that?
>> Thank you for your responses
>>
>>
>> ------------------------------------------------------------------------------
>> Simplify data backup and recovery for your virtual environment with
>> vRanger.
>> Installation's a snap, and flexible recovery options mean your data is
>> safe,
>> secure and there when you need it. Discover what all the cheering's about.
>> Get your free trial download today.
>> http://p.sf.net/sfu/quest-dev2dev2
>> _______________________________________________
>> Sipp-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/sipp-users
>>
>>
>
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to