This is, hopefully, just a case of brain fade. With zapata.conf and zaptel.conf in place, asterisk loaded, no dial plan and all LEDS on the card lit, I get no dial tone, plugging an analog phone into ports 1 or 2, only a buzz and click. zaptel.conf - defaultzone=us loadzone=us fxoks=1,2 fxsks=3,4 zapata.conf [channels] signalling=fxo_ks language=us context=phones-1 group=0 ##switchtype=national ##pridialplan=national channel=1 signalling=fxs_ks language=us context=line-1 group=0 ##switchtype=national ##pridialplan=national channel=4 joe a.
On Sat, Jan 24, 2009 at 06:38:58PM -0500, joea at j4computers.com wrote:> This is, hopefully, just a case of brain fade. > > With zapata.conf and zaptel.conf in place, asterisk loaded, no dial > plan and all LEDS on the card lit, I get no dial tone, plugging an > analog phone into ports 1 or 2, only a buzz and click.What version of asterisk is it? What is the output of: cat /proc/zaptel/* asterisk -rx 'zap show channels'> > zaptel.conf - > > defaultzone=us > loadzone=us > fxoks=1,2 > fxsks=3,4 > > zapata.conf > > [channels] > > signalling=fxo_ks > language=us > context=phones-1 > group=0 > ##switchtype=national > ##pridialplan=nationalUse ';' for comments. '#' are for preprocessor directives. This happens to also disable almost any line, but also create an annoying warning in the logs. Have you looked at the logs, BTW?> channel=1This only defines the first port . What about 2?> > signalling=fxs_ks > language=us > context=line-1 > group=0 > ##switchtype=national > ##pridialplan=national > channel=4Same comments: what about 3? It is also normally kind of pointless to put both phones and POTS lines in the same group (group 0, in your case). -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
On Saturday, January 24, 2009, joea at j4computers.com wrote:> This is, hopefully, just a case of brain fade.> With zapata.conf and zaptel.conf in place, asterisk loaded, no dial > plan and all LEDS on the card lit, I get no dial tone, plugging an > analog phone into ports 1 or 2, only a buzz and click.Which version of Zaptel do you have? At first sight, this seems similar to the issue that I had where none of my Zap channels were working. I'd just upgraded Asterisk from 1.2 to 1.4 but hadn't upgraded Zaptel. Upgrading Zaptel to 1.4.12 did the trick for me. HTH, -- Geoff
On Saturday 24 January 2009, joea at j4computers.com wrote:> This is, hopefully, just a case of brain fade. > > With zapata.conf and zaptel.conf in place, asterisk loaded, no dial plan > and all LEDS on the card lit, I get no dial tone, plugging an analog phone > into ports 1 or 2, only a buzz and click.Make sure you have FXS modules at 1,2 and remember they use FXO signalling in config (yours looks fine for this case). Check if the wctdm and zaptel modules are loaded into kernel. They don't load automatically after compilation. Remeber to run ztcfg to configure init scripts. #lsmod | grep wctdm #lsmod | zaptel If not, try to modprobe them and restart asterisk.> > zaptel.conf - > > defaultzone=us > loadzone=us > fxoks=1,2 > fxsks=3,4channels=1-4 #you must have this to apply your settings to channels.> > zapata.conf > > [channels] > > signalling=fxo_ks > language=us > context=phones-1 > group=0 > ##switchtype=national > ##pridialplan=national > channel=1Where is channel 2 configured? channel=1-2> > signalling=fxs_ks > language=us > context=line-1 > group=0 > ##switchtype=national > ##pridialplan=national > channel=4channel=3-4>Martin