[sip-comm] invite fails with IPv6 but succede with IPv4


#1

Anybody any ideas with regard the following, mm I missing somethig obvious:

I Have two sip-communicator instances on a Sun box (Solaris 8) which are registered with a SIP Proxy on another Sun Box (Solaris 8). The SIP Proxy / Registrar and both sip-communicators are configured with IPv6 addresses.

Both sip-communicator register with the proxy OK.

When I send an invite from sip-communicator#1 to sip-communicator#2, sip-communicator#2 throws an exception (below).

This only happens when using IPv6.

If the proxy and both sip-communicators are configured for the IPv4 addresses, Invites work OK.

Is it that the IPv6 address isn't being andled correctly by gov.nist.javax.sip.SipProviderImpl()

The exception seems to suggest that the IPv6 address is being handled as
fe80:0:0:0:a00:20ff:fef9:cbf6:5070

shouldnt it be
[fe80:0:0:0:a00:20ff:fef9:cbf6]:5070
or is this just an artefact of the debug trace.

···

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

net.java.sip.communicator.sip.CommunicationsException: Failed to send a RINGING
response to an INVITE request!
  at
net.java.sip.communicator.sip.CallProcessing.processInvite(CallProcessing.java:410)
  at
net.java.sip.communicator.sip.SipManager.processRequest(SipManager.java:1265)
  at gov.nist.javax.sip.SipProviderImpl.run(Unknown Source)
  at java.lang.Thread.run(Unknown Source)
Caused by: javax.sip.SipException: fe80:0:0:0:a00:20ff:fef9:cbf6:5070
  at gov.nist.javax.sip.stack.SIPServerTransaction.sendResponse(Unknown Source)
  at
net.java.sip.communicator.sip.CallProcessing.processInvite(CallProcessing.java:404
)
  ... 3 more

The sip-communicator config is:
with sip-communicator#1
net.java.sip.communicator.sip.PUBLIC_ADDRESS=steve1@anon.net
net.java.sip.communicator.sip.PREFERRED_LOCAL_PORT=8070

with sip-communicator#2
net.java.sip.communicator.sip.PUBLIC_ADDRESS=steve2@anon.net
net.java.sip.communicator.sip.PREFERRED_LOCAL_PORT=8080

with IPv4 the following fields are set and all works OK
net.java.sip.communicator.sip.REGISTRAR_ADDRESS=172.16.0.60
javax.sip.OUTBOUND_PROXY=172.16.0.60:5060/udp
javax.sip.IP_ADDRESS=172.16.0.70

----------------------------------
#Stack Properties
#Tue Jan 13 13:30:23 GMT 2004
log4j.appender.RFLogger.layout=org.apache.log4j.PatternLayout
net.java.sip.communicator.media.PREFERRED_VIDEO_ENCODING=
net.java.sip.communicator.sip.PUBLIC_ADDRESS=steve2@anon.net
net.java.sip.communicator.sip.REGISTRATIONS_EXPIRATION=3600
gov.nist.javax.sip.SERVER_LOG=log/sip-communicator.stack.log
net.java.sip.communicator.media.MEDIA_SOURCE=
net.java.sip.communicator.sip.TRANSPORT=
log4j.appender.RFLogger.layout.ConversionPattern=%r [%t] %p %c{2} %x - %m%n
javax.sip.STACK_NAME=sip-communicator
log4j.appender.RFLogger.MaxBackupIndex=1
net.java.sip.communicator.sip.REGISTRAR_ADDRESS=[fe80\:\:a00\:20ff\:fef9\:cbf6]
javax.sip.IP_ADDRESS=[fe80\:\:a00\:20ff\:fefd\:b886]
net.java.sip.communicator.media.PREFERRED_AUDIO_ENCODING=
net.java.sip.communicator.sip.STACK_PATH=gov.nist
log4j.appender.RFLogger.File=log/sip-communicator.app.log
gov.nist.javax.sip.TRACE_LEVEL=
net.java.sip.communicator.media.IP_ADDRESS=
net.java.sip.communicator.sip.REGISTRAR_PORT=5060
log4j.appender.RFLogger.MaxFileSize=256KB
net.java.sip.communicator.media.AUDIO_PORT=
net.java.sip.communicator.sip.PREFERRED_LOCAL_PORT=8080
net.java.sip.communicator.sip.DISPLAY_NAME=
net.java.sip.communicator.sip.DEFAULT_DOMAIN_NAME=
javax.sip.ROUTER_PATH=
net.java.sip.communicator.media.VIDEO_PORT=
log4j.appender.RFLogger=org.apache.log4j.RollingFileAppender
net.java.sip.communicator.sip.REGISTRAR_TRANSPORT=
log4j.rootLogger=net.java.sip.communicator.common.Console.TraceLevel, RFLogger
javax.sip.RETRANSMISSON_FILTER=
javax.sip.OUTBOUND_PROXY=[fe80\:\:a00\:20ff\:fef9\:cbf6]\:5060/udp
javax.sip.EXTENSION_METHODS=

_________________________________________________________________
Tired of 56k? Get a FREE BT Broadband connection http://www.msn.co.uk/specials/btbroadband

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


#2

Hello Steve,

Hm ... I hadn't seen that problem with IPv6. Could you please attach a
copy of both log files in the log directory of sip-communicator?

./log/sip-communicator.stack.log
./log/sip-communicator.app.log

Cheers
Emil

Anybody any ideas with regard the following, mm I missing somethig obvious:

I Have two sip-communicator instances on a Sun box (Solaris 8) which are
registered with a SIP Proxy on another Sun Box (Solaris 8). The SIP Proxy /
Registrar and both sip-communicators are configured with IPv6 addresses.

Both sip-communicator register with the proxy OK.

When I send an invite from sip-communicator#1 to sip-communicator#2,
sip-communicator#2 throws an exception (below).

This only happens when using IPv6.

If the proxy and both sip-communicators are configured for the IPv4
addresses, Invites work OK.

Is it that the IPv6 address isn't being andled correctly by
gov.nist.javax.sip.SipProviderImpl()

The exception seems to suggest that the IPv6 address is being handled as
fe80:0:0:0:a00:20ff:fef9:cbf6:5070

shouldnt it be
[fe80:0:0:0:a00:20ff:fef9:cbf6]:5070
or is this just an artefact of the debug trace.

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

net.java.sip.communicator.sip.CommunicationsException: Failed to send a
RINGING
response to an INVITE request!
  at
net.java.sip.communicator.sip.CallProcessing.processInvite(CallProcessing.java:410)
  at
net.java.sip.communicator.sip.SipManager.processRequest(SipManager.java:1265)
  at gov.nist.javax.sip.SipProviderImpl.run(Unknown Source)
  at java.lang.Thread.run(Unknown Source)
Caused by: javax.sip.SipException:
fe80:0:0:0:a00:20ff:fef9:cbf6:5070
  at
gov.nist.javax.sip.stack.SIPServerTransaction.sendResponse(Unknown
Source)
  at
net.java.sip.communicator.sip.CallProcessing.processInvite(CallProcessing.java:404
)
  ... 3 more

The sip-communicator config is:
with sip-communicator#1
net.java.sip.communicator.sip.PUBLIC_ADDRESS=steve1@anon.net
net.java.sip.communicator.sip.PREFERRED_LOCAL_PORT=8070

with sip-communicator#2
net.java.sip.communicator.sip.PUBLIC_ADDRESS=steve2@anon.net
net.java.sip.communicator.sip.PREFERRED_LOCAL_PORT=8080

with IPv4 the following fields are set and all works OK
net.java.sip.communicator.sip.REGISTRAR_ADDRESS=172.16.0.60
javax.sip.OUTBOUND_PROXY=172.16.0.60:5060/udp
javax.sip.IP_ADDRESS=172.16.0.70

----------------------------------
#Stack Properties
#Tue Jan 13 13:30:23 GMT 2004
log4j.appender.RFLogger.layout=org.apache.log4j.PatternLayout
net.java.sip.communicator.media.PREFERRED_VIDEO_ENCODING=
net.java.sip.communicator.sip.PUBLIC_ADDRESS=steve2@anon.net
net.java.sip.communicator.sip.REGISTRATIONS_EXPIRATION=3600
gov.nist.javax.sip.SERVER_LOG=log/sip-communicator.stack.log
net.java.sip.communicator.media.MEDIA_SOURCE=
net.java.sip.communicator.sip.TRANSPORT=
log4j.appender.RFLogger.layout.ConversionPattern=%r [%t] %p %c{2} %x - %m%n
javax.sip.STACK_NAME=sip-communicator
log4j.appender.RFLogger.MaxBackupIndex=1
net.java.sip.communicator.sip.REGISTRAR_ADDRESS=[fe80\:\:a00\:20ff\:fef9\:cbf6]
javax.sip.IP_ADDRESS=[fe80\:\:a00\:20ff\:fefd\:b886]
net.java.sip.communicator.media.PREFERRED_AUDIO_ENCODING=
net.java.sip.communicator.sip.STACK_PATH=gov.nist
log4j.appender.RFLogger.File=log/sip-communicator.app.log
gov.nist.javax.sip.TRACE_LEVEL=
net.java.sip.communicator.media.IP_ADDRESS=
net.java.sip.communicator.sip.REGISTRAR_PORT=5060
log4j.appender.RFLogger.MaxFileSize=256KB
net.java.sip.communicator.media.AUDIO_PORT=
net.java.sip.communicator.sip.PREFERRED_LOCAL_PORT=8080
net.java.sip.communicator.sip.DISPLAY_NAME=
net.java.sip.communicator.sip.DEFAULT_DOMAIN_NAME=
javax.sip.ROUTER_PATH=
net.java.sip.communicator.media.VIDEO_PORT=
log4j.appender.RFLogger=org.apache.log4j.RollingFileAppender
net.java.sip.communicator.sip.REGISTRAR_TRANSPORT=
log4j.rootLogger=net.java.sip.communicator.common.Console.TraceLevel,
RFLogger
javax.sip.RETRANSMISSON_FILTER=
javax.sip.OUTBOUND_PROXY=[fe80\:\:a00\:20ff\:fef9\:cbf6]\:5060/udp
javax.sip.EXTENSION_METHODS=

_________________________________________________________________
Tired of 56k? Get a FREE BT Broadband connection
http://www.msn.co.uk/specials/btbroadband

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

Cheers
Emil

http://www.emcho.com

···

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