Andreas,
 
Try this:
 
 
<!-- ACK from B:Sip Dialog -->
 
  <recv request="ACK">
   <action>
    <ereg regexp=".*" search_in="hdr" header="From:" check_it="true" 
assign_to="2" />
    <ereg regexp=".*" search_in="hdr" header="To:" check_it="true" 
assign_to="3" />
    <ereg regexp="branch=[0-9a-z]*" search_in="hdr" header="Via:" 
check_it="true" assign_to="4" />
   </action>
  </recv>
 
  <!-- BYE (B-Disconnected) to B:Sip Dialog -->
 
  <send>
  <![CDATA[
 
      BYE sip:[EMAIL PROTECTED] SIP/2.0
      Via: SIP/2.0/UDP 10.100.191.48:6084;[$4]
      To:[$2]
      From:[$3]
      [last_Call-Id:]
      Cseq: 2 BYE
      Max-Forwards: 70
      Subject: Performance Test
      Content-Length: 0
 
    ]]>
  </send>

BR// Long Ngo
 

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Charles P Wright
Sent: Thursday, September 06, 2007 3:57 PM
To: Andreas Byström
Cc: [EMAIL PROTECTED]; [email protected]
Subject: Re: [Sipp-users] Example of scenario wher B hangs up



Andreas, 

It should be relatively straight forward to adapt the standard UAC/UAS 
scenarios to do this, as long as you want only the UAS to send the bye (if you 
want to make it 50/50 or something more complicated, you'll need to use 3pcc or 
some other synchronization mechanism).  Just copy and paste the <send> of the 
BYE and <recv> of a 200 from the UAC to the UAS and vice versa. 

Charles 




Andreas Byström <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED] 

09/06/2007 07:42 AM 

To
<[email protected]> 
cc
Subject
[Sipp-users] Example of scenario wher B hangs up

        




Hi all, 
  
I have been searching for a XML file that contains a scenario where the B part 
terminates teh session (sends Bye). Any hints where I can find such a example? 
  
Regards, 
// 
Andreas-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  
http://get.splunk.com/_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to