|
From: Jeanne C. <c.j...@as...> - 2010-07-29 14:31:24
|
Your message is slightly different from mine:
<send>
<![CDATA[
SUBSCRIBE sip:[field5]@[field3] SIP/2.0
Accept: application/watcherinfo+xml
Call-ID: pres///[call_id]
CSeq: [cseq] SUBSCRIBE
Expires: 1800
From: "[field0]" <sip:[field1]@[field3]>;tag=[call_number]
To: "[field4]" <sip:[field5]@[field3]>
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
Content-Length: 0
Contact: sip:[field1]@[local_ip]:[local_port]
Max-Forwards: 70
Route: [$1]
User-Agent: Sipp v1.1-TLS, version 20061124
Allow: INVITE,ACK,CANCEL,OPTIONS,BYE,REFER,NOTIFY,MESSAGE,SUBSCRIBE,INFO
Supported: timer
Event: presence
]]>
</send>
This work for me.
It looks that your SUBSCRIBE is not followed by a correct sipURI and Authorization field is not required anymore.
Clément JEANNE.
Stagiaire R&D.
Astellia
Tel.: +33 (0)2 99 04 80 60
Visit our web site: www.astellia.com<file:///C:\Documents%20and%20Settings\c.jeanne\Application%20Data\Microsoft\Signatures\www.astellia.com>
________________________________
De : Shemida Nivedha [mailto:she...@gm...]
Envoyé : jeudi 29 juillet 2010 13:59
À : sip...@li...
Objet : [Sipp-users] SUBSCRIBE/NOTIFY using SIPp and OpenIMS
Hi All,
When i run the SIPp script which issues SUBSCRIBE request preceeded by REGISTER I get the below error.
I am attaching the xml file and the message logs for your reference.
2010-07-29 17:22:23:200 1280404343.200643: Aborting call on unexpected message for Call-Id '1-10771@192.168.0.45'<mailto:'1-10771@192.168.0.45'>: while expecting '200' (index 5), received 'SIP/2.0 404 Not Found - User not registered on this S-CSCF
Via: SIP/2.0/UDP 192.168.0.45:3061;rport=3061;branch=z9hG4bK-10771-1-4
From: "bob" <sip:bo...@op...>;tag=1
To: "bob" <sip:bo...@op...>;tag=09fdb31e834600fc7bd801d38a71054b-6fe2
Call-ID: reg///1-10771@192.168.0.45<mailto:reg///1-10771@192.168.0.45>
CSeq: 1 SUBSCRIBE
Server: Sip EXpress router (2.1.0-dev1 OpenIMSCore (i386/linux))
Content-Length: 0
Warning: 392 192.168.0.45:6060<http://192.168.0.45:6060/> "Noisy feedback tells: pid=2557 req_src_ip=192.168.0.45 req_src_port=4060 in_uri=sip:open-ims.test out_uri=sip:open-ims.test via_cnt==2"
'.
<subscribe-bob.xml>
==============================================================================
<?xml version="1.0" encoding="iso-8859-1" ?>
<!DOCTYPE scenario SYSTEM "sipp.dtd">
<scenario name="Device Initial IMS Registration">
<send retrans="500">
<![CDATA[
REGISTER sip:open-ims.test SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
Max-Forwards: 20
From: "bob" <sip:bo...@op...>;tag=[call_number]
To: "bob" <sip:bo...@op...>
P-Access-Network-Info: 3GPP-UTRAN-TDD;utran-cell-id-3gpp=C359A3913B20E
Call-ID: reg///[call_id]
CSeq: 1 REGISTER
Contact: <sip:bob@[local_ip]:[local_port]>
Expires: 300
Content-Length: 0
User-Agent: Sipp v1.1-TLS, version 20061124
Authorization: Digest username="bo...@op...<mailto:bo...@op...>", realm="open-ims.test"
Supported: path
]]>
</send>
<recv response="401" auth="true" rtd="true">
<action>
<log message="From is [last_From]"/>
<ereg regexp=".*" search_in="hdr" header="Service-Route" assign_to="1" />
<log message="From is [last_From]. Service-Route is [$1]"/>
</action>
</recv>
<send retrans="500">
<![CDATA[
REGISTER sip:open-ims.test SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
Route: [$1]
Max-Forwards: 20
From: "bob" <sip:bo...@op...>;tag=[call_number]
To: "bob" <sip:bo...@op...>
P-Access-Network-Info: 3GPP-UTRAN-TDD;utran-cell-id-3gpp=C359A3913B20E
Call-ID: reg///[call_id]
CSeq: 2 REGISTER
Contact: <sip:bob@[local_ip]:[local_port]>
Expires: 300
Content-Length: 0
User-Agent: Sipp v1.1-TLS, version 20061124
[authentication use...@op...<mailto:use...@op...> password=bob]
Supported: path
]]>
</send>
<recv response="200">
</recv>
<send retrans="500">
<![CDATA[
SUBSCRIBE sip:open-ims.test SIP/2.0
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
Max-Forwards: 20
Route: [$1]
From: "bob" <sip:bo...@op...>;tag=[call_number]
To: "bob" <sip:bo...@op...>
P-Access-Network-Info: 3GPP-UTRAN-TDD;utran-cell-id-3gpp=C359A3913B20E
Call-ID: reg///[call_id]
CSeq: 1 SUBSCRIBE
Contact: <sip:bob@[local_ip]:[local_port]>
Event: reg
Expires: 600000
Content-Length: 0
User-Agent: Sipp v1.1-TLS, version 20061124
Authorization: Digest username="bo...@op...<mailto:bo...@op...>", realm="open-ims.test"
Supported: path
]]>
</send>
<recv response="200">
</recv>
<ResponseTimeRepartition value="10, 20"/>
<CallLengthRepartition value="10"/>
</scenario>
Message-logs
=======================================================================================
----------------------------------------------- 2010-07-29 17:22:23:160.522
UDP message sent (530 bytes):
REGISTER sip:open-ims.test SIP/2.0^M
Via: SIP/2.0/UDP 192.168.0.45:3061;branch=z9hG4bK-10771-1-0^M
Max-Forwards: 20^M
From: "bob" <sip:bo...@op...>;tag=1^M
To: "bob" <sip:bo...@op...>^M
P-Access-Network-Info: 3GPP-UTRAN-TDD;utran-cell-id-3gpp=C359A3913B20E^M
Call-ID: reg///1-10771@192.168.0.45^M<mailto:reg///1-10771@192.168.0.45%5EM>
CSeq: 1 REGISTER^M
Contact: <sip:bob@192.168.0.45:3061<http://sip:bob@192.168.0.45:3061>>^M
Expires: 300^M
Content-Length: 0^M
User-Agent: Sipp v1.1-TLS, version 20061124^M
Authorization: Digest username="bo...@op...<mailto:bo...@op...>", realm="open-ims.test"^M
Supported: path^M
^M
----------------------------------------------- 2010-07-29 17:22:23:175.206
UDP message received [910] bytes :
SIP/2.0 401 Unauthorized - Challenging the UE^M
Via: SIP/2.0/UDP 192.168.0.45:3061;rport=3061;branch=z9hG4bK-10771-1-0^M
From: "bob" <sip:bo...@op...>;tag=1^M
To: "bob" <sip:bo...@op...>;tag=09fdb31e834600fc7bd801d38a71054b-c4d6^M
Call-ID: reg///1-10771@192.168.0.45^M<mailto:reg///1-10771@192.168.0.45%5EM>
CSeq: 1 REGISTER^M
Path: <sip:te...@pc...:4060;lr>^M
Service-Route: <sip:or...@sc...:6060;lr>^M
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, INFO^M
Server: Sip EXpress router (2.1.0-dev1 OpenIMSCore (i386/linux))^M
Content-Length: 0^M
Warning: 392 192.168.0.45:6060<http://192.168.0.45:6060/> "Noisy feedback tells: pid=2559 req_src_ip=192.168.0.45 req_src_port=5060 in_uri=sip:scscf.open-ims.test:6060 out_uri=sip:scscf.open-ims.test:6060 via_cnt==3"^M
WWW-Authenticate: Digest realm="open-ims.test", nonce="GkNnHZbY46vZFwuwnLBYycBAAkPwrAAAPwtUKjLu0sg=", algorithm=AKAv1-MD5, qop="auth,auth-int"^M
^M
----------------------------------------------- 2010-07-29 17:22:23:175.648
UDP message sent (762 bytes):
REGISTER sip:open-ims.test SIP/2.0^M
Via: SIP/2.0/UDP 192.168.0.45:3061;branch=z9hG4bK-10771-1-2^M
Route: : <sip:or...@sc...:6060;lr>^M
Max-Forwards: 20^M
From: "bob" <sip:bo...@op...>;tag=1^M
To: "bob" <sip:bo...@op...>^M
P-Access-Network-Info: 3GPP-UTRAN-TDD;utran-cell-id-3gpp=C359A3913B20E^M
Call-ID: reg///1-10771@192.168.0.45^M<mailto:reg///1-10771@192.168.0.45%5EM>
CSeq: 2 REGISTER^M
Contact: <sip:bob@192.168.0.45:3061<http://sip:bob@192.168.0.45:3061>>^M
Expires: 300^M
Content-Length: 0^M
User-Agent: Sipp v1.1-TLS, version 20061124^M
Authorization: Digest username="bo...@op...",realm="open-ims.test",cnonce="6b8b4567",nc=00000001,qop=auth,uri="sip:192.168.0.45:4060",nonce="GkNnHZbY46vZFwuwnLBYycBAAkPwrAAAPwtUKjLu0sg=",response="df455af952f3180e43c73def43266859",algorithm=AKAv1-MD5^M<mailto:bo...@op...%22,realm=%22open-ims.test%22,cnonce=%226b8b4567%22,nc=00000001,qop=auth,uri=%22sip:192.168.0.45:4060%22,nonce=%22GkNnHZbY46vZFwuwnLBYycBAAkPwrAAAPwtUKjLu0sg=%22,response=%22df455af952f3180e43c73def43266859%22,algorithm=AKAv1-MD5%5EM>
Supported: path^M
^M
----------------------------------------------- 2010-07-29 17:22:23:199.757
UDP message received [916] bytes :
SIP/2.0 200 OK - SAR succesful and registrar saved^M
Via: SIP/2.0/UDP 192.168.0.45:3061;rport=3061;branch=z9hG4bK-10771-1-2^M
From: "bob" <sip:bo...@op...>;tag=1^M
To: "bob" <sip:bo...@op...>;tag=09fdb31e834600fc7bd801d38a71054b-8381^M
Call-ID: reg///1-10771@192.168.0.45^M<mailto:reg///1-10771@192.168.0.45%5EM>
CSeq: 2 REGISTER^M
P-Associated-URI: <sip:bo...@op...>^M
Contact: <sip:bob@192.168.0.45:3061<http://sip:bob@192.168.0.45:3061>>;expires=300^M
Path: <sip:te...@pc...:4060;lr>^M
Service-Route: <sip:or...@sc...:6060;lr>^M
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, INFO^M
P-Charging-Function-Addresses: ccf=pri_ccf_address^M
Server: Sip EXpress router (2.1.0-dev1 OpenIMSCore (i386/linux))^M
Content-Length: 0^M
Warning: 392 192.168.0.45:6060<http://192.168.0.45:6060/> "Noisy feedback tells: pid=2560 req_src_ip=192.168.0.45 req_src_port=5060 in_uri=sip:scscf.open-ims.test:6060 out_uri=sip:scscf.open-ims.test:6060 via_cnt==3"^M
^M
----------------------------------------------- 2010-07-29 17:22:23:199.907
UDP message sent (596 bytes):
SUBSCRIBE sip:open-ims.test SIP/2.0^M
Via: SIP/2.0/UDP 192.168.0.45:3061;branch=z9hG4bK-10771-1-4^M
Max-Forwards: 20^M
Route: : <sip:or...@sc...:6060;lr>^M
From: "bob" <sip:bo...@op...>;tag=1^M
To: "bob" <sip:bo...@op...>^M
P-Access-Network-Info: 3GPP-UTRAN-TDD;utran-cell-id-3gpp=C359A3913B20E^M
Call-ID: reg///1-10771@192.168.0.45^M<mailto:reg///1-10771@192.168.0.45%5EM>
CSeq: 1 SUBSCRIBE^M
Contact: <sip:bob@192.168.0.45:3061<http://sip:bob@192.168.0.45:3061>>^M
Event: reg^M
Expires: 600000^M
Content-Length: 0^M
User-Agent: Sipp v1.1-TLS, version 20061124^M
Authorization: Digest username="bo...@op...<mailto:bo...@op...>", realm="open-ims.test"^M
Supported: path^M
^M
----------------------------------------------- 2010-07-29 17:22:23:200.571
UDP message received [565] bytes :
SIP/2.0 404 Not Found - User not registered on this S-CSCF^M
Via: SIP/2.0/UDP 192.168.0.45:3061;rport=3061;branch=z9hG4bK-10771-1-4^M
From: "bob" <sip:bo...@op...>;tag=1^M
To: "bob" <sip:bo...@op...>;tag=09fdb31e834600fc7bd801d38a71054b-6fe2^M
Call-ID: reg///1-10771@192.168.0.45^M<mailto:reg///1-10771@192.168.0.45%5EM>
CSeq: 1 SUBSCRIBE^M
Server: Sip EXpress router (2.1.0-dev1 OpenIMSCore (i386/linux))^M
Content-Length: 0^M
Warning: 392 192.168.0.45:6060<http://192.168.0.45:6060/> "Noisy feedback tells: pid=2557 req_src_ip=192.168.0.45 req_src_port=4060 in_uri=sip:open-ims.test out_uri=sip:open-ims.test via_cnt==2"^M
^M
-----------------------------------------------
Unexpected UDP message received:
SIP/2.0 404 Not Found - User not registered on this S-CSCF^M
Via: SIP/2.0/UDP 192.168.0.45:3061;rport=3061;branch=z9hG4bK-10771-1-4^M
From: "bob" <sip:bo...@op...>;tag=1^M
To: "bob" <sip:bo...@op...>;tag=09fdb31e834600fc7bd801d38a71054b-6fe2^M
Call-ID: reg///1-10771@192.168.0.45^M<mailto:reg///1-10771@192.168.0.45%5EM>
CSeq: 1 SUBSCRIBE^M
Server: Sip EXpress router (2.1.0-dev1 OpenIMSCore (i386/linux))^M
Content-Length: 0^M
Warning: 392 192.168.0.45:6060<http://192.168.0.45:6060/> "Noisy feedback tells: pid=2557 req_src_ip=192.168.0.45 req_src_port=4060 in_uri=sip:open-ims.test out_uri=sip:open-ims.test via_cnt==2"^M
^M
----------------------------------------------- 2010-07-29 17:22:23:200.847
UDP message sent (353 bytes):
BYE sip:bo...@op... SIP/2.0^M
Via: SIP/2.0/UDP 192.168.0.45:3061;branch=z9hG4bK-10771-1--1^M
From: "bob" <sip:bo...@op...>;tag=1^M
To: "bob" <sip:bo...@op...>;tag=09fdb31e834600fc7bd801d38a71054b-6fe2^M
Call-ID: 1-10771@192.168.0.45^M<mailto:1-10771@192.168.0.45%5EM>
CSeq: 2 BYE^M
Max-Forwards: 70^M
Contact: <sip:sipp@192.168.0.45:3061;transport=UDP>^M
Content-Length: 0^M
Please let me know what change can resolve this issue.
Thanks in advance,
Shemida
________________________________
Astellia celebrates its 10th anniversary in 2010
10 years of innovation and client proximity
________________________________
Ce message et tout document joint sont confidentiels et à l'intention exclusive des destinataires.
S'ils vous ont été adressés par erreur, merci d'en informer immédiatement l'expéditeur et de les détruire.
Toute copie, diffusion ou utilisation non autorisée est interdite. Tout message électronique est susceptible d'altération : Astellia décline toute responsabilité si le message ou les documents joints ont subi une quelconque modification.
This message and any attachment are confidential and intended solely to its addressees.
If you are not the intended recipient please cancel it and inform immediately the sender.
Any unauthorised copy or dissemination is prohibited. Electronic messages may be altered: Astellia shall not be liable for those circumstances.
|