Hi, 

Got From and To from the last message 

<action>

<ereg regexp=".*" search_in="hdr" header="From:" check_it="true"
assign_to="1" />

<ereg regexp=".*" search_in="hdr" header="To:" check_it="true" assign_to="2"
/>

</action>
 
and use in the BYE message
 
<send retrans="500">

<![CDATA[

.....

From:[$2]

....

To:[$1]

....

]]>

</send>

Sr for the last message... Mistake when press ctrl  enter
 
Regards
 
  _____  

From: Tu Le [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 29, 2008 12:01 PM
To: 'Romain Gautier'; '[email protected]'
Subject: RE: [Sipp-users] Tag issue


Use the regexp for 
 

  _____  

From: Romain Gautier [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 29, 2008 11:43 AM
To: [email protected]
Subject: [Sipp-users] Tag issue


Hello.
I am running the following scenario:
- SIPp is in "uas"mode
- a call is established
- SIPp sends a BYE message to the remote client.
My issue is the following one:how can I interchange the To and From header
values within the BYE message?
Indeed I tried to use the peer_tag_param value with no success...
Thank you for your help

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to