Hi all,

I'm testing a System in which a custom procedure is taken to perform a Call.


The procedure, foresees a MESSAGE handshake before starting the call.


To be clear, the service is something like:


MESSAGE   --------------->
200              <---------------


MESSAGE   <---------------
200              --------------->


INVITE          --------------->
.
.
.
BYE               --------------->



I'm using SIPp in client mode


sudo sipp 10.21.8.100 -sf OCASU_100sec_Queue_prio.xml -r 1 -rp 10s -p 5060
-rsa 10.21.8.100:6080 -mi 10.21.3.22 -l 15 -inf my_calls.csv -trace_err



10.21.3.22 is the PC with SIPp
10.21.8.100 is my system







*Problems*

1 - Unfortunately, the two MESSAGE exchanges and the INVITE have different
Call-IDs. Can I Ignore Call Ids for Messages exchange?
2 - The messages contain custom content. I'm able to send the custom
content by SIPp and it's recognized by my devices.  I'm not sure I can
recognize the custom content.



Currently I see the first MESSAGE sent by SIPp and acknowledged by my
System.
SIPp receives the message from my system but doesn't answer with 200OK and
issues this error:

2014-11-07    16:45:54.868293    1415375154.868293: Discarding message
which can't be mapped to a known SIPp call:
MESSAGE sip:20200@10.21.3.22:5060 SIP/2.0
Via: SIP/2.0/UDP 10.21.8.100:6080;branch=z9hG4bk169150564-16515073
Max-forwards: 70
From: <sip:20555@10.21.3.22>;tag=3627-16515428:16515073.0
To: <sip:20200@10.21.3.22>
Contact: <sip:20555@10.21.8.100:6080>
Call-ID: 38.3627-16515428:16515073
CSeq: 2012 MESSAGE
User-Agent: SIP+(1.0.0)-Gateway
Priority: not-urgent
Content-Type: text/plain
Content-Length: 110

externalService=oacsuAck
externalCg=20555
externalCd=20200
externalEnc=1
sourceGw=16718581
onBusy=queue


















Here the xml I'm trying to use for the messages exchange



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


      MESSAGE sip:[field3]@10.21.3.22:5060 SIP/2.0
      Via: SIP/2.0/UDP 10.21.3.22:5060;branch=[branch]
      From:[field0]<sip:[field1]@10.21.3.22:5060>;tag=[call_number]
      To: [field2] <sip:[field3]@10.21.3.22:5060>
      Call-ID: [call_id]
      CSeq: [cseq] MESSAGE
      Contact: sip:[field1]@10.21.3.22:5060
      Max-Forwards: 70
      Subject: Performance Test
      Content-Type: text/plain
      Content-Length: [len]
      Priority: [field5]

      externalService=oacsuReq
      externalCg=[field1]
      SourceGw=16718581
      externalCd=[field3]
      onBusy=queue

    ]]>
  </send>
  <recv response="200" rtd="true" crlf="true">
  </recv>


 <!-- 400 Bad Request,  -->
<!--  <recv response="400" optional="true" next="2"> -->
<!--  </recv>    -->

 <!-- xxx, xxx -         -->
 <!-- <recv response="182" optional="true" next="3"> -->
 <!-- </recv> -->


 <label id="3"/>


<!-- MESSAGE ACK -         -->

  <recv request="MESSAGE">
    <![CDATA[


      MESSAGE sip:[field1]@10.21.3.22:5060 SIP/2.0
      Via: SIP/2.0/UDP 10.21.8.100:6080;branch=[branch]
      From: <sip:[field3]@10.21.3.22>;tag=[call_number]
      To: <sip:[field1]@10.21.3.22>
      Contact: sip:[field3]@10.21.8.100:6080
      Call-ID: [call_id]
      CSeq: [cseq] MESSAGE
      Priority: not-urgent
      Content-Type: text/plain
      Content-Length: [len]

      externalService=oacsuAck
      externalCg=[field3]
      externalCd=[field1]
      externalEnc=1
      SourceGw=16718581
      onBusy=queue

    ]]>

 </recv>

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


      200 OK sip:[field1]@10.21.3.22:5060 SIP/2.0
      Via: SIP/2.0/UDP 10.21.3.22:5060;branch=[branch]
      From:[field2]<sip:[field3]@10.21.3.22:5060>;tag=[call_number]
      To: [field0] <sip:[field1]@10.21.3.22:5060>
      Call-ID: [call_id]
      CSeq: [cseq] MESSAGE
      Contact: sip:[field1]@10.21.3.22:5060
      Max-Forwards: 70
      Subject: Performance Test
      Content-Type: text/plain
      Content-Length: [len]

    ]]>
 </send>






Thank You in advance!


Massimo
------------------------------------------------------------------------------
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to