[Serusers] cpled authentication problem

Richard mypop3mail at yahoo.com
Fri May 14 19:49:11 CEST 2004


Hi Bogdan,

It still has the same problem. SER answers back with
"bad request".

U 41.222.152.128:33818 -> 41.222.152.128:5060
REGISTER sip:example.org SIP/2.0.
Via: SIP/2.0/UDP 41.222.152.128:8700.
From: sip:888 at example.org.
To: sip:888 at example.org.
Call-ID:
14tg4341-1084556158421-330329-2955420 at 41.222.152.128.
CSeq: 2 REGISTER.
Authorization: Digest username="888",
realm="example.org", uri="sip:example.org",
algorithm=MD5,
nonce="40a504aa6954e9a0b09325c2099b4907e94aac4e",
qop="auth", cnonce="fc8495a60d285974cf829d",
response="84963a6917195ff2a6cae23bfd9cd564".
Contact: sip:41.222.152.128:8700.
Content-Type: application/cpl+xml.
Content-Disposition: script;action=store.
Content-Length: 1044.

--- Bogdan-Andrei IANCU <iancu at fokus.fraunhofer.de>
wrote:
> Hi Richard,
> 
> here is a patch that should solve the problem.
> please let my know if I'm 
> right :-)
> about stability, I would say yes (I no people who
> are using cpl-c at 
> large scale).
> 
> Bogdan
> 
> Richard wrote:
> 
> >Hi,
> >
> >I tried to use SIP register method to upload cpl
> >script. However I got a result "bad request". The
> >algorithm used in cpled is set as null. I thought
> >normally that it should be md5. The ser's debug
> >message says "Credentials received are not filled
> >properly".
> >
> >Can someone help me please?
> >
> >Thanks,
> >Richard
> >
> >P.S. Has anyone used cpl extensively? Is it
> reasonably
> >stable?
> >
> >
> >  
> >
> 
> > Index: network/TransportCPLWithSIP.java
>
===================================================================
> RCS file:
>
/usr/local/cvsroot/CPLEd/network/TransportCPLWithSIP.java,v
> retrieving revision 1.7
> diff -u -r1.7 TransportCPLWithSIP.java
> --- network/TransportCPLWithSIP.java	19 Sep 2003
> 08:23:07 -0000	1.7
> +++ network/TransportCPLWithSIP.java	14 May 2004
> 10:50:34 -0000
> @@ -491,6 +491,8 @@
>  			throw new Exception(str_err+"\"realm\" parameter
> not found");
>  		if (vals[1]==null)
>  			throw new Exception(str_err+"\"nonce\" parameter
> not found");
> +		if (vals[3]==null)
> +			vals[3]="MD5";
>  
>  		/* comput the authentication */
>  		DigestAuth da;
> 



	
		
__________________________________
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/




More information about the sr-users mailing list