hi, all
 i met a problem when i tried to simulate Transfer callflow with Sipp. Part of my scenario is :
 
Sipp_A  ---->>>>Sipp_B ----->>>>Sipp_C
 
At first, A calls B, B answer it and then B will send a REFER message to A notifying that he would like to start a Transfer to C. However, When A received the REFER , he will
reply with a "202 Accepted" response, then according th RFC, A will continue to send a "NOTIFY" message back to B. The problem in my scenario is that after sending the "202 Accepted" message, A will not send out "NOTIFY" message, insteat of that, he will always send out "202 Accepted" every 500 milliseconds.
...........................................
Scenario_A:

  <recv request="REFER" rrs="true">
      <action>
        <ereg regexp=".*" search_in="hdr" header="Record-Route:" check_it="true" assign_to="2" />
        <ereg regexp=".*" search_in="hdr" header="Refer-To:" check_it="true" assign_to="3" />
        <ereg regexp=".*" search_in="hdr" header="Referred-By:" check_it="true" assign_to="4" />
        <ereg regexp=".*" search_in="hdr" header="From:" check_it="true" assign_to="5" />
        <ereg regexp=".*" search_in="hdr" header="To:" check_it="true" assign_to="6" />
      </action>
  </recv>

  <send retrans="500">
    <![CDATA[

      SIP/2.0 202 Accepted
      [last_Via:]
      [last_From:]
      [last_To:]
      [last_Call-ID:]
      CSeq: 2 REFER
      Contact: <sip:[EMAIL PROTECTED]:[local_port]>
      Record-Route:[$2]
      Subject:[$5],[$6]
      Content-Length: 0     

    ]]>
  </send>
 
  <pause milliseconds="1000"/>
  <send retrans="500">
    <![CDATA[

      NOTIFY sip:[EMAIL PROTECTED]:[remote port] SIP/2.0
      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
      From:[$6]
      To:[$5]
      Call-ID: [call_id]
      CSeq: 2 NOTIFY
      Contact: sip:[EMAIL PROTECTED]:[local_port]
      [routes]
      Max-Forwards: 70
      Subject: Performance Test
      Content-Length: [len]
      Event: refer
      Subscription-State: active; expires=180
      Content-Type: message/sipfrag;version=2.0
      Content-Disposition: session;handling=required
     
      SIP/2.0 100 Trying     

    ]]>
  </send>

...............................

Any idea? Thanks in advace.


--
Cheers!
Xuesong Du
B0503493 NO.800 Dongchuan RD. Jiaotong Univ. Shanghia, China
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to