[sip-comm-dev] Re: Problem: Registration in SER with SIP Communicator


#1

Hello Hao

For authentication support download latest sip-communicator version. You'll get an authentication
dialog if and when a server sends a challenge

Cheers
Emil

--- Hao Wu <wu@fokus.fraunhofer.de> a �crit : > Hallo Emil,

···

i still can not register in SER with SIP Communicator.
I receive following console.logEntry() and console.logExit().

It seems, that SIP Communicator sent request "REGISTER" to SER, but
received response "SIP/2.0 401 Unauthorized" instead of "SIP/2.0 200 OK".
I attach also my sip-communicator.properties file.
Your last email (at Sep.1 2003 23:25) shows that SIP Communicator
supports Registration Authentication. Is there normally a Authentication
Window,
in which username and password can be inputed?

Thanks a lot for your helps.
Ciao
Hao

----------------------------------------------------------------------------------------------------------------------

14521 [main] DEBUG sip.RegisterProcessing - sent request= REGISTER
sip:195.37.77.101:5060;transport=udp SIP/2.0

Call-ID: d274637346462f1fe31604cd01740716@195.37.78.191

CSeq: 1 REGISTER

From: "Hao2" <sip:hao2@iptel.org:5060;transport=udp>;tag=12366398

To: "Hao2" <sip:hao2@iptel.org:5060;transport=udp>

Via: SIP/2.0/UDP
195.37.78.191:5060;branch=z9hG4bKe9dd3fbc1fc92b8a00c4bfd4015838f9

Max-Forwards: 70

Expires: 240

Contact: "Hao2" <sip:195.37.78.191:5060;transport=udp>

Content-Length: 0

14521 [main] TRACE sip.RegisterProcessing - [entry] scheduleReRegistration

14551 [main] TRACE sip.RegisterProcessing - [exit] scheduleReRegistration

14551 [main] TRACE sip.RegisterProcessing - [exit] register

14551 [main] TRACE sip.SipManager - [exit] register

14551 [main] TRACE communicator.SipCommunicator - [exit] launch

14551 [main] TRACE communicator.SipCommunicator - [exit] main

15292 [Thread-5] TRACE sip.SipManager - [entry] processResponse

15292 [Thread-5] DEBUG sip.SipManager - received
response=javax.sip.ResponseEvent[source=gov.nist.javax.sip.SipProviderImpl@17cf6b6]

15493 [Thread-5] TRACE sip.SipManager - [entry] fireUnknownMessageReceived

15493 [Thread-5] DEBUG sip.SipManager - unknown message=SIP/2.0 401
Unauthorized

Call-ID: d274637346462f1fe31604cd01740716@195.37.78.191

CSeq: 1 REGISTER

From: "Hao2" <sip:hao2@iptel.org:5060;transport=udp>;tag=12366398

To: "Hao2"
<sip:hao2@iptel.org:5060;transport=udp>;tag=794fe65c16edfdf45da4fc39a5d2867c.345a

Via: SIP/2.0/UDP
195.37.78.191:5060;branch=z9hG4bKe9dd3fbc1fc92b8a00c4bfd4015838f9

WWW-Authenticate: Digest
realm="iptel.org",nonce="3f54aa186f7d04c5a0024e49092a78c25337c1d1"

Server: Sip EXpress router (0.8.11rc6 (i386/null

Content-Length: 0

15543 [Thread-5] TRACE communicator.SipCommunicator - [entry]
receivedUnknownMessage

254556 [Thread-2] TRACE sip.RegisterProcessing - [entry] run

254556 [Thread-2] TRACE sip.RegisterProcessing - [exit] run

> #SipCommunicator Properties

#Media properties
net.java.sip.communicator.media.IP_ADDRESS=195.37.78.191
net.java.sip.communicator.media.AUDIO_PORT=22224

net.java.sip.communicator.media.MEDIA_SOURCE=file:/C:/studium/ss03/Diplomarbeit/impl/nist/communicator/lostinspace.mov

net.java.sip.communicator.media.PREFERRED_AUDIO_ENCODING=
net.java.sip.communicator.media.PREFERRED_VIDEO_ENCODING=
net.java.sip.communicator.media.VIDEO_PORT=22222

#SIP properties
net.java.sip.communicator.sip.STACK_PATH=gov.nist
net.java.sip.communicator.sip.PUBLIC_ADDRESS=sip:hao2@iptel.org
net.java.sip.communicator.sip.DISPLAY_NAME=Hao2
net.java.sip.communicator.sip.TRANSPORT=udp
net.java.sip.communicator.sip.PREFERRED_LOCAL_PORT=5060
net.java.sip.communicator.sip.REGISTRAR_ADDRESS=195.37.77.101
net.java.sip.communicator.sip.REGISTRAR_TRANSPORT=udp
net.java.sip.communicator.sip.REGISTRATIONS_EXPIRATION=240
net.java.sip.communicator.sip.REGISTRAR_PORT=5060

#JAIN SIP defined properties
javax.sip.IP_ADDRESS=195.37.78.191
javax.sip.STACK_NAME=sip-communicator
javax.sip.ROUTER_PATH=net.java.sip.communicator.sip.SipCommRouter
javax.sip.RETRANSMISSON_FILTER=ON
javax.sip.OUTBOUND_PROXY=195.37.77.101:5060/UDP
javax.sip.EXTENSION_METHODS=

#NIST SIP logging properties
gov.nist.javax.sip.TRACE_LEVEL=
gov.nist.javax.sip.SERVER_LOG=log/sip-communicator.stack.log

#log4J

#log4j.logger.net.java.sip.communicator=WARN
#log4j.logger.net.java.sip.communicator.sip=WARN
#log4j.logger.net.java.sip.communicator.media=WARN
#log4j.logger.net.java.sip.communicator.gui=WARN

log4j.rootLogger=net.java.sip.communicator.common.Console.TraceLevel, RFLogger

#log4j.appender.stdout=org.apache.log4j.ConsoleAppender
#log4j.appender.stdout.layout=org.apache.log4j.PatternLayout

# Pattern to output the caller's file name and line number.
#log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n

log4j.appender.RFLogger=org.apache.log4j.RollingFileAppender
log4j.appender.RFLogger.File=log/sip-communicator.app.log

log4j.appender.RFLogger.MaxFileSize=256KB
# Keep one backup file
log4j.appender.RFLogger.MaxBackupIndex=1

log4j.appender.RFLogger.layout=org.apache.log4j.PatternLayout
log4j.appender.RFLogger.layout.ConversionPattern=%r [%t] %p %c{2} %x - %m%n

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais !
Yahoo! Mail : http://fr.mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net