Hi Jeanne,

Thanks for the reply.I modified the SUBSCRIBE as per your suggestion bStill
I face the issue. Please provide me the format for SUBSCRIBE which would be
useful for me to proceed with.


<?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: "maruthu" <sip:maru...@open-ims.test>;tag=[call_number]

To: "maruthu" <sip:maru...@open-ims.test>

P-Access-Network-Info: 3GPP-UTRAN-TDD;utran-cell-id-3gpp=C359A3913B20E

Call-ID: reg///[call_id]

CSeq: 1 REGISTER

Contact: <sip:maru...@[local_ip]:[local_port]>

Expires: 300

Content-Length: 0

User-Agent: Sipp v1.1-TLS, version 20061124

Authorization: Digest username="maru...@open-ims.test",
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: "maruthu" <sip:maru...@open-ims.test>;tag=[call_number]

To: "maruthu" <sip:maru...@open-ims.test>

P-Access-Network-Info: 3GPP-UTRAN-TDD;utran-cell-id-3gpp=C359A3913B20E

Call-ID: reg///[call_id]

CSeq: 2 REGISTER

Contact: <sip:maru...@[local_ip]:[local_port]>

Expires: 300

Content-Length: 0

User-Agent: Sipp v1.1-TLS, version 20061124

[authentication username=maru...@open-ims.test password=maruthu]

Supported: path

]]>

</send>

<recv response="200">

</recv>

<pause milliseconds="15000" crlf="true"/>

<send retrans="500">

<![CDATA[

SUBSCRIBE sip:maru...@192.168.0.45:3061 SIP/2.0

Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]

Max-Forwards: 20

Route: [$1]

From: "maruthu" <sip:maru...@open-ims.test>;tag=[call_number]

To: "maruthu" <sip:maru...@open-ims.test>

P-Access-Network-Info: 3GPP-UTRAN-TDD;utran-cell-id-3gpp=C359A3913B20E

Call-ID: [call_id]

CSeq: 10 SUBSCRIBE

Contact: <sip:maru...@[local_ip]:[local_port]>

Event: reg

Expires: 600000

Content-Length: 0

User-Agent: Sipp v1.1-TLS, version 20061124

Supported: path

]]>

</send>

<recv response="200">

</recv>

<ResponseTimeRepartition value="10, 20"/>

<CallLengthRepartition value="10"/>

</scenario>

Thanks,
Shemida

2010/7/29 Jeanne Clément <c.jea...@astellia.com>

>  Your message is slightly different from mine:
>
>
>
>             <send>
>
>             <![CDATA[
>
>                         SUBSCRIBE sip:[fiel...@[field3] SIP/2.0
>
>                         Accept: application/watcherinfo+xml
>
>                         Call-ID: pres///[call_id]
>
>                         CSeq: [cseq] SUBSCRIBE
>
>                         Expires: 1800
>
>                         From: "[field0]"
> <sip:[fiel...@[field3]>;tag=[call_number]
>
>                         To: "[field4]" <sip:[fiel...@[field3]>
>
>                         Via: SIP/2.0/[transport]
> [local_ip]:[local_port];branch=[branch]
>
>                         Content-Length: 0
>
>                         Contact: sip:[fiel...@[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*
>  ------------------------------
>
> *De :* Shemida Nivedha [mailto:shemida.art...@gmail.com]
> *Envoyé :* jeudi 29 juillet 2010 13:59
> *À :* sipp-users@lists.sourceforge.net
> *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-10...@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:b...@open-ims.test>;tag=1
> To: "bob" <sip:b...@open-ims.test
> >;tag=09fdb31e834600fc7bd801d38a71054b-6fe2
> Call-ID: reg///1-10...@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 "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:b...@open-ims.test>;tag=[call_number]
> To: "bob" <sip:b...@open-ims.test>
> P-Access-Network-Info: 3GPP-UTRAN-TDD;utran-cell-id-3gpp=C359A3913B20E
> Call-ID: reg///[call_id]
> CSeq: 1 REGISTER
> Contact: <sip:b...@[local_ip]:[local_port]>
> Expires: 300
> Content-Length: 0
> User-Agent: Sipp v1.1-TLS, version 20061124
> Authorization: Digest username="b...@open-ims.test", 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:b...@open-ims.test>;tag=[call_number]
> To: "bob" <sip:b...@open-ims.test>
> P-Access-Network-Info: 3GPP-UTRAN-TDD;utran-cell-id-3gpp=C359A3913B20E
> Call-ID: reg///[call_id]
> CSeq: 2 REGISTER
> Contact: <sip:b...@[local_ip]:[local_port]>
> Expires: 300
> Content-Length: 0
> User-Agent: Sipp v1.1-TLS, version 20061124
> [authentication username=...@open-ims.test 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:b...@open-ims.test>;tag=[call_number]
> To: "bob" <sip:b...@open-ims.test>
> P-Access-Network-Info: 3GPP-UTRAN-TDD;utran-cell-id-3gpp=C359A3913B20E
> Call-ID: reg///[call_id]
> CSeq: 1 SUBSCRIBE
> Contact: <sip:b...@[local_ip]:[local_port]>
> Event: reg
> Expires: 600000
> Content-Length: 0
> User-Agent: Sipp v1.1-TLS, version 20061124
> Authorization: Digest username="b...@open-ims.test", 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:b...@open-ims.test>;tag=1^M
> To: "bob" <sip:b...@open-ims.test>^M
> P-Access-Network-Info: 3GPP-UTRAN-TDD;utran-cell-id-3gpp=C359A3913B20E^M
> Call-ID: reg///1-10...@192.168.0.45^m <reg///1-10...@192.168.0.45%5em>
> CSeq: 1 REGISTER^M
> Contact: <sip:b...@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="b...@open-ims.test",
> 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:b...@open-ims.test>;tag=1^M
> To: "bob" <sip:b...@open-ims.test
> >;tag=09fdb31e834600fc7bd801d38a71054b-c4d6^M
> Call-ID: reg///1-10...@192.168.0.45^m <reg///1-10...@192.168.0.45%5em>
> CSeq: 1 REGISTER^M
> Path: <sip:t...@pcscf.open-ims.test:4060;lr>^M
> Service-Route: <sip:o...@scscf.open-ims.test: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 "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:o...@scscf.open-ims.test:6060;lr>^M
> Max-Forwards: 20^M
> From: "bob" <sip:b...@open-ims.test>;tag=1^M
> To: "bob" <sip:b...@open-ims.test>^M
> P-Access-Network-Info: 3GPP-UTRAN-TDD;utran-cell-id-3gpp=C359A3913B20E^M
> Call-ID: reg///1-10...@192.168.0.45^m <reg///1-10...@192.168.0.45%5em>
> CSeq: 2 REGISTER^M
> Contact: <sip:b...@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="
> b...@open-ims.test",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<b...@open-ims.test%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:b...@open-ims.test>;tag=1^M
> To: "bob" <sip:b...@open-ims.test
> >;tag=09fdb31e834600fc7bd801d38a71054b-8381^M
> Call-ID: reg///1-10...@192.168.0.45^m <reg///1-10...@192.168.0.45%5em>
> CSeq: 2 REGISTER^M
> P-Associated-URI: <sip:b...@open-ims.test>^M
> Contact: <sip:b...@192.168.0.45:3061>;expires=300^M
> Path: <sip:t...@pcscf.open-ims.test:4060;lr>^M
> Service-Route: <sip:o...@scscf.open-ims.test: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 "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:o...@scscf.open-ims.test:6060;lr>^M
> From: "bob" <sip:b...@open-ims.test>;tag=1^M
> To: "bob" <sip:b...@open-ims.test>^M
> P-Access-Network-Info: 3GPP-UTRAN-TDD;utran-cell-id-3gpp=C359A3913B20E^M
> Call-ID: reg///1-10...@192.168.0.45^m <reg///1-10...@192.168.0.45%5em>
> CSeq: 1 SUBSCRIBE^M
> Contact: <sip:b...@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="b...@open-ims.test",
> 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:b...@open-ims.test>;tag=1^M
> To: "bob" <sip:b...@open-ims.test
> >;tag=09fdb31e834600fc7bd801d38a71054b-6fe2^M
> Call-ID: reg///1-10...@192.168.0.45^m <reg///1-10...@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 "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:b...@open-ims.test>;tag=1^M
> To: "bob" <sip:b...@open-ims.test
> >;tag=09fdb31e834600fc7bd801d38a71054b-6fe2^M
> Call-ID: reg///1-10...@192.168.0.45^m <reg///1-10...@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 "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:b...@open-ims.test SIP/2.0^M
> Via: SIP/2.0/UDP 192.168.0.45:3061;branch=z9hG4bK-10771-1--1^M
> From: "bob" <sip:b...@open-ims.test>;tag=1^M
> To: "bob" <sip:b...@open-ims.test
> >;tag=09fdb31e834600fc7bd801d38a71054b-6fe2^M
> Call-ID: 1-10...@192.168.0.45^m <1-10...@192.168.0.45%5em>
> CSeq: 2 BYE^M
> Max-Forwards: 70^M
> Contact: <sip:s...@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.
>
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to