I am currently using sipp to test between multiple Asterisk sip trunks.

sipp <-----trunk-----> * Box 1 <-----trunk-----> * Box 2.

I have exported the default uac.xml and changed the BYE send to receive
requests instead.  Since my * dial plan dials some DTMFs, plays a ulaw and
then does the hangup.

   <recv request="BYE">
   </recv>
   <send>
    <![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: 0

     ]]>
   </send>

Everything seems to work correctly.  I can use a soft-phone to dial across
the trunks and the sipp test passes successfully with one call.  However
once I bump it up to 2 concurrent (-l 2).  I start seeing dead call msg
(successful).  The test says successful but I'm not sure what the dead call
message is implying.

Call-rate(length)   Port   Total-time  Total-calls  Remote-host
  10.0(0 ms)/1.000s   5061     175.36 s            2  4.4.4.4:5060(UDP)

  Call limit reached (-m 2), 0.000 s period  0 ms scheduler resolution
  0 calls (limit 2)                      Peak was 2 calls, after 0 s
  0 Running, 4 Paused, 0 Woken up
  1 dead call msg (discarded)            0 out-of-call msg (discarded)

  1 open sockets

                                 Messages  Retrans   Timeout
Unexpected-Msg
      INVITE ---------->         2         0         0
         100 <----------         2         0         0         0
         180 <----------         0         0         0         0
         183 <----------         0         0         0         0
         200 <----------  E-RTD1 2         0         0         0
         ACK ---------->         2         0
         BYE <----------         2         0         0         0


------------------------------ Test Terminated
--------------------------------


----------------------------- Statistics Screen ------- [1-9]: Change
Screen --
  Start Time             | 2015-06-05 11:21:27:778 1433521287.778465

  Last Reset Time        | 2015-06-05 11:24:23:014 1433521463.014540

  Current Time           | 2015-06-05 11:24:23:014 1433521463.014586

-------------------------+---------------------------+--------------------------
  Counter Name           | Periodic value            | Cumulative value
-------------------------+---------------------------+--------------------------
  Elapsed Time           | 00:00:00:000              | 00:02:55:236

  Call Rate              |    0.000 cps              |    0.006 cps

-------------------------+---------------------------+--------------------------
  Incoming call created  |        0                  |        0

  OutGoing call created  |        0                  |        1

  Total Call created     |                           |        1

  Current Call           |        0                  |

-------------------------+---------------------------+--------------------------
  Successful call        |        0                  |        1

  Failed call            |        0                  |        0

-------------------------+---------------------------+--------------------------
  Response Time 1        | 00:00:00:000              | 00:00:00:004

  Call Length            | 00:00:00:000              | 00:02:55:134

------------------------------ Test Terminated
--------------------------------


[root@sipp]# ./sipp -sf uac-no-hangup.xml -s 666 4.4.4.4 -l 2 -m 2 -r 10
-trace_err
Warning: open file limit > FD_SETSIZE; limiting max. # of open files to
FD_SETSIZE = 1024
         Resolving remote host '4.4.4.4'... Done.
------------------------------ Scenario Screen -------- [1-9]: Change
Screen --
  Call-rate(length)   Port   Total-time  Total-calls  Remote-host
  10.0(0 ms)/1.000s   5061     175.36 s            2  4.4.4.4:5060(UDP)

  Call limit reached (-m 2), 0.000 s period  0 ms scheduler resolution
  0 calls (limit 2)                      Peak was 2 calls, after 0 s
  0 Running, 4 Paused, 0 Woken up
  1 dead call msg (discarded)            0 out-of-call msg (discarded)

  1 open sockets

                                 Messages  Retrans   Timeout
Unexpected-Msg
      INVITE ---------->         2         0         0
         100 <----------         2         0         0         0
         180 <----------         0         0         0         0
         183 <----------         0         0         0         0
         200 <----------  E-RTD1 2         0         0         0
         ACK ---------->         2         0
         BYE <----------         2         0         0         0
------------------------------ Test Terminated
--------------------------------


----------------------------- Statistics Screen ------- [1-9]: Change
Screen --
  Start Time             | 2015-06-05 11:30:48:298 1433521848.298899

  Last Reset Time        | 2015-06-05 11:33:43:661 1433522023.661620

  Current Time           | 2015-06-05 11:33:43:661 1433522023.661730

-------------------------+---------------------------+--------------------------
  Counter Name           | Periodic value            | Cumulative value
-------------------------+---------------------------+--------------------------
  Elapsed Time           | 00:00:00:000              | 00:02:55:362

  Call Rate              |    0.000 cps              |    0.011 cps

-------------------------+---------------------------+--------------------------
  Incoming call created  |        0                  |        0

  OutGoing call created  |        0                  |        2

  Total Call created     |                           |        2

  Current Call           |        0                  |

-------------------------+---------------------------+--------------------------
  Successful call        |        0                  |        2

  Failed call            |        0                  |        0

-------------------------+---------------------------+--------------------------
  Response Time 1        | 00:00:00:000              | 00:00:00:004

  Call Length            | 00:00:00:000              | 00:02:54:902

------------------------------ Test Terminated
--------------------------------

2015-06-05 11:33:43:544 1433522023.544571: Dead call 1-244359@172.16.0.2
(successful), received 'BYE sip:sipp@172.16.0.2:5061 SIP/2.0
Via: SIP/2.0/UDP 4.4.4.4:5060;branch=z9hG4bK1125b29a;rport
Max-Forwards: 70
From: 666 <sip:666@4.4.4.4:5060>;tag=as254abde5
To: sipp <sip:sipp@172.16.0.2:5061>;tag=244359SIPpTag001
Call-ID: 1-244359@172.16.0.2
CSeq: 102 BYE
User-Agent: Asterisk PBX 11.7.0
X-Asterisk-HangupCause: Normal Clearing
X-Asterisk-HangupCauseCode: 16
Content-Length: 0
------------------------------------------------------------------------------
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to