Hi

I am trying to design a SipP script for UAS with PRACK.
The script receives PRACK & sends 200OK for PRACK & then waits for 10
seconds & then sends 200OK for INVITE. But for some reason 200OK for INVITE
doesn't get ACKnowledged from the UAC.
Any ideas what could be the issue. Does anybody have working scripts for UAS
with PRACK? It would be great help if you could share those.

Script below:
<?xml version="1.0" encoding="ISO-8859-1" ?>


<scenario name="MCP_simulator">


  <recv request="INVITE" crlf="true">
  </recv>



  <send>
    <![CDATA[

      SIP/2.0 180 Ringing
      [last_Via:]
      [last_From:]
      [last_To:];tag=[call_number]
      [last_Call-ID:]
      [last_CSeq:]
      Require: 100rel
      RSeq: 1
      Contact: <sip:[local_ip]:[local_port];transport=[transport]>
      Content-Length: 0

    ]]>
  </send>

  <recv request="PRACK"crlf="true">
         <!-- optional="true" rtd="true" -->
  </recv>


  <send >
       <![CDATA[

              SIP/2.0 200 OK
              [last_Via:]
              [last_From:]
              [last_To:]
              [last_Call-ID:]
              CSeq: 2 PRACK
              Contact: <sip:sipp@
[local_ip]:[local_port];transport=[transport]>
              Content-Length: [len]

            ]]>
  </send>

    <pause milliseconds="10000"/>


  <send >
<![CDATA[

SIP/2.0 200 OK
[last_Via:]
[last_From:]
[last_To:]
[last_Call-ID:]
CSeq: 1 INVITE
Record-Route: <sip:[email protected]:5060;lr;gvp.rm.datanodes=1>
Contact: <sip:s...@[local_ip]:[local_port];transport=[transport]>
Supported: timer, 100rel
Session-Expires: 95;refresher=uac
Require: timer
Content-Type: application/sdp
India: VishalVishal
Content-Length: [len]
X-Genesys-RM-Application-dbid: 102
[last_X-Genesys-GVP-Session-ID:]

v=0
o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
s=-
c=IN IP[media_ip_type] [media_ip]
t=0 0
m=audio [media_port] RTP/AVP 0 8 3 18 101
a=rtpmap:18 g729/8000
a=fmtp:101 0-15
a=rtpmap:101 telephone-event/8000

]]>
  </send>



  <recv request="ACK"crlf="true">
       <!-- optional="true" rtd="true" -->
  </recv>

 <recv request="BYE" />

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

      SIP/2.0 200 OK
      [last_Via:]
      [last_From:]
      [last_To:]
      [last_Call-ID:]
      [last_CSeq:]
      Contact: <sip:[local_ip]:[local_port];transport=[transport]>
      Content-Length: [len]

    ]]>
  </send>

</scenario>



Thanks
Harry
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to