[asterisk-users] Help with Asterisk to Huawei SoftX3000 registry problem
Hello Asterisk People, I am having trouble connecting asterisk to a huawei SoftX3000 Switch, i can succesfully connect other softphones like Zoiper, but when it comes to Asterisk SIP Client, the system doesn't authenticate, i have the following configuration: peer: 10.220.0.2 username: 4857768 password: 4857768 the configuration is as follows: in the general section: register = 4857768:[EMAIL PROTECTED] in the sip client / peers section: [epmbog] type=peer host=10.220.0.2 secret=4857768 username=4857768 canreinvite=no [Aug 19 06:48:28] NOTICE[7608]: chan_sip.c:12525 handle_response_register: Failed to authenticate on REGISTER to '[EMAIL PROTECTED]' (Tries 3) i have tested numerous variants, but the huawei refuse to authenticate the asterisk. i attache the logs producted with Zoiper, and the one produced with Asterisk. Any help will be greatly apreciated. Thanks. -- Nestor A. Diaz Ingeniero de Sistemas Tel. +57 1-600-5490 x 211 Cel. +57 316-227-3593 Tel. SIP: sip:[EMAIL PROTECTED] Email/MSN: [EMAIL PROTECTED] http://www.tiendalinux.com/ Bogota, Colombia REGISTER sip:10.220.0.2;transport=UDP SIP/2.0 Via: SIP/2.0/UDP 10.222.4.130:5060;branch=z9hG4bK-d8754z-2bc2d270485ea817-1---d8754z-;rport Max-Forwards: 70 Contact: sip:[EMAIL PROTECTED]:5060;rinstance=40f3e87db666ccb3;transport=UDP To: sip:[EMAIL PROTECTED];transport=UDP From: sip:[EMAIL PROTECTED];transport=UDP;tag=9d083153 Call-ID: OWNlMzM5MzcyY2RjZWE3ODI5YmNjYzg1OGUyOGM0OWM. CSeq: 1 REGISTER Expires: 70 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO User-Agent: Zoiper for Windows rev.650 Allow-Events: presence Content-Length: 0 SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 10.222.4.130:5060;branch=z9hG4bK-d8754z-2bc2d270485ea817-1---d8754z-;rport=5060 To: sip:[EMAIL PROTECTED];tag=4d78afba;transport=UDP From: sip:[EMAIL PROTECTED];tag=9d083153;transport=UDP Call-ID: OWNlMzM5MzcyY2RjZWE3ODI5YmNjYzg1OGUyOGM0OWM. CSeq: 1 REGISTER Server: Huawei SoftX3000 V300R006 WWW-Authenticate: Digest realm=huawei, nonce=2c5e846455ff57f351423612f73406c3,domain=sip:huawei.com, stale=false,algorithm=MD5 Content-Length: 0 REGISTER sip:10.220.0.2;transport=UDP SIP/2.0 Via: SIP/2.0/UDP ;branch=z9hG4bK-d8754z-30acd274a9144d25-1---d8754z-;rport Max-Forwards: 70 Contact: sip:4857768;rinstance=40f3e87db666ccb3;transport=UDP To: sip:[EMAIL PROTECTED];transport=UDP From: sip:[EMAIL PROTECTED];transport=UDP;tag=9d083153 Call-ID: OWNlMzM5MzcyY2RjZWE3ODI5YmNjYzg1OGUyOGM0OWM. CSeq: 2 REGISTER Expires: 70 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO User-Agent: Zoiper for Windows rev.650 Authorization: Digest username=4857768,realm=huawei,nonce=2c5e846455ff57f351423612f73406c3,uri=sip:10.220.0.2;transport=UDP,response=a1b246ef1363bf8592fb5114dcc32d1d,algorithm=MD5 Allow-Events: presence Content-Length: 0 SIP/2.0 200 OK Via: SIP/2.0/UDP 10.222.4.130:5060;branch=z9hG4bK-d8754z-30acd274a9144d25-1---d8754z-;rport=5060 Contact: sip:[EMAIL PROTECTED];user=phone;expires=70 To: sip:[EMAIL PROTECTED];tag=d7d9f98c;transport=UDP From: sip:[EMAIL PROTECTED];tag=9d083153;transport=UDP Call-ID: OWNlMzM5MzcyY2RjZWE3ODI5YmNjYzg1OGUyOGM0OWM. CSeq: 2 REGISTER Expires: 70 Server: Huawei SoftX3000 V300R006 Content-Length: 0 REGISTER 12 headers, 0 lines Reliably Transmitting (no NAT) to 10.220.0.2:5060: REGISTER sip:epmbog SIP/2.0 Via: SIP/2.0/UDP 10.222.4.130:5060;branch=z9hG4bK637e5232;rport From: sip:[EMAIL PROTECTED];tag=as26053559 To: sip:[EMAIL PROTECTED] Call-ID: [EMAIL PROTECTED] CSeq: 102 REGISTER User-Agent: Asterisk PBX Max-Forwards: 70 Expires: 120 Contact: sip:[EMAIL PROTECTED] Event: registration Content-Length: 0 --- chamber*CLI --- SIP read from 10.220.0.2:5060 --- SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 10.222.4.130:5060;branch=z9hG4bK637e5232;rport=5060 Call-ID: [EMAIL PROTECTED] From: sip:[EMAIL PROTECTED];tag=as26053559 To: sip:[EMAIL PROTECTED];tag=3abcb6da CSeq: 102 REGISTER WWW-Authenticate: Digest realm=huawei, nonce=de2b14c186143b68324075e0939be2b7,domain=sip:huawei.com, stale=false,algorithm=MD5 Server: Huawei SoftX3000 V300R006 Content-Length: 0 - --- (11 headers 0 lines) --- Responding to challenge, registration to domain/host name epmbog REGISTER 13 headers, 0 lines Reliably Transmitting (no NAT) to 10.220.0.2:5060: REGISTER sip:epmbog SIP/2.0 Via: SIP/2.0/UDP 10.222.4.130:5060;branch=z9hG4bK33a68168;rport From: sip:[EMAIL PROTECTED];tag=as73522e9a To: sip:[EMAIL PROTECTED] Call-ID: [EMAIL PROTECTED] CSeq: 103 REGISTER User-Agent: Asterisk PBX Max-Forwards: 70 Authorization: Digest username=4857768, realm=huawei, algorithm=MD5, uri=sip:epmbog, nonce=, response=9617be9b31db41c1742f43d72a9fba11 Expires: 120 Contact: sip:[EMAIL PROTECTED] Event: registration Content-Length: 0 --- chamber*CLI --- SIP read from 10.220.0.2:5060 --- SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 10.222.4.130:5060;branch=z9hG4bK33a68168;rport=5060 Call-ID: [EMAIL PROTECTED] From:
Re: [asterisk-users] Help with Asterisk to Huawei SoftX3000 registry problem
Nestor A. Diaz schrieb: I am having trouble connecting asterisk to a huawei SoftX3000 Switch, i can succesfully connect other softphones like Zoiper, but when it comes to Asterisk SIP Client, the system doesn't authenticate, i have the following configuration: [...] i attache the logs producted with Zoiper, and the one produced with Asterisk. Did you enable pedantic=yes in sip.conf? Grüße, Philipp Kempgen -- http://www.das-asterisk-buch.de - http://www.the-asterisk-book.com Amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998 ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Help with Asterisk to Huawei SoftX3000 registry problem
Philipp Kempgen wrote: Did you enable pedantic=yes in sip.conf? thank you very much for your help, it fix the problem. Is there any other issue that i have to take in mind for placing calls ? is there any option for set up pedantic for selected peers ? i use broadvoice too and it requires pedantic=no on the configuration: http://www.broadvoice.com/support_install_asterisk.html , how can coexist this two peers on just one asterisk ? [general] context=from-sip; Default context for incoming calls allowguest=no ; Allow or reject guest calls (default is yes) allowoverlap=no ; Disable overlap dialing support. (Default is yes) bindport=5060 ; UDP Port to bind to (SIP standard port is 5060) bindaddr=0.0.0.0; IP address to bind to (0.0.0.0 binds to all) srvlookup=yes ; Enable DNS SRV lookups on outbound calls pedantic=yes; Enable checking of tags in headers, language=es ; Default language setting for all users/peers dtmfmode = rfc2833 ; Set default dtmfmode for sending DTMF. Default: rfc2833 rtptimeout=60 ; Terminate call if 60 seconds of no RTP or RTCP activity rtpholdtimeout=300 ; Terminate call if 300 seconds of no RTP or RTCP activity limitonpeers = yes ; Apply call limits on peers only. This will improve #include custom.d/sip_general.conf [authentication] #include custom.d/sip.conf -- Nestor A. Diaz Ingeniero de Sistemas Tel. +57 1-600-5490 x 211 Cel. +57 316-227-3593 Tel. SIP: sip:[EMAIL PROTECTED] Email/MSN: [EMAIL PROTECTED] http://www.tiendalinux.com/ Bogota, Colombia ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Help with Asterisk to Huawei SoftX3000 registry problem
On Tue, August 19, 2008 8:48 am, Nestor A. Diaz wrote: Philipp Kempgen wrote: Did you enable pedantic=yes in sip.conf? thank you very much for your help, it fix the problem. Is there any other issue that i have to take in mind for placing calls ? is there any option for set up pedantic for selected peers ? i use broadvoice too and it requires pedantic=no on the configuration: http://www.broadvoice.com/support_install_asterisk.html , how can coexist this two peers on just one asterisk ? The 'pedantic' option forces meticulous checks of syntactical traits in the Call-ID and SIP header organisation that are permitted by the RFC (and therefore, required to be supported on an RFC-compliant UA like Asterisk) but are extremely uncommon. Because these traits are uncommon, checking for them lexically under most imaginable circumstances adds a slight performance penalty and is wholly unnecessary. Examples include the largely braindead notion espoused in the BNF that the header names, values and delimeters can span multiple lines (i.e. with multiple inline newline characters), although the reasons why anyone would actually do this, ever, are unclear. Leave it to Huawei, I guess. The option can coexist in Asterisk with two different peers because the option is peer-specific in this context, so it's just like any other option that is also particular to certain peers. -- Alex -- Alex Balashov Evariste Systems Web: http://www.evaristesys.com/ Tel: (+1) (678) 954-0670 Direct : (+1) (678) 954-0671 Mobile : (+1) (706) 338-8599 ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Help with Asterisk to Huawei SoftX3000 registry problem
Alex Balashov schrieb: [pedantic] is peer-specific in this context, so it's just like any other option that is also particular to certain peers. Really? I don't think so. Grüße, Philipp Kempgen -- http://www.das-asterisk-buch.de - http://www.the-asterisk-book.com Amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998 ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Help with Asterisk to Huawei SoftX3000 registry problem
I have tested pedantic=yes just in a peer configuration and it don't work, is a global setting. (tested with asterisk 1.2.21) slds. Philipp Kempgen wrote: Alex Balashov schrieb: [pedantic] is peer-specific in this context, so it's just like any other option that is also particular to certain peers. Really? I don't think so. Grüße, Philipp Kempgen -- Nestor A. Diaz Ingeniero de Sistemas Tel. +57 1-600-5490 x 211 Cel. +57 316-227-3593 Tel. SIP: sip:[EMAIL PROTECTED] Email/MSN: [EMAIL PROTECTED] http://www.tiendalinux.com/ Bogota, Colombia ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users