On Mon, 2009-06-08 at 10:17 +0300, [email protected] wrote:
> Hi,
> 
> i have installed  4.0.0-015321 version on our test server with Centos
> 5.2 and i have a strange problem with registration to sipx for one of
> our users.
> 
> The problem is this. This user has Mac OS and he uses iSoftPhone 2.5015.
> When he is trying to connect to sipx he gets unauthorized messages. I
> see this also in sipregister.log. I checked with sipx-trace one of his
> tries to register and this is the result:
> 
> Time: 2009-06-05T09:06:23.629447Z
> Frame: 71 /tmp/trace.Fycy9923/_.sipXproxy.trace.xml:1593
> Source: 89.xxx.xxx.xxx:59880
> Dest: sipxhost.mydomain.tld-SipXProxy
> 
> #REGISTER REQUEST#
> 
> REGISTER sip:mydomain.tld SIP/2.0
> Via: SIP/2.0/UDP 89.xxx.xxx.xxx:59880;rport;branch=z9hG4bK410122447
> From: Manuel <sip:[email protected]>;tag=1795527956
> To: Manuel <sip:[email protected]>
> Call-ID: [email protected]
> CSeq: 4 REGISTER
> Contact: <sip:[email protected]:59880>
> Max-Forwards: 70
> User-Agent: iSoftPhone 2.5015
> Expires: 1800
> Content-Length: 0
> 
> #UNAUTHORIZED#
> Time: 2009-06-05T09:06:31.622712Z
> Frame: 76 /tmp/trace.Fycy9923/_.sipXproxy.trace.xml:1605
> Source: sipxhost.domain.tld-SipXProxy
> Dest: 89.xxx.xxx.xxx:59880
> 
> SIP/2.0 401 Unauthorized
> From: Manuel <sip:[email protected]>;tag=1795527956
> To: Manuel <sip:[email protected]>;tag=b8494e89
> Call-Id: [email protected]
> Cseq: 4 REGISTER
> Via: SIP/2.0/UDP
> 89.141.102.143:59880;rport=59880;branch=z9hG4bK410122447
> Www-Authenticate: Digest realm="mydomain.tld",
> nonce="0a81f95616e8a26e9b814f4136c9f17f4a28e00c"
> User-Agent: sipXecs/4.0.0 sipXecs/registry (Linux)
> Date: Fri, 05 Jun 2009 09:06:20 GMT
> Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, REGISTER, SUBSCRIBE
> Accept-Language: en
> Supported: gruu, path
> Content-Length: 0
> 
> 
> What i see from sipx-trace is that the register processes is going to
> sipXproxy. I cannot see passing requests to sipregister.
> 
> The othe strange thing is that this user is able to register using
> x-lite on the same Mac.

You've only captured the first attempt - the way it works is that the
phone sends a REGISTER without authentication (as above), and gets back
the unauthorized (401) response from sipXecs/registry - then the phone
should retry the REGISTER (using the same call-id and From tag values
and a higher Cseq value) but including an Authorization header.  That
second try is the one that should succeed.

http://sipx-wiki.calivia.com/index.php/SipX_Phone_Registration_Troubleshooting


_______________________________________________
sipx-users mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to