<commit_before><?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "../sipp.dtd">

<scenario>

<Global variables="userId,luserAdd,luserIpPort">
  <action>
    <assign assign_to="userId" value="0" />
  </action>
</Global>

<nop>
  <action>
    <add assign_to="userId" value="1" />
    <assignstr assign_to="luserIpPort" value="[local_ip]:[local_port]" />   
    <assignstr assign_to="luserAdd" value="sip:[$luserIpPort]" />   
    <assignstr assign_to="ruserAdd" value="sip:user[$userId]<EMAIL>" /> 
  </action>
</nop>



  <send>
    <![CDATA[

      INVITE [$ruserAdd] SIP/2.0
      Via: SIP/2.0/[transport] [$luserIpPort];branch=[branch]
      From: <[$luserAdd]>;tag=[pid]SIPpTag00[call_number]
      To: <[$ruserAdd]>
      Call-ID: [call_id]
      CSeq: 1 INVITE
      Contact: [$luserAdd]
      Max-Forwards: 70
      Subject: Test invite from client
      Content-Type: application/sdp
      Content-Length: [len]

      v=0
      o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
      s=A conversation
      c=IN IP[media_ip_type] [media_ip]
      t=0 0
      m=audio [media_port] RTP/AVP 8
      b=AS:75
      a=rtpmap:8 PCMA/8000/1
      a=ptime:30
      a=sendrecv

    ]]>
  </send>

  <recv response="100" optional="true"></recv>
  <recv response="180" optional="true"></recv>
  <recv response="183" optional="true"></recv>
  <recv response="200" rtd="true" timeout="2000"></recv>


  <send>
    <![CDATA[

      ACK [$ruserAdd] SIP/2.0
      Via: SIP/2.0/[transport] [$luserIpPort];branch=[branch]
      From: <[$luserAdd]>;tag=[pid]SIPpTag00[call_number]
      To: <[$ruserAdd]>[peer_tag_param]
      Call-ID: [call_id]
      CSeq: 1 ACK
      Contact: [$luserAdd]
      Max-Forwards: 70
      Subject: Ack user we have received the 200
      Content-Length: 0

    ]]>
  </send>


  <nop>
    <action>
      <exec play_pcap_audio="relaying/one_way_pcma_capture.pcap"/>
    </action>
  </nop>

  <!-- Wait untill the pcap file is almost entirely played. -->
  <pause milliseconds="180000"/>

  <!-- The 'crlf' option inserts a blank line in the statistics report. -->
  <send retrans="5">
    <![CDATA[

      BYE [$ruserAdd] SIP/2.0
      Via: SIP/2.0/[transport] [$luserIpPort];branch=[branch]
      From: <[$luserAdd]>;tag=[pid]SIPpTag00[call_number]
      To: <[$ruserAdd]>[peer_tag_param]
      Call-ID: [call_id]
      CSeq: 2 BYE
      Contact: [$luserAdd]
      Max-Forwards: 70
      Subject: Teminate invite
      Content-Length: 0

    ]]>
  </send>


  <recv response="200" crlf="true" timeout="2000"></recv>

  <!-- definition of the response time repartition table (unit is ms)   -->
  <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>

  <!-- definition of the call length repartition table (unit is ms)     -->
  <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>

</scenario>
<commit_msg>Tune the relaying/ invite.xml to match the invites/<commit_after><?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "../sipp.dtd">

<scenario>

<Global variables="userId,luserAdd,luserIpPort,domain,ua">
  <action>
    <assign assign_to="userId" value="0" />
  </action>
</Global>

<nop>
  <action>
    <add assign_to="userId" value="1" />
    <assignstr assign_to="luserIpPort" value="[local_ip]:[local_port]" />   
    <assignstr assign_to="luserAdd" value="sip:[$luserIpPort]" />   
    <assignstr assign_to="ruserAdd" value="sip:user[$userId]@[$domain]" /> 
  </action>
</nop>


  <send>
    <![CDATA[

      INVITE [$ruserAdd] SIP/2.0
      Via: SIP/2.0/[transport] [$luserIpPort];branch=[branch]
      From: <[$luserAdd]>;tag=[pid]SIPpTag00[call_number]
      To: <[$ruserAdd]>
      Call-ID: [call_id]
      User-Agent: [$ua]
      CSeq: 1 INVITE
      Contact: [$luserAdd]
      Max-Forwards: 70
      Subject: Test invite from client
      Content-Type: application/sdp
      Content-Length: [len]

      v=0
      o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
      s=A conversation
      c=IN IP[media_ip_type] [media_ip]
      t=0 0
      m=audio [media_port] RTP/AVP 8
      b=AS:75
      a=rtpmap:8 PCMA/8000/1
      a=ptime:30
      a=sendrecv

    ]]>
  </send>

  <recv response="100" optional="true"></recv>
  <recv response="180" optional="true"></recv>
  <recv response="183" optional="true"></recv>
  <recv response="200" rtd="true" timeout="2000" rrs="true"></recv>


  <send>
    <![CDATA[

      ACK [$ruserAdd]:5063 SIP/2.0
      Via: SIP/2.0/[transport] [$luserIpPort];branch=[branch]
      From: <[$luserAdd]>;tag=[pid]SIPpTag00[call_number]
      To: <[$ruserAdd]>[peer_tag_param]
      Call-ID: [call_id]
      User-Agent: [$ua]
      CSeq: 1 ACK
      Contact: [$luserAdd]
      Max-Forwards: 70
      Subject: Ack user we have received the 200
      Content-Length: 0

    ]]>
  </send>


  <nop>
    <action>
      <exec play_pcap_audio="one_way_pcma_capture.pcap"/>
    </action>
  </nop>

  <!-- Wait untill the pcap file is almost entirely played. -->
  <pause milliseconds="180000"/>

  <!-- The 'crlf' option inserts a blank line in the statistics report. -->
  <send retrans="5">
    <![CDATA[

      BYE [next_url] SIP/2.0
      Via: SIP/2.0/[transport] [$luserIpPort];branch=[branch]
      From: <[$luserAdd]>;tag=[pid]SIPpTag00[call_number]
      To: <[$ruserAdd]>[peer_tag_param]
      Call-ID: [call_id]
      User-Agent: [$ua]
      CSeq: 2 BYE
      Contact: [$luserAdd]
      Max-Forwards: 70
      Subject: Teminate invite
      Content-Length: 0

    ]]>
  </send>


  <recv response="200" crlf="true" timeout="2000"></recv>

  <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
  <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>

</scenario>

{'fraction_non_alphanumeric': 0.16976865541833364, 'fraction_numerical': 0.05148721516785528, 'mean_word_length': 3.032258064516129, 'pattern_counts': {'":': 0, '<': 110, '<?xml version=': 2, '>': 110, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 3}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6013510', 'n_tokens_mistral': 2433, 'n_tokens_neox': 2113, 'n_words': 452}