|
Hello I try to run following scenario through presence
server. I use csv file to fill C_SEQ and BRANCH the related
xml file added to mail.
Messages Retrans Timeout Unexpected-Msg REGISTER ---------->
15
0 0 200
<----------
15
0
0 OPTIONS
---------->
15 0
0 200
<----------
15
0
0 SUBSCRIBE
----------> 15
0 0 200
<----------
14
0
0 NOTIFY
<----------
14
0
0 200
---------->
14 0 Pause [
50ms]
14
0 ---------------------------- Test Terminated
-------------------------------- The problem is:
after 15. Subscribe send it couldn’t receive 200 OK because of parsing
error but The 14. subscribe msg answered and no problem exist. At etherial log of the client side the 15.
subscribe msg is seen as follows: extra
\r\n characters are inserted. But it isn’t exist other 13. 14. Subscribe
messages. Could you help us what is the problem. Thanks ®ards şükran =========================================================================== Frame 192 (547 bytes on wire, 547 bytes captured) Ethernet II, Src: 192.168.0.60 (00:0e:a6:b9:17:c9), Dst:
192.168.0.253 (00:0f:ea:0c:e4:60) Internet Protocol, Src: 192.168.0.60 (192.168.0.60), Dst:
192.168.1.10 (192.168.1.10) User Datagram Protocol, Src Port: 5060 (5060), Dst Port:
5065 (5065) Session Initiation Protocol Request-Line: SUBSCRIBE
sip:[EMAIL PROTECTED] SIP/2.0 Message Header Via: SIP/2.0/UDP
192.168.0.60:5060;rport;branch=z9hG4bK3821448843 Message body From:
<sip:[EMAIL PROTECTED]>;tag=15\r\n To:
<sip:[EMAIL PROTECTED]>\r\n Call-ID:
[EMAIL PROTECTED] CSeq: 34
SUBSCRIBE\r\n Contact:
<sip:[EMAIL PROTECTED]:5060>\r\n Max-Forwards:
70\r\n Event:
presence.winfo\r\n User-Agent:
Argela\r\n Expires: 600\r\n Accept:
application/watcherinfo+xml\r\n Allow: INVITE,
ACK, CANCEL, BYE, OPTIONS, REFER, SUBSCRIBE, NOTIFY, MESSAGE\r\n Accept:
application/pidf+xml\r\n Content-Length:
0\r\n \r\n The scenario successfully run withot SUBSCRIBE message.:
Messages Retrans Timeout Unexpected-Msg REGISTER
---------->
1000 11
0 200
<----------
1000
9
0 OPTIONS
---------->
1000 40
0 200
<----------
1000
0
0 ---------------------------- Test Terminated
-------------------------------- Xml file used : ================ <?xml version="1.0"
encoding="ISO-8859-1" ?> <!DOCTYPE scenario SYSTEM
"sipp.dtd"> <!-- This program is free software; you
can redistribute it and/or --> <!-- modify it under the terms of the
GNU General Public License as --> <!-- published by the Free Software
Foundation; either version 2 of the --> <!-- License, or (at your option) any
later version. --> <!-- --> <!-- This program is distributed in the
hope that it will be useful, --> <!-- but WITHOUT ANY WARRANTY; without
even the implied warranty of --> <!-- MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the --> <!-- GNU General Public License for
more details. --> <!-- --> <!-- You should have received a copy of
the GNU General Public License --> <!-- along with this program; if not,
write to the --> <!-- Free Software Foundation, Inc.,
--> <!-- 59 Temple Place, Suite 330,
Boston, MA 02111-1307 USA --> <!-- --> <!-- Sipp default 'uac' scenario.
--> <!-- --> <scenario
name="presence_test"> <send retrans="1000"> <![CDATA[ REGISTER sip:argela.com.tr:5065
SIP/2.0 Via: SIP/2.0/UDP
192.168.0.60:5060;rport From:
<sip:[EMAIL PROTECTED]>;tag=[call_number] To: <sip:[EMAIL PROTECTED]> Call-ID: [call_id] CSeq: [field0] REGISTER Contact:
<sip:[EMAIL PROTECTED]:5060> Max-Forwards: 70 User-Agent: Argela Expires: 86400 Content-Length: 0 ]]> </send> <recv response="200"> </recv> <send retrans="1000"> <![CDATA[ OPTIONS sip:[EMAIL PROTECTED] SIP/2.0 Via: SIP/2.0/UDP
192.168.0.60:5060;rport;branch=z9hG4bK3821449999 Route: <sip:192.168.1.10:5065;lr> From:
<sip:[EMAIL PROTECTED]>;tag=[call_number] To: <sip:[EMAIL PROTECTED]> Call-ID: [call_id] CSeq: 20 OPTIONS Max-Forwards: 70 User-Agent: Argela Expires: 120 Accept: application/sdp Content-Length: 0 ]]> </send> <recv response="200"> </recv> <send retrans="1000"> <![CDATA[ SUBSCRIBE sip:[EMAIL PROTECTED]
SIP/2.0 Via: SIP/2.0/UDP
192.168.0.60:5060;rport;branch=[field1] From:
<sip:[EMAIL PROTECTED]>;tag=[call_number] To: <sip:[EMAIL PROTECTED]> Call-ID: [call_id] CSeq: [field0] SUBSCRIBE Contact: <sip:[EMAIL PROTECTED]:5060> Max-Forwards: 70 Event: presence.winfo User-Agent: SuperOnline WebTel Expires: 600 Accept:
application/watcherinfo+xml Allow: INVITE, ACK, CANCEL, BYE,
OPTIONS, REFER, SUBSCRIBE, NOTIFY, MESSAGE Accept: application/pidf+xml Content-Length: 0 ]]> </send> <recv response="200"> </recv> <recv request ="NOTIFY"
crlf="true" rrs="true"> <action> <!-- Save the request URI in
[$1] --> <ereg regexp="NOTIFY
(sip:[^ ]*)" search_in="msg" check_it="true"
assign_to="19,1"/> <!-- Save the From header value
in [$2] --> <ereg regexp=".*" search_in="hdr" header="From:" check_it="true" assign_to="2"/> <!-- Save the To header value
(sans tag) in [$3] --> <ereg regexp=".*" search_in="hdr" header="To:" check_it="true" assign_to="3"/> </action> </recv> <send> <![CDATA[ SIP/2.0 200 OK [last_Via:] From: [$2] To: [$3];tag=[call_number] [last_Call-ID:] [last_CSeq:] [last_Event:] [last_Expires:] Contact:
<sip:[local_ip]:[local_port];transport=[transport]> Content-Length: [len] ]]> </send> <pause
milliseconds="50"/> scenario> |
------------------------------------------------------------------------- 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
