Leo Ann Boon
2004-Sep-20 03:15 UTC
[Asterisk-Users] Update: Welltech Wellgate 3504A registration problem
Recently, there're some posts about registration problems with this gateway. These are my observations using the latest firmware version 107a. a) The gateway will register all 4 ports if you're not using password. b) If using password, the gateway will only register the 1st port correctly. For the record, the 2-port 3502 doesn't exhibit this behavior. FYI.
Danny Zak
2004-Sep-20 04:57 UTC
[Asterisk-Users] Update: Welltech Wellgate 3504A registration problem
Hello Leo, you know anything about the 3802 ? i also only got ONE port reged :( -- Best regards, Danny mailto:dannyz@belgonet.com belGOnet.com a Euro-pictures division - internet solutions place princesse elisabeth 9/11 - 1030 Brussels - Belgium Tel : +32-(0)2-215.67.65 - Fax : +32-(0)2-215.66.65 domains - hosting - hardware - VoiP - consultancy - backuping CISCO - HP/COMPAQ - SUN - EMC - JUNIPER - IBM - DELL - NORTEL No legal consequences can be derived from the contents of the email neither is belGOnet.com committed to them. The content of this email is exclusively intended for adressee(s) and information purposes. belGOnet.com accepts no liability for any damage resulting from the use and/or acceptation of the content of this email. Monday, September 20, 2004, 12:15:49 PM, you wrote: LAB> Recently, there're some posts about registration problems with this LAB> gateway. These are my observations using the latest firmware version 107a. LAB> a) The gateway will register all 4 ports if you're not using password. LAB> b) If using password, the gateway will only register the 1st port correctly. LAB> For the record, the 2-port 3502 doesn't exhibit this behavior. LAB> FYI. LAB> _______________________________________________ LAB> Asterisk-Users mailing list LAB> Asterisk-Users@lists.digium.com LAB> http://lists.digium.com/mailman/listinfo/asterisk-users LAB> To UNSUBSCRIBE or update options visit: LAB> http://lists.digium.com/mailman/listinfo/asterisk-users
Dinesh Nair
2004-Sep-20 14:16 UTC
[Asterisk-Users] Update: Welltech Wellgate 3504A registration problem
On 20/09/2004 18:15 Leo Ann Boon said the following:> a) The gateway will register all 4 ports if you're not using password. > b) If using password, the gateway will only register the 1st port > correctly.yes, and this is why, as i posted a week back: i think i've nailed it down to the fact that the 3504A (firmware 107a) uses the same SIP Call-ID but changes the tag= parameter in the From header when it responds to the 407 Proxy Authentication response from asterisk, thus leaving asterisk with no way to match the REGISTER packet with auth credentials against the original REGISTER packet sent by the 3504A. based on my reading of RFC3261, this violates the RFC, but perhaps someone with better SIP kung fu could chip in to correct me if otherwise. essentially, by not keeping to the same Call-ID or tag, asterisk has no way of matching the wellgate's register with the past proxy auth packet (and thus the hashed md5 token). this has been reported to WellTech, but we've yet to get a response from them. i've fashioned a patch which solves this behaviour and it works fine under asterisk 0.9.0 on freebsd and 1.0-RC1 on linux. i've got the patches for 0.9.0 and 1.0-RC1, and will be glad to email them if anyone wants them. the patch adds a new option under [general], 'usenonce'. if usenonce=yes (default is no, normal asterisk behaviour), then asterisk will use the nonce tag as sent by the wellgate to double check it's credentials and let it thru. this allows all 4 ports on the 3504A to be registered with a password. -- Regards, /\_/\ "All dogs go to heaven." dinesh@alphaque.com (0 0) http://www.alphaque.com/ +==========================----oOO--(_)--OOo----==========================+ | for a in past present future; do | | for b in clients employers associates relatives neighbours pets; do | | echo "The opinions here in no way reflect the opinions of my $a $b." | | done; done | +=========================================================================+