I see you are sending Route: header (with the value of Service-Route you
received in 401) While you are sending the REGISTER after 401 challenge, DO
NOT any Route header in REGISTER. This one observation

Other observation is uri param in Authorization header has ipaddress
and port. It is supposed to be same as your Request URI

Thanks
Dhana



On Mon, Nov 17, 2008 at 4:57 AM, Matsuoka Noriko <[EMAIL PROTECTED]>wrote:

> Hi, members.
>
> I configured openimscore and I'm trying to authenticate the SIPp to it.
> ( They both have IPv6 address. )
>
> My problem is that REGISTER message is refused by s-cscf because of
> mis-match of the response code.
> I think "uri" statement in Authorization header might be the cause ...
>
> --> uri="sip:2001:150::2a0:b0ff:fe55:ddc3:6060"
>
> because 6060 is port number, so I think it should be like this.
> --> uri="sip:[2001:150::2a0:b0ff:fe55:ddc3]:6060"
>
> why does this happen ?
> Something wrong in SIPp Comand line ??
>
> I attach SIPp message trace and scenario at the bottom.
> If you have any information about this case, please let me know.
>
> Thank you in advance.
> Noriko
>
>
> SIPp command
> ========================
> ./sipp -sf register_alice.xml -p 5060 -i [2001:150::207:40ff:
> fe4f:555c] [2001:150::2a0:b0ff:fe55:ddc3]:6060 -m 1 -trace_err -trace_msg
>
>
> SIPp message trace
> ========================
> ----------------------------------------------- 2008-11-17 16:42:15:312.068
> UDP message sent (638 bytes):
>
> From: "Alice" <sip:[EMAIL PROTECTED]>;tag=1
> To: "Alice" <sip:[EMAIL PROTECTED]>
> P-Access-Network-Info: 3GPP-UTRAN-TDD;utran-cell-id-3gpp=C359A3913B20E
> Call-ID: reg///[EMAIL PROTECTED]:150::207:40ff:fe4f:555c
> CSeq: 1 REGISTER
> Contact: <sip:[EMAIL PROTECTED]:150::207:40ff:fe4f:555c]:5060>
> Expires: 300
> Content-Length: 0
> User-Agent: Sipp v1.1-TLS, version 20061124
> Supported: path
>
> ----------------------------------------------- 2008-11-17 16:42:15:430.278
> UDP message received [934] bytes :
>
> SIP/2.0 401 Unauthorized - Challenging the UE
> To: "Alice"
> <sip:[EMAIL PROTECTED]>;tag=97a9431b3b5d9e6071672b53983c0807-5b67
> Call-ID: reg///[EMAIL PROTECTED]:150::207:40ff:fe4f:555c
> CSeq: 1 REGISTER
> WWW-Authenticate: Digest realm="open-ims.test",
> nonce="da45dd688ce9d5ba420ef6b8e26ee3ed",
> algorithm=MD5, qop="auth,auth-int"
> Service-Route: <sip:[EMAIL PROTECTED]:6060;lr>
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY,
> PUBLISH, MESSAGE, INFO
>
> Server: Sip EXpress router (2.1.0-dev1 OpenIMSCore (i386/linux))
> Content-Length: 0
> Warning: 392 2001:150:0:0:2A0:B0FF:FE55:DDC3:6060 "Noisy feedback tells:
> pid=5012 req_src
> _ip=2001:150:0:0:207:40FF:FE4F:555C req_src_port=5060
> in_uri=sip:open-ims.test out_uri=sip
> :open-ims.test via_cnt==1"
>
>
> ----------------------------------------------- 2008-11-17 16:42:15:430.756
> UDP message sent (816 bytes):
>
> REGISTER sip:open-ims.test SIP/2.0
> Via: SIP/2.0/UDP
> [2001:150::207:40ff:fe4f:555c]:5060;branch=z9hG4bK-19051-1-2
> Route: : <sip:[EMAIL PROTECTED]:6060;lr>
> Max-Forwards: 20
> From: "Alice" <sip:[EMAIL PROTECTED]>;tag=1
> To: "Alice" <sip:[EMAIL PROTECTED]>
> P-Access-Network-Info: 3GPP-UTRAN-TDD;utran-cell-id-3gpp=C359A3913B20E
> Call-ID: reg///[EMAIL PROTECTED]:150::207:40ff:fe4f:555c
> CSeq: 2 REGISTER
> Contact: <sip:[EMAIL PROTECTED]:150::207:40ff:fe4f:555c]:5060>
> Expires: 300
> Content-Length: 0
> User-Agent: Sipp v1.1-TLS, version 20061124
> Authorization: Digest
> username="service",realm="open-ims.test",cnonce="6b8b4567",nc=000000
>
> 01,qop=auth-int,uri="sip:2001:150::2a0:b0ff:fe55:ddc3:6060",nonce="da45dd688ce9d5ba420ef6b
> 8e26ee3ed",response="adfd217166a50eea6a6db6aa8cd1f7bb",algorithm=MD5
> Supported: path
>
>
> SIPp Scenario
> ========================
> <?xml version="1.0" encoding="ISO-8859-1" ?>
> <scenario name="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: "Alice" <sip:[EMAIL PROTECTED]>;tag=[call_number]
> To: "Alice" <sip:[EMAIL PROTECTED]>
> P-Access-Network-Info: 3GPP-UTRAN-TDD;utran-cell-id-3gpp=C359A3913B20E
> Call-ID: reg///[call_id]
> CSeq: 1 REGISTER
> Contact: <sip:[EMAIL PROTECTED]:[local_port]>
> Expires: 300
> Content-Length: 0
> Supported: path
> ]]>
> </send>
>
> <recv response="401" auth="true" rtd="true">
> <action>
> <ereg regexp=".*" search_in="hdr" header="Service-Route" assign_to="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: "Alice" <sip:[EMAIL PROTECTED]>;tag=[call_number]
> To: "Alice" <sip:[EMAIL PROTECTED]>
> P-Access-Network-Info: 3GPP-UTRAN-TDD;utran-cell-id-3gpp=C359A3913B20E
> Call-ID: reg///[call_id]
> CSeq: 2 REGISTER
> Contact: <sip:[EMAIL PROTECTED]:[local_port]>
> Expires: 300
> Content-Length: 0
> User-Agent: Sipp v1.1-TLS, version 20061124
> [authentication [EMAIL PROTECTED] password=alice]
> Supported: path
> ]]>
> </send>
>
> <recv response="200">
> </recv>
>
> <ResponseTimeRepartition value="10, 20"/>
> <CallLengthRepartition value="10"/>
>
> </scenario>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Sipp-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sipp-users
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to