Hi,
I am trying to simulate the following behaviour:
1) REGISTER msg is sent.
2) 200 OK for REGISTER msg is received.
3) MESSAGE msg is received.
4) 200 OK for MESSAGE msg is sent.
Steps 1 and 2 are working fine. But when MESSAGE msg is received by SIPp server
, it gives error "Discarding message which
can't be mapped to a known SIPp call"
Is there any possibility of using different call-id in one scenario?
Please find attached the xml file and the message logs.
Thanks in advance
Regards,
Shalu
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">
<scenario name="Registration">
<!-- In client mode (sipp placing calls), the Call-ID MUST be -->
<!-- generated by sipp. To do so, use [call_id] token. -->
<send retrans="500">
<![CDATA[
REGISTER sip:[remote_ip] SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
Max-Forwards: 70
From: sipp <sip:s...@[local_ip]:[local_port]>;tag=[pid]SIPpTag09[call_number]
To: sut <sip:[servi...@[remote_ip]:[remote_port]>
Call-ID: [call_id]
CSeq: 1 REGISTER
Contact: sip:s...@[local_ip]:[local_port]
Expires: 300
Content-Length: 0
User-Agent: Sipp v1.1-TLS, version 20061124
]]>
</send>
<recv response="200">
</recv>
<recv request="MESSAGE">
</recv>
<send retrans="500">
<![CDATA[
SIP/2.0 200 Ok
[last_Via:]
[last_From:]
[last_To:];tag=[call_number]
[last_Call-ID:]
[last_CSeq:]
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
Content-Length: 0
]]>
</send>
<ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 250, 500"/>
<CallLengthRepartition value="10"/>
</scenario>
----------------------------------------------- 2009-07-27 16:56:06:814.210
UDP message sent (375 bytes):
REGISTER sip:10.34.77.194 SIP/2.0
Via: SIP/2.0/UDP 10.34.77.86:5074;branch=z9hG4bK-25170-1-0
Max-Forwards: 70
From: sipp <sip:[email protected]:5074>;tag=25170SIPpTag091
To: sut <sip:[email protected]:5060>
Call-ID: [email protected]
CSeq: 1 REGISTER
Contact: sip:[email protected]:5074
Expires: 300
Content-Length: 0
User-Agent: Sipp v1.1-TLS, version 20061124
----------------------------------------------- 2009-07-27 16:56:06:855.368
UDP message received [501] bytes :
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.34.77.86:5074;branch=z9hG4bK-25170-1-0;received=10.34.77.86
From: sipp <sip:[email protected]:5074>;tag=25170SIPpTag091
To: sut <sip:[email protected]:5060>;tag=as62171203
Call-ID: [email protected]
CSeq: 1 REGISTER
User-Agent: RtVMS 2.0.1
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces, timer
Expires: 300
Contact: <sip:[email protected]:5074>;expires=300
Date: Mon, 27 Jul 2009 05:26:38 GMT
Content-Length: 0
----------------------------------------------- 2009-07-27 16:56:06:899.929
UDP message received [504] bytes :
MESSAGE sip:[email protected]:5060:5060 SIP/2.0
Via: SIP/2.0/UDP 10.34.77.194:5060;branch=z9hG4bK04a0ec66;rport
Max-Forwards: 70
From: "RtVMS" <sip:[email protected]>;tag=as586f221b
To: <sip:[email protected]:5060:5060>
Contact: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 102 MESSAGE
User-Agent: RtVMS 2.0.1
Content-Type: text/plain
Content-Length: 95
You have new messages on sip:[email protected]
1 new and 0 old Voice-Messages in your mailbox
----------------------------------------------- 2009-07-27 16:56:07:899.097
UDP message received [504] bytes :
MESSAGE sip:[email protected]:5060:5060 SIP/2.0
Via: SIP/2.0/UDP 10.34.77.194:5060;branch=z9hG4bK04a0ec66;rport
Max-Forwards: 70
From: "RtVMS" <sip:[email protected]>;tag=as586f221b
To: <sip:[email protected]:5060:5060>
Contact: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 102 MESSAGE
User-Agent: RtVMS 2.0.1
Content-Type: text/plain
Content-Length: 95
You have new messages on sip:[email protected]
1 new and 0 old Voice-Messages in your mailbox
----------------------------------------------- 2009-07-27 16:56:08:898.951
UDP message received [504] bytes :
MESSAGE sip:[email protected]:5060:5060 SIP/2.0
Via: SIP/2.0/UDP 10.34.77.194:5060;branch=z9hG4bK04a0ec66;rport
Max-Forwards: 70
From: "RtVMS" <sip:[email protected]>;tag=as586f221b
To: <sip:[email protected]:5060:5060>
Contact: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 102 MESSAGE
User-Agent: RtVMS 2.0.1
Content-Type: text/plain
Content-Length: 95
You have new messages on sip:[email protected]
1 new and 0 old Voice-Messages in your mailbox
----------------------------------------------- 2009-07-27 16:56:10:899.729
UDP message received [504] bytes :
MESSAGE sip:[email protected]:5060:5060 SIP/2.0
Via: SIP/2.0/UDP 10.34.77.194:5060;branch=z9hG4bK04a0ec66;rport
Max-Forwards: 70
From: "RtVMS" <sip:[email protected]>;tag=as586f221b
To: <sip:[email protected]:5060:5060>
Contact: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 102 MESSAGE
User-Agent: RtVMS 2.0.1
Content-Type: text/plain
Content-Length: 95
You have new messages on sip:[email protected]
1 new and 0 old Voice-Messages in your mailbox
----------------------------------------------- 2009-07-27 16:56:14:899.207
UDP message received [504] bytes :
MESSAGE sip:[email protected]:5060:5060 SIP/2.0
Via: SIP/2.0/UDP 10.34.77.194:5060;branch=z9hG4bK04a0ec66;rport
Max-Forwards: 70
From: "RtVMS" <sip:[email protected]>;tag=as586f221b
To: <sip:[email protected]:5060:5060>
Contact: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 102 MESSAGE
User-Agent: RtVMS 2.0.1
Content-Type: text/plain
Content-Length: 95
You have new messages on sip:[email protected]
1 new and 0 old Voice-Messages in your mailbox
----------------------------------------------- 2009-07-27 16:56:18:899.652
UDP message received [504] bytes :
MESSAGE sip:[email protected]:5060:5060 SIP/2.0
Via: SIP/2.0/UDP 10.34.77.194:5060;branch=z9hG4bK04a0ec66;rport
Max-Forwards: 70
From: "RtVMS" <sip:[email protected]>;tag=as586f221b
To: <sip:[email protected]:5060:5060>
Contact: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 102 MESSAGE
User-Agent: RtVMS 2.0.1
Content-Type: text/plain
Content-Length: 95
You have new messages on sip:[email protected]
1 new and 0 old Voice-Messages in your mailbox
sipp: The following events occured:
2009-07-27 16:56:06:899 1248693966.899971: Discarding message which can't be mapped to a known SIPp call:
MESSAGE sip:[email protected]:5060:5060 SIP/2.0
Via: SIP/2.0/UDP 10.34.77.194:5060;branch=z9hG4bK04a0ec66;rport
Max-Forwards: 70
From: "RtVMS" <sip:[email protected]>;tag=as586f221b
To: <sip:[email protected]:5060:5060>
Contact: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 102 MESSAGE
User-Agent: RtVMS 2.0.1
Content-Type: text/plain
Content-Length: 95
You have new messages on sip:[email protected]
1 new and 0 old Voice-Messages in your mailbox
.
2009-07-27 16:56:07:899 1248693967.899223: Discarding message which can't be mapped to a known SIPp call:
MESSAGE sip:[email protected]:5060:5060 SIP/2.0
Via: SIP/2.0/UDP 10.34.77.194:5060;branch=z9hG4bK04a0ec66;rport
Max-Forwards: 70
From: "RtVMS" <sip:[email protected]>;tag=as586f221b
To: <sip:[email protected]:5060:5060>
Contact: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 102 MESSAGE
User-Agent: RtVMS 2.0.1
Content-Type: text/plain
Content-Length: 95
You have new messages on sip:[email protected]
1 new and 0 old Voice-Messages in your mailbox
.
2009-07-27 16:56:08:899 1248693968.899067: Discarding message which can't be mapped to a known SIPp call:
MESSAGE sip:[email protected]:5060:5060 SIP/2.0
Via: SIP/2.0/UDP 10.34.77.194:5060;branch=z9hG4bK04a0ec66;rport
Max-Forwards: 70
From: "RtVMS" <sip:[email protected]>;tag=as586f221b
To: <sip:[email protected]:5060:5060>
Contact: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 102 MESSAGE
User-Agent: RtVMS 2.0.1
Content-Type: text/plain
Content-Length: 95
You have new messages on sip:[email protected]
1 new and 0 old Voice-Messages in your mailbox
.
2009-07-27 16:56:10:899 1248693970.899855: Discarding message which can't be mapped to a known SIPp call:
MESSAGE sip:[email protected]:5060:5060 SIP/2.0
Via: SIP/2.0/UDP 10.34.77.194:5060;branch=z9hG4bK04a0ec66;rport
Max-Forwards: 70
From: "RtVMS" <sip:[email protected]>;tag=as586f221b
To: <sip:[email protected]:5060:5060>
Contact: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 102 MESSAGE
User-Agent: RtVMS 2.0.1
Content-Type: text/plain
Content-Length: 95
You have new messages on sip:[email protected]
1 new and 0 old Voice-Messages in your mailbox
.
2009-07-27 16:56:14:899 1248693974.899401: Discarding message which can't be mapped to a known SIPp call:
MESSAGE sip:[email protected]:5060:5060 SIP/2.0
Via: SIP/2.0/UDP 10.34.77.194:5060;branch=z9hG4bK04a0ec66;rport
Max-Forwards: 70
From: "RtVMS" <sip:[email protected]>;tag=as586f221b
To: <sip:[email protected]:5060:5060>
Contact: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 102 MESSAGE
User-Agent: RtVMS 2.0.1
Content-Type: text/plain
Content-Length: 95
You have new messages on sip:[email protected]
1 new and 0 old Voice-Messages in your mailbox
.
2009-07-27 16:56:18:899 1248693978.899769: Discarding message which can't be mapped to a known SIPp call:
MESSAGE sip:[email protected]:5060:5060 SIP/2.0
Via: SIP/2.0/UDP 10.34.77.194:5060;branch=z9hG4bK04a0ec66;rport
Max-Forwards: 70
From: "RtVMS" <sip:[email protected]>;tag=as586f221b
To: <sip:[email protected]:5060:5060>
Contact: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 102 MESSAGE
User-Agent: RtVMS 2.0.1
Content-Type: text/plain
Content-Length: 95
You have new messages on sip:[email protected]
1 new and 0 old Voice-Messages in your mailbox
.
------------------------------------------------------------------------------
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users