Asterisk phone Zyxel P2000W
Created by: oej,Last modification on Mon 15 of May, 2006 [17:34 UTC] by matthew1471
Asterisk configuration for the Zyxel P2000W
These configs seem to work fine for a ZyXEL P2000W, thanks to Giles Scott for getting me started with it.
DTMF keys work fine and are "read" correctly by Asterisk.
It's important that you upgrade your phone to a modern version of the firmware - it didn't work much with the WJ.00.07 that was preinstalled on my terminal, while it works with WJ.00.0c
See:
- http://www2.studerus.ch/support.cfm?action=news&lang=d
- http://www.nikotel.net/firmware/zyxel/p2000w/P2000W_WJ000E_Standard.zip
- http://www.zyxel.co.uk/support/ukadslfw.php - This link is dead
In this example, my phone has number 898 and 10.10.3.5 is Asterisk.
sip.conf
[898]
type=friend
username=phone
secret=---mypassword---
host=dynamic
canreinvite=no
context=sip
disallow=all
allow=alaw
dtmfmode=rfc2833
On the telephone web interface:
Zyxel config
SIP/outbound Proxy config
Proxy IP:10.10.3.5
Proxy port = 5060
SIP Config
SIP URI: sip: 898 @ 10.10.3.5 : 5060
Expire time: 300
Registrar username: 898
Registrar password: ---mypassword---
DSP setting
Default Voice codec G.729 8k
DTMF relay: outband
Please report your successful experinence here.
- added 2006-03-27 : Bought three of these of Neutron, installed Asterisk 1.2.5, upgraded the firmware to WV.00.03 of the ZyXEL website. Working fine, have had no problems what so ever.
- Since there are conflicting reports as to what firmware version of Zyxel is compatible with what version of Asterisk HEAD, can somebody (teji?) who is successfully using this phone describe what their versions/settings are.
- added 2005-09-07 We are using Asterisk HEAD 05/30/05 with Zyxel firmware v. WJ.00.11. Outbound calls can be made ok from Zyxel; incoming calls are ok from all X-ten softphones (lite/Pro/eyeBeam). Incoming calls from Cisco IP 7940/60G phones are bounced with "400 Bad Request" reported from Zyxel on Asterisk console. -serge
- added 2005-05-28 : using Asterisk 1.0.7 together with Zyxel 2000W V2 with firmware WV.00.01 everything seems to work fine! Since i dont't have a g.729 license im using alaw. -foo8ar
- works for me hardware v.2 -inkblot
- added 2006-05-15 : Using Asterisk@Home, Had a few problems but fixes are described in ZyXEL P2000W
Compatibility Notes:
- updated 2005-09-07. Starting somewhere in February 2005, Zyxel 2000W (hardware version v.1) stopped receiving incoming calls from Cisco IP Phones (tested on 40/60G with SIP firmware 7.1 to 7.5) through Asterisk HEAD (latest 09/06/05) with a "400 Bad Request" error reported on Asterisk console. Outgoing calls from Zyxel are still working ok. This has been tested with Zyxel firmware versions WJ.00.0f(10) and latest version WJ.00.11. Attempts to resolve this with Zyxel engineers have been ongong since March of 2005 with now resolution. It is now September 2005 and Zyxel offers no solutions for this problem. We presume they are focused on their new V.2 P-2000W and have abandoned the V.1 :( -serge
- added 2005-05-25 : Warning - Firmware WJ.00.10 has audio problems with Asterisk when using G.729A. This firmware activates VAD/CNG which is not supported by Asterisk. Firmware has no features to disable VAD/CNG. It is not possible to downgrade to WJ.00.0f. Only known work around is to use G.711, which still may not work if Asterisk is configured with "canreinvite=no". papafox
- added 2005-04-27 : PLEASE ADD "qualify=3000" in your sip.conf to give time to p2000w to rebuild the screen when a incoming call come to the phone. otherwise, when the clock screensaver is displayed, then phone is assimiles as "busy" ;-). teji
- added 2005-04-19 : actual firmware WJ.00.0f (europe) work fine and accept incoming call from asterisk 1.0.7 . teji
See also
- ZyXEL P2000W: General information and reviews
- WiSiP: A very similar phone
- Zyxel
- Asterisk phones
- Asterisk


Comments
333Stun setting only in webinterface
333Password Problem
The phone will only register with Asterisk if the password (secret) is blank, otherwise I get a "Registration from '' failed for '#MyIP#' - Wrong password" error in the log. Any ideas?
333Re: Zyxel registering and audio problems
333Seems to lose IP packages
Dit put the following in the Asterisk sip.conf file:
[general]
realm=sip.fwiarda.com
bindport=5060
bindaddr=0.0.0.0
srvlookup=yes
nat=yes
canreinvite=no
disallow=all
allow=alaw
allow=all
externip=213.84.70.99
localnet=10.0.0.0/8
[1_zyxel]
type=friend
host=dynamic
secret=*****
context=phone
[2]
.
.
[31264460839]
.
.
Did put the following in the Asterisk extensions.conf file:
[phone]
exten => 1,1,Dial(SIP/1_zyxel/1_zyxel,60,r)
exten => 2,1,Dial(SIP/2/2,60,r)
.
.
exten => _Z.,1,SetCallerID(31264460839)
exten => _Z.,2,Dial(SIP/31264460839/${EXTEN})
Single digits are extensions, multiple digits are external phone numbers that I dial through a Sipura 3000. I would have liked to use a 1 digit extension number in the Zyxel, but that was not allowed. Therefore I did add the _zyxel suffix.
I have noticed the following problems:
1) Works reasonably well for outgoing calls, but incoming calls are troublesome. Incoming calls have the best chance of getting through just after finishing an outgoing call;
2) The web configuration is not working well. My web browser regulary times out retrieving the configuration pages. It seems to improve if one starts making calls during configuration;
3) The battery was making bad contact. I had to put a toothpick in the battery compartment to press the battery better against it's contacts.
I suspect that these problems are caused by a battery saving algorithm in the software. In DECT phones it is common that the radio receiver is not listening continuesly. The handset is in some kind of sleep mode during which the radio receiver listens only for a fraction of the time to the air interface. Since pagings for call set-ups are repeated, one paging request will finally come through. Then the handset wakes up and starts listening continuesly, so being able to handle the call. After the call has finished, the handset is put in sleep mode again. That way the handset improves it's standby time. Having designed DECT phones myself, I know that tuning these battery saving algorithms can be difficult. I the receiver sleeps to long, incoming calls get losts. If it sleeps not long enough the standby time is bad.
I suspect that Zyxel is having problems here as well. If one wakes up the handset by making a call, the web configuration works better. And when the call is finished it takes some time before the reciever is put to sleep again. During this time incoming calls get through without problems.
I think this phone is still a prototype. All these problems give me a deja-vu feeling from the time I was working on DECT.
333
333Fun toy, 'Got it on eBay'
Firmware ftp://ftp.us.zyxel.com/P2000Wv2/firmware/wv0003_img.ftp
Manual ftp://ftp.us.zyxel.com/P2000Wv2/document/P-2000Wv2_WV0001_UG.pdf
Now it all works great. Have made a few dozen calls and received as many on it. The wireless works great all over our office and at home too. Nothing special in any of the configurations. I love my new toy. (Oh wait, work paid for it, it's a tool to make me more productive.)
If you have one with old firmware, get the new firmware and give it a try.
333Re: Zyxel works only for outgoing calls
Walter
333Registrar username: 895
Walter
333works fine for me
My buddy even tells me it sounds a whole lot better than when I was using my handytone 286!
333name displaying