Well, this is strange... I have a simple setup where user 'sep1' has subscribed to 'sep2'. Then I use the attached XML to send a PUBLISH as 'sep2', which results in a NOTIFY being sent to 'sep1' (which, incidentally, is the same server - so the sep2 scenario receives the 'unexpected' notify)
With your snapshot, I see 2 oddities. First, the scenario is generating 2 calls, despite the -m 1 parameter used. Secondly - although auto-answer is correctly sending a OK to the first unexpected NOTIFY, the second is simply ignored. (I have a pause statement at the end of the scenario to make sure the NOTIFY is received by SIPp before it exits) Attaching relevant files. > Tarek, User (whatever your name could be :) ), > > could you try the latest svn with -aa ( > http://sipp.sourceforge.net/snapshots/sipp.2006-09-06.tar.gz) and report? > I just authorized SIPp to handle messages with unknown call-ids, through > "-aa". > > @User, > thanks for the kudos, this is always nice... > > Olivier. > [EMAIL PROTECTED] sipp.2006-09-06]# ./sipp 67.1.100.93:5060 -inf uc-8-publish.dat -sf uc-8-publish.xml -t t1 -m 1 -aa -trace_msg Resolving remote host '67.1.100.93'... Done. ------------------------------ Scenario Screen -------- [1-5]: Change Screen -- Call-rate(length) Port Total-time Total-calls Remote-host 10.0(0 ms)/1.000s 5060 10.29 s 2 67.1.100.93:5060(TCP) Call limit reached (-m 1), 0.294 s period 1 ms scheduler resolution 0 concurrent calls (limit 300) Peak was 2 calls, after 0 s 0 out-of-call msg (discarded) 3 open sockets Messages Retrans Timeout Unexpected-Msg PUBLISH ----------> 2 0 100 <---------- 2 0 0 200 <---------- 2 0 0 Pause [ 10000ms] 2 0 ------------------------------ Test Terminated --------------------------------
----------------------------------------------- 2006-09-06 18:25:52 TCP message sent: PUBLISH sip:[EMAIL PROTECTED];transport=TCP SIP/2.0 Via: SIP/2.0/TCP 67.1.100.51:5060 To: <sip:[EMAIL PROTECTED]> From: "Unified Client User" <sip:[EMAIL PROTECTED]>;tag=1 Call-ID: [EMAIL PROTECTED] Cseq: 1 PUBLISH Event: presence Expires: 864000 Max-Forwards: 70 Contact: <sip:[EMAIL PROTECTED];transport=TCP> Content-Type: application/pidf+xml Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO Supported: eventlist User-Agent: cisco agent Content-Length: 1112 <?xml version="1.0" encoding="UTF-8" ?> <presence xmlns="urn:ietf:params:xml:ns:pidf" xmlns:rpid="urn:ietf:params:xml:ns:pidf:rpid" xmlns:et="urn:ietf:params:xml:ns:pidf:rpid:rpid-tuple" xmlns:ep="urn:ietf:params:xml:ns:pidf:rpid:rpid-person" xmlns:es="urn:ietf:params:xml:ns:pidf:rpid:status:rpid-status" xmlns:ci="urn:ietf:params:xml:ns:pidf:cipid" xmlns:sc="urn:ietf:params:xml:ns:pidf:servcaps" xmlns:im="urn:ietf:params:xml:ns:pidf:im" xmlns:cisco="urn:cisco:params:xml:ns:pidf:source"> <ep:person> <status> <basic>open</basic> <activities></activities> </status> </ep:person> <tuple id="cisco-upc"><contact priority="1"></contact> <note xml:lang="en"></note> <sc:servcaps> <sc:audio>false</sc:audio> <sc:video>false</sc:video> <sc:text>true</sc:text> </sc:servcaps> <user-input>active</user-input> <status> <basic>open</basic> </status></tuple> <tuple id="email"> <status><basic>open</basic></status> <contact priority="1">mailto:[EMAIL PROTECTED]</contact></tuple> <tuple id="phone"><status><basic>open</basic></status> <contact priority="3">phone:</contact></tuple></presence> ----------------------------------------------- 2006-09-06 18:25:52 TCP message received [258] bytes : SIP/2.0 100 Trying Via: SIP/2.0/TCP 67.1.100.51:5060;received=67.1.100.51 Call-ID: [EMAIL PROTECTED] From: "Unified Client User" <sip:[EMAIL PROTECTED]>;tag=1 To: <sip:[EMAIL PROTECTED]> Content-Type: application/pidf+xml CSeq: 1 PUBLISH Content-Length: 0 ----------------------------------------------- 2006-09-06 18:25:52 TCP message received [269] bytes : SIP/2.0 200 OK Via: SIP/2.0/TCP 67.1.100.51:5060;received=67.1.100.51 CSeq: 1 PUBLISH Call-ID: [EMAIL PROTECTED] From: "Unified Client User" <sip:[EMAIL PROTECTED]>;tag=1 To: <sip:[EMAIL PROTECTED]>;tag=a7bb2a3e Content-Length: 0 SIP-ETag: a7ba47fe Expires: 86400 ----------------------------------------------- 2006-09-06 18:25:52 TCP message received [2833] bytes : NOTIFY sip:[EMAIL PROTECTED];transport=tcp SIP/2.0 Via: SIP/2.0/TCP 67.1.100.93:5060;branch=74611233-113538ff-5ba7a774-877d1acf-1 Record-Route: <sip:[EMAIL PROTECTED]:5060;maddr=67.1.100.93> From: <sip:[EMAIL PROTECTED]>;tag=7e252170 To: "Unified Client User" <sip:[EMAIL PROTECTED]>;tag=1 CSeq: 1073741827 NOTIFY Call-ID: [EMAIL PROTECTED] Event: presence Contact: <sip:67.1.100.93:5070;transport=tcp> Content-Length: 2057 Content-Type: multipart/related;type="application/rlmi+xml";start="<[EMAIL PROTECTED]>";boundary="a7bae9ac-1dd1-11b2-8" Require: eventlist Subscription-State: active;expires=86330 Via: SIP/2.0/TCP 67.1.100.93:5070;received=67.1.100.93;branch=z9hG4bKa7bb1788-1dd1-11b2-8ee0-8894c29ddbe7 Max-Forwards: 68 --a7bae9ac-1dd1-11b2-8 Content-Transfer-Encoding: binary Content-ID: <[EMAIL PROTECTED]> Content-Type: application/rlmi+xml;charset="UTF-8" <?xml version="1.0" encoding="UTF-8"?> <list xmlns="urn:ietf:params:xml:ns:rlmi" uri="sip:[EMAIL PROTECTED]" version="3" fullState="false"> <resource uri="sip:[EMAIL PROTECTED]"> <instance cid="[EMAIL PROTECTED]" id="1" state="active"/> </resource> </list> --a7bae9ac-1dd1-11b2-8 Content-Transfer-Encoding: binary Content-ID: <[EMAIL PROTECTED]> Content-Type: application/pidf+xml <?xml version="1.0" encoding="UTF-8"?> <presence entity="sip:[EMAIL PROTECTED]" > <dm:person xmlns:dm="urn:ietf:params:xml:ns:pidf:data-model" id="sep2"> <activities xmlns="urn:ietf:params:xml:ns:pidf:rpid"> <available xmlns="urn:cisco:params:xml:ns:pidf:rpid"/> </activities> </dm:person> <tuple xmlns="urn:ietf:params:xml:ns:pidf" id="cmp-6722-85"> <status> <basic>open</basic> </status> <sc:servcaps xmlns:sc="urn:ietf:params:xml:ns:pidf:servcaps"> <sc:audio>true</sc:audio> </sc:servcaps> <contact priority="0.8">sip:[EMAIL PROTECTED]:5060</contact> <timestamp>2006-09-06T22:24:42Z</timestamp> </tuple> <tuple xmlns="urn:ietf:params:xml:ns:pidf" id="cisco-upc"> <contact priority="1"/> <note xml:lang="en"/> <sc:servcaps xmlns:sc="urn:ietf:params:xml:ns:pidf:servcaps"> <sc:audio>false</sc:audio> <sc:video>false</sc:video> <sc:text>true</sc:text> </sc:servcaps> <user-input>active</user-input> <status> <basic>open</basic> </status> </tuple> <tuple xmlns="urn:ietf:params:xml:ns:pidf" id="email"> <status> <basic>open</basic> </status> <contact priority="1">mailto:[EMAIL PROTECTED]</contact> </tuple> <tuple xmlns="urn:ietf:params:xml:ns:pidf" id="phone"> <status> <basic>open</basic> </status> <contact priority="3">phone:</contact> </tuple> </presence> --a7bae9ac-1dd1-11b2-8-- ----------------------------------------------- 2006-09-06 18:25:52 TCP message sent: SIP/2.0 200 OK Via: SIP/2.0/TCP 67.1.100.93:5060;branch=74611233-113538ff-5ba7a774-877d1acf-1 Via: SIP/2.0/TCP 67.1.100.93:5070;received=67.1.100.93;branch=z9hG4bKa7bb1788-1dd1-11b2-8ee0-8894c29ddbe7 Call-ID: [EMAIL PROTECTED] To: "Unified Client User" <sip:[EMAIL PROTECTED]>;tag=1 From: <sip:[EMAIL PROTECTED]>;tag=7e252170 CSeq: 1073741827 NOTIFY Contact: sip:[EMAIL PROTECTED]:5060 Content-Length: 0 ----------------------------------------------- 2006-09-06 18:25:52 TCP message sent: PUBLISH sip:[EMAIL PROTECTED];transport=TCP SIP/2.0 Via: SIP/2.0/TCP 67.1.100.51:5060 To: <sip:[EMAIL PROTECTED]> From: "Unified Client User" <sip:[EMAIL PROTECTED]>;tag=2 Call-ID: [EMAIL PROTECTED] Cseq: 1 PUBLISH Event: presence Expires: 864000 Max-Forwards: 70 Contact: <sip:[EMAIL PROTECTED];transport=TCP> Content-Type: application/pidf+xml Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO Supported: eventlist User-Agent: cisco agent Content-Length: 1112 <?xml version="1.0" encoding="UTF-8" ?> <presence xmlns="urn:ietf:params:xml:ns:pidf" xmlns:rpid="urn:ietf:params:xml:ns:pidf:rpid" xmlns:et="urn:ietf:params:xml:ns:pidf:rpid:rpid-tuple" xmlns:ep="urn:ietf:params:xml:ns:pidf:rpid:rpid-person" xmlns:es="urn:ietf:params:xml:ns:pidf:rpid:status:rpid-status" xmlns:ci="urn:ietf:params:xml:ns:pidf:cipid" xmlns:sc="urn:ietf:params:xml:ns:pidf:servcaps" xmlns:im="urn:ietf:params:xml:ns:pidf:im" xmlns:cisco="urn:cisco:params:xml:ns:pidf:source"> <ep:person> <status> <basic>open</basic> <activities></activities> </status> </ep:person> <tuple id="cisco-upc"><contact priority="1"></contact> <note xml:lang="en"></note> <sc:servcaps> <sc:audio>false</sc:audio> <sc:video>false</sc:video> <sc:text>true</sc:text> </sc:servcaps> <user-input>active</user-input> <status> <basic>open</basic> </status></tuple> <tuple id="email"> <status><basic>open</basic></status> <contact priority="1">mailto:[EMAIL PROTECTED]</contact></tuple> <tuple id="phone"><status><basic>open</basic></status> <contact priority="3">phone:</contact></tuple></presence> ----------------------------------------------- 2006-09-06 18:25:52 TCP message received [258] bytes : SIP/2.0 100 Trying Via: SIP/2.0/TCP 67.1.100.51:5060;received=67.1.100.51 Call-ID: [EMAIL PROTECTED] From: "Unified Client User" <sip:[EMAIL PROTECTED]>;tag=2 To: <sip:[EMAIL PROTECTED]> Content-Type: application/pidf+xml CSeq: 1 PUBLISH Content-Length: 0 ----------------------------------------------- 2006-09-06 18:25:52 TCP message received [269] bytes : SIP/2.0 200 OK Via: SIP/2.0/TCP 67.1.100.51:5060;received=67.1.100.51 CSeq: 1 PUBLISH Call-ID: [EMAIL PROTECTED] From: "Unified Client User" <sip:[EMAIL PROTECTED]>;tag=2 To: <sip:[EMAIL PROTECTED]>;tag=a7ca60b2 Content-Length: 0 SIP-ETag: a7c96d06 Expires: 86400 ----------------------------------------------- 2006-09-06 18:25:52 TCP message received [2833] bytes : NOTIFY sip:[EMAIL PROTECTED];transport=tcp SIP/2.0 Via: SIP/2.0/TCP 67.1.100.93:5060;branch=3d98cb37-8d7b4180-c6cfbaf3-eb1688e6-1 Record-Route: <sip:[EMAIL PROTECTED]:5060;maddr=67.1.100.93> From: <sip:[EMAIL PROTECTED]>;tag=7e252170 To: "Unified Client User" <sip:[EMAIL PROTECTED]>;tag=1 CSeq: 1073741828 NOTIFY Call-ID: [EMAIL PROTECTED] Event: presence Contact: <sip:67.1.100.93:5070;transport=tcp> Content-Length: 2057 Content-Type: multipart/related;type="application/rlmi+xml";start="<[EMAIL PROTECTED]>";boundary="a7ca243a-1dd1-11b2-a" Require: eventlist Subscription-State: active;expires=86330 Via: SIP/2.0/TCP 67.1.100.93:5070;received=67.1.100.93;branch=z9hG4bKa7ca4f14-1dd1-11b2-a7fb-ea61d962d2a5 Max-Forwards: 68 --a7ca243a-1dd1-11b2-a Content-Transfer-Encoding: binary Content-ID: <[EMAIL PROTECTED]> Content-Type: application/rlmi+xml;charset="UTF-8" <?xml version="1.0" encoding="UTF-8"?> <list xmlns="urn:ietf:params:xml:ns:rlmi" uri="sip:[EMAIL PROTECTED]" version="4" fullState="false"> <resource uri="sip:[EMAIL PROTECTED]"> <instance cid="[EMAIL PROTECTED]" id="1" state="active"/> </resource> </list> --a7ca243a-1dd1-11b2-a Content-Transfer-Encoding: binary Content-ID: <[EMAIL PROTECTED]> Content-Type: application/pidf+xml <?xml version="1.0" encoding="UTF-8"?> <presence entity="sip:[EMAIL PROTECTED]" > <dm:person xmlns:dm="urn:ietf:params:xml:ns:pidf:data-model" id="sep2"> <activities xmlns="urn:ietf:params:xml:ns:pidf:rpid"> <available xmlns="urn:cisco:params:xml:ns:pidf:rpid"/> </activities> </dm:person> <tuple xmlns="urn:ietf:params:xml:ns:pidf" id="cmp-6722-85"> <status> <basic>open</basic> </status> <sc:servcaps xmlns:sc="urn:ietf:params:xml:ns:pidf:servcaps"> <sc:audio>true</sc:audio> </sc:servcaps> <contact priority="0.8">sip:[EMAIL PROTECTED]:5060</contact> <timestamp>2006-09-06T22:24:42Z</timestamp> </tuple> <tuple xmlns="urn:ietf:params:xml:ns:pidf" id="cisco-upc"> <contact priority="1"/> <note xml:lang="en"/> <sc:servcaps xmlns:sc="urn:ietf:params:xml:ns:pidf:servcaps"> <sc:audio>false</sc:audio> <sc:video>false</sc:video> <sc:text>true</sc:text> </sc:servcaps> <user-input>active</user-input> <status> <basic>open</basic> </status> </tuple> <tuple xmlns="urn:ietf:params:xml:ns:pidf" id="email"> <status> <basic>open</basic> </status> <contact priority="1">mailto:[EMAIL PROTECTED]</contact> </tuple> <tuple xmlns="urn:ietf:params:xml:ns:pidf" id="phone"> <status> <basic>open</basic> </status> <contact priority="3">phone:</contact> </tuple> </presence> --a7ca243a-1dd1-11b2-a--
uc-8-publish.dat
Description: Binary data
uc-8-publish.xml
Description: Binary data
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Sipp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sipp-users
