[Asterisk-Users] SIP Register with Huawei equipment HELP

Alan Ng microstorm at gmail.com
Fri Nov 12 03:12:53 MST 2004


Dear all,

I'm trying to perform a register => userid:password at proxy for incoming
SIP calls from a provider and is not going too well.  Pls refer to the
attached debug log and hopefully someone can help me out.  I believe
that they're using Huawei equipment and the same userid/password pair
is working fine with X-lite.

What I noticed is that the nonce field on the reply is blank and I'm
not sure if that's the problem and how I can fix it.

I've included the register line with userid:password at IP/context in the
sip.conf already


Please help

Reliably Transmitting:
REGISTER sip:***.***.***.*** SIP/2.0
Via: SIP/2.0/UDP ***.***.84.142:5060;branch=z9hG4bK3dc4c27c
From: <sip:21257343@***.***.***.226>;tag=as3e3d1bc2
To: <sip:21257343@***.***.***.***>;tag=1159d164
Call-ID: 71d5c3357db8742900215a6d586225b5 at 127.0.0.1
CSeq: 110 REGISTER
User-Agent: X-Lite release 1103m
Authorization: Digest username="21257343", realm="huawei.com",
algorithm=MD5, uri="sip:***.*.***.***", nonce="",
response="5b36c5c5997a2948cc0c8cb6c6d65711", opaque=""
Expires: 120
Contact: <sip:21257343@***.***.**.142>
Event: registration
Content-Length: 0

 (no NAT) to ***.*.***.***:5060
alansip3*CLI>

Sip read:
SIP/2.0 401 Unauthorized
From: <sip:21257343@***.*.***.226>;tag=as3e3d1bc2
To: <sip:21257343@***.*.***.226>;tag=1159d164
CSeq: 110 REGISTER
Call-ID: 71d5c3357db8742900215a6d586225b5 at 127.0.0.1
Via: SIP/2.0/UDP ***.***.**.142:5060;branch=z9hG4bK3dc4c27c
WWW-Authenticate: Digest realm="huawei.com",
 nonce="f343463ed7c33c6f233646513b01fa54",stale=false,algorithm=MD5
Content-Length: 0


9 headers, 0 lines
Destroying call '71d5c3357db8742900215a6d586225b5 at 127.0.0.1'
11 headers, 0 lines
Reliably Transmitting:
REGISTER sip:***.*.***.*** SIP/2.0
Via: SIP/2.0/UDP ***.***.**.***:5060;branch=z9hG4bK0f47ded1
From: <sip:21257343@***.*.***.226>;tag=as752ce90a
To: <sip:21257343@***.***.*.226>
Call-ID: 71d5c3357db8742900215a6d586225b5 at 127.0.0.1
CSeq: 111 REGISTER
User-Agent: X-Lite release 1103m
Expires: 120
Contact: <sip:21257343@***.***.**.142>
Event: registration
Content-Length: 0

 (no NAT) to ***.*.***.226:5060
alansip3*CLI>

Sip read:
SIP/2.0 401 Unauthorized
From: <sip:21257343@***.*.***.226>;tag=as752ce90a
To: <sip:21257343@***.*.***.226>;tag=2271772e
CSeq: 111 REGISTER
Call-ID: 71d5c3357db8742900215a6d586225b5 at 127.0.0.1
Via: SIP/2.0/UDP ***.***.**.142:5060;branch=z9hG4bK0f47ded1
WWW-Authenticate: Digest realm="huawei.com",
 nonce="4bd6abe2e1266bbae8075eb1f7f733e7",stale=false,algorithm=MD5
Content-Length: 0



More information about the asterisk-users mailing list