Hi SIPp users,
I'm using SIPp to emulate a Cisco 7962 phone response (have the CUCM logs,
and am working to replicate the conversation I see in there). (To be
clear, when it says my_sipp_ip and SERVER in errors or logs, I just
overwrite the values I used for privacy.)
The problem I'm running into is that after an initial REFER SIP TCP
message,
REFER sip:[remote_ip] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: sipp
<sip:[field0]@[local_ip]:[local_port]>;tag=[pid]SIPpTag00[call_number]
To: <sip:[remote_ip]>
Call-ID: [call_id]
Date: [timestamp]
CSeq: 1000 REFER
User-Agent: Cisco-CP7962G/9.3.1
the response I get is good (I think), but SIPp is rejecting it as with the
following error in the _errors.log:
sipp: The following events occured:
2013-06-25 15:11:56:887 1372191116.887600: *Dead call 1-12936@*
my_sipp_ip* (successful)*, received 'SIP/2.0 202 Accepted
Via: SIP/2.0/TCP my_sipp_ip:5060;branch=z9hG4bK-12936-1-0
...
at which point, the conversation stops and no further send's or recv's are
processed.
I've tried a number of settings changes as well as skipping the REFER step
and moving straight to a REGISTER with similar results. Here's the command:
sipp -m 2 -t t1 -sf refer.xml -inf database.csv -i my_local_ip
-deadcall_wait 2000 SERVER -trace_err -trace_msg
(-m 2: limiting this to 2 calls until I get a good configuration,
refer.xml is my scenario,
I've got some mac address and device name information that I'm dropping in
via field substitution from database.csv,
my_local_ip is my actual ip address
I'm trying the -deadcall_wait 2000: 2sec, although it doesn't seem to wait
at all
SERVER is the CUCM address)
The outline of my scenario is as follows:
<send>
REFER
</send>
<recv response="202"></recv>
<send>
REGISTER
</send>
<recv response="200"></recv>
<send>
200 OK
</send>
and because I read the only thread on here that seemed germane...
<pause milliseconds="5000"/>
Unfortunately, this script only results in this:
------------------------------ Scenario Screen -------- [1-9]: Change
Screen --
Call-rate(length) Port Total-time Total-calls Remote-host
10.0(0 ms)/1.000s 5060 0.20 s 2 SERVER:5060(TCP)
Call limit reached (-m 2), 0.000 s period 0 ms scheduler resolution
0 calls (limit 30) Peak was 1 calls, after 0 s
1 Running, 3 Paused, 0 Woken up
1 dead call msg (discarded) 0 out-of-call msg (discarded)
2 open sockets
Messages Retrans Timeout
Unexpected-Msg
*REFER ----------> 2 0 *
------------------------------ Test Terminated
--------------------------------
----------------------------- Statistics Screen ------- [1-9]: Change
Screen --
Start Time | 2013-06-25 15:11:56:783 1372191116.783373
Last Reset Time | 2013-06-25 15:11:56:987 1372191116.987285
Current Time | 2013-06-25 15:11:56:987 1372191116.987429
-------------------------+---------------------------+--------------------------
Counter Name | Periodic value | Cumulative value
-------------------------+---------------------------+--------------------------
Elapsed Time | 00:00:00:000 | 00:00:00:204
Call Rate | 0.000 cps | 9.804 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
-------------------------+---------------------------+--------------------------
Call Length | 00:00:00:000 | 00:00:00:000
------------------------------ Test Terminated
--------------------------------
2013-06-25 15:11:56:887 1372191116.887600: Dead call
1-12936@my_sipp_ip(successful), received 'SIP/2.0 202 Accepted
Any insights from people who might have encountered (and vanquished) this
error would be much appreciated,
-Max
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users