[sip-comm] configuration settings


#1

Further to my previous mail, I saw an exception occuring in the prompt during the startup of the communicator itself:

net.java.stun4j.StunException: An Exception occurred while sending message bytes
through a network socket!

Does this shed some light? Am I facing any network problem? The problem is I am able to connect through X-Lite so why should communicator crib about network socket?
Is it possible that since its a stun exception, my stun settings are not correct? I have cross checked lots of times but am still unable to figure out the cause.

Thanks,
Niraj

···

On Wed, 13 Apr 2005 Niraj Alok wrote :

Hi,

I have just downloaded the sip communicator and am facing problems while configuring it. It says "Not registered. Request timed out for 'niraj' <sip:08458904980@Sipproxy.Pipecall.com:5061;transport=udp>"

In fact, I have tried X-Lite and am able to work with it but since it is not open source, I am not able to extract the information required.

It would be very kind of you, if you could please let me know what am I doing wrong.

I am attaching the relevant portion of sip-communicator.xml which I have edited:

<java>
    <sip>
      <communicator>
          <FIRST_LAUNCH value="false"/>
          <ENABLE_SIMPLE value="false"/>
          <media>
<!--- <PREFERRED_AUDIO_ENCODING system="false" value=""/> -->
              <PREFERRED_AUDIO_ENCODING value="0"/>
              <PREFERRED_VIDEO_ENCODING value="26"/>
            <MEDIA_SOURCE value=""/>
            <MEDIA_BUFFER_LENGTH value="100"/>
            <IP_ADDRESS value="217.31.129.97"/>
            <AUDIO_PORT value=""/>
            <VIDEO_PORT value=""/>
        </media>
        <sip>
            <PUBLIC_ADDRESS value="217.31.129.97"/>
            <TRANSPORT value=""/>
            <REGISTRAR_ADDRESS value="217.31.129.97"/>
            <USER_NAME value="08458904980"/>
            <STACK_PATH value="gov.nist"/>
            <PREFERRED_LOCAL_PORT value="5061"/>
            <DISPLAY_NAME value="niraj"/>
            <REGISTRAR_TRANSPORT value="UDP"/>
            <REGISTRATIONS_EXPIRATION value="3600"/>
            <REGISTRAR_PORT value="5060"/>
            <FAIL_CALLS_ON_DEST_USER_MISMATCH value="false"/>

            <DEFAULT_DOMAIN_NAME value="Sipproxy.Pipecall.com"/>
            <DEFAULT_AUTHENTICATION_REALM value="Sipproxy.Pipecall.com"/>
            <WAIT_UNREGISTGRATION_FOR value="1100"/>
            <SAME_USER_EVERYWHERE value="true"/>
            <simple>
                <CONTACT_LIST_FILE value="contact-list.xml"/>
                <SUBSCRIPTION_EXP_TIME value="600"/>
                <MIN_EXP_TIME value="120"/>
                <LAST_SELECTED_OPEN_STATUS value="online"/>
            </simple>
        </sip>

<STUN_SERVER_ADDRESS value="stunserver0.pipecall.com"/>
        <STUN_SERVER_PORT value="10000"/>
        <VOICE_MAIL_ADDRESS value="17475551212"/>

<sip>
        <IP_ADDRESS value="192.168.1.177"/>
        <STACK_NAME value="sip-communicator"/>
        <ROUTER_PATH value="net.java.sip.communicator.sip.SipCommRouter"/>
        <OUTBOUND_PROXY value="217.31.129.97:5060/udp"/>
        <RETRANSMISSON_FILTER value=""/>
        <EXTENSION_METHODS value=""/>
        <RETRANSMISSION_FILTER value="true"/>
    </sip>

I am also attaching the relevant portion of X-Lite's diagnostic log which works for me.

Established SIP protocol listen on: 192.168.1.177:5060

Discovered Symmetric NAT Firewall

SIP: 192.168.1.177:5060
RTP: 192.168.1.177:8000
NAT: 203.200.41.230

PROXY#0: 217.31.129.97:5060

OUTBOUND-PROXY#0: 217.31.129.97:5060

SEND TIME: 13730468
SEND >> 217.31.129.97:5060
REGISTER sip:Sipproxy.Pipecall.com SIP/2.0
Via: SIP/2.0/UDP 203.200.41.230:5060;rport;branch=z9hG4bKEA301B5170624733853FAB1826B6645C
From: niraj alok <sip:08458904980@Sipproxy.Pipecall.com>;tag=4131242927
To: niraj alok <sip:08458904980@Sipproxy.Pipecall.com>
Contact: "niraj alok" <sip:08458904980@203.200.41.230:5060>
Call-ID: 1B07FEB13F07493CA6D5A98FF5C40774@Sipproxy.Pipecall.com
CSeq: 3697 REGISTER
Expires: 1800
Max-Forwards: 70
User-Agent: X-Lite release 1103m
Content-Length: 0

RECEIVE TIME: 13732062
RECEIVE << 217.31.129.97:5060
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 203.200.41.230:5060;rport=15664;branch=z9hG4bKEA301B5170624733853FAB1826B6645C
From: niraj alok <sip:08458904980@Sipproxy.Pipecall.com>;tag=4131242927
To: niraj alok <sip:08458904980@Sipproxy.Pipecall.com>;tag=b646374355f9ec0bfc2a39ed4417c6fb.77f1
Call-ID: 1B07FEB13F07493CA6D5A98FF5C40774@Sipproxy.Pipecall.com
CSeq: 3697 REGISTER
WWW-Authenticate: Digest realm="sipproxy.pipecall.com", nonce="425cda9b75e8ca7094eb0e7c7336e19d14686fbd"
Server: Sip EXpress router (0.8.12 (i386/freebsd))
Content-Length: 0

SEND TIME: 13732062
SEND >> 217.31.129.97:5060
REGISTER sip:Sipproxy.Pipecall.com SIP/2.0
Via: SIP/2.0/UDP 203.200.41.230:5060;rport;branch=z9hG4bKBD54DAF19335442D8780A7419B9A2A30
From: niraj alok <sip:08458904980@Sipproxy.Pipecall.com>;tag=4131242927
To: niraj alok <sip:08458904980@Sipproxy.Pipecall.com>
Contact: "niraj alok" <sip:08458904980@203.200.41.230:5060>
Call-ID: 1B07FEB13F07493CA6D5A98FF5C40774@Sipproxy.Pipecall.com
CSeq: 3698 REGISTER
Expires: 1800
Authorization: Digest username="08458904980",realm="sipproxy.pipecall.com",nonce="425cda9b75e8ca7094eb0e7c7336e19d14686fbd",response="f43523fb50a05d0282ed7cd7e19688db",uri="sip:Sipproxy.Pipecall.com"
Max-Forwards: 70
User-Agent: X-Lite release 1103m
Content-Length: 0

I hope that this much information is complete. Please let me know if something else is required.

Regards,
Niraj