Also have the same trouble connecting Asterisk with the Huawei softX3000 softswitch via SIP.
Anyone have any experience with the Huawei switch. I am only in control of the Asterisk server, Huawei softX3000 is controlled by another company. I have included the ouput from the SJPHONE which can regsiter successfully and the Asterisk server which gets faced with 401 Unauthorized as below: SJ PHONE 2006-03-30 11:39:44.908 UDP LOCAL->219.134.98.8:5060 REGISTER sip:219.134.98.8 SIP/2.0 Via: SIP/2.0/UDP 10.27.27.18;rport;branch=z9hG4bK0a1b1b1200000010442bc380000069860000041c Content-Length: 0 Contact: <sip:[EMAIL PROTECTED]:5060> Call-ID: [EMAIL PROTECTED] CSeq: 12 REGISTER From: <sip:[EMAIL PROTECTED]>;tag=118201716914 Max-Forwards: 70 To: <sip:[EMAIL PROTECTED]> User-Agent: SJphone/1.60.289a (SJ Labs) Authorization: Digest username="2210XXXX",realm="huawei",nonce="387a3370c2354a042f4e519aac465739",uri="sip:219.134.98.8",response="023d39d9ec9417d4e1f285df758c8e27",algorithm="MD5" 12:39:45 DEBUG 2006-03-30 11:39:45.033 UDP 219.134.98.8:5060->LOCAL SIP/2.0 200 OK From: <sip:[EMAIL PROTECTED]>;tag=118201716914 To: <sip:[EMAIL PROTECTED]>;tag=9b4ff129 CSeq: 12 REGISTER Call-ID: [EMAIL PROTECTED] Via: SIP/2.0/UDP 10.27.27.18;branch=z9hG4bK0a1b1b1200000010442bc380000069860000041c;rport=5060 Contact: <sip:[EMAIL PROTECTED]:5060;user=phone>;expires=3600 Content-Length: 0 ASTERISK --- (10 headers 0 lines)--- Responding to challenge, registration to domain/host name 219.134.98.8 REGISTER 13 headers, 0 lines Reliably Transmitting (no NAT) to 219.134.98.8:5060: REGISTER sip:219.134.98.8 SIP/2.0 Via: SIP/2.0/UDP 212.241.193.114:5060;branch=z9hG4bK77045b56;rport From: <sip:[EMAIL PROTECTED]>;tag=as0519b6aa To: <sip:[EMAIL PROTECTED]> Call-ID: [EMAIL PROTECTED] CSeq: 105 REGISTER User-Agent: Asterisk PBX Max-Forwards: 70 Authorization: Digest username="2210XXXX", realm="huawei", algorithm=MD5, uri="sip:219.134.98.8", nonce="", response="7e0c56b053a18a956e6d26f21c934cb7", opaque="" Expires: 600 Contact: <sip:[EMAIL PROTECTED]> Event: registration Content-Length: 0 --- Retransmitting #2 (no NAT) to 219.134.98.8:5060: OPTIONS sip:219.134.98.8 SIP/2.0 Via: SIP/2.0/UDP 212.241.193.114:5060;branch=z9hG4bK41171f7a;rport From: "asterisk" <sip:[EMAIL PROTECTED]>;tag=as1613e3ad To: <sip:219.134.98.8> Contact: <sip:[EMAIL PROTECTED]> Call-ID: [EMAIL PROTECTED] CSeq: 102 OPTIONS User-Agent: Asterisk PBX Max-Forwards: 70 Date: Thu, 30 Mar 2006 11:40:41 GMT Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Content-Length: 0 --- (0 headers 0 lines) Nat keepalive --- lvps212-241-193-114*CLI> <-- SIP read from 219.134.98.8:5060: SIP/2.0 401 Unauthorized From: <sip:[EMAIL PROTECTED]>;tag=as0519b6aa To: <sip:[EMAIL PROTECTED]>;tag=b45efef2 CSeq: 105 REGISTER Call-ID: [EMAIL PROTECTED] Via: SIP/2.0/UDP 212.241.193.114:5060;branch=z9hG4bK77045b56;rport=5060 WWW-Authenticate: Digest realm="huawei", nonce="e5dc81651624597ba53a08df5042eaca",domain="sip:huawei.com", stale=false,algorithm=MD5 Content-Length: 0 Any help is appreciated. Kind Regards, Steven Ducat. On 3/4/06, Glen Browley <[EMAIL PROTECTED]> wrote: > > Greetings, > > I'm having a job getting asterisk to register with a Huawei softX3000 > softswitch via SIP. I keep getting 401 Unauthorized. Funny thing is I can > successfully register SJPhone, a PA1688 IP Phone as well as a WiFi Phone > against the switch without *any* problems. I think it's got to be something > as simple as perhaps the register string which is currently > <username><password>@<ip address> although I've tried a number of variations > without success. > > Here's a snipit from sip.conf > > allow=ulaw > auth=md5 > disallow=all > dtmf=inband > host=xxx.xxx.xxx.xxx > insecure=very > secret=xxxxxxx > type=peer > username=xxxxxxx > > Has anyone been able to register Asterisk against this Huawei switch? > Normally I'd just muddle though it but I've spent the day working on this > with NO success. > > I should also mention I've done ethereal dumps of devices that successfully > register and I can't spot any differences. > > Thanks! > > > Glen > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users