Bukoka Budoka
2005-Nov-18 05:18 UTC
[Asterisk-Users] wcfxo loads correclty after issuing twice the command "ztcfg -vvvv" !!
Hi to all, when i issue the ztcfg command for the first time i get the message "Changing signalling on channel 1 from Unused to FXS Kewlstart". When i issue it for the second time i get the normal message "1 channels configured." Has anyone any ideas of why not to have the normal behavior on the first place (i mean without passing from "Unused to FXS Kewlstart" and then to "1 channels configured." ??? ------------------------------------------------------- [root@asterisk ~]# ztcfg -vvv Zaptel Configuration ===================== Channel map: Channel 01: FXS Kewlstart (Default) (Slaves: 01) 1 channels configured. Changing signalling on channel 1 from Unused to FXS Kewlstart [root@asterisk ~]# ztcfg -vvv Zaptel Configuration ===================== Channel map: Channel 01: FXS Kewlstart (Default) (Slaves: 01) 1 channels configured. My Zaptel is as follows: fxsks=1 loadzone=us defaultzone=us -------------------------------------------------- My zapata is as follows: [channels] context=outgoing ;switchtype=national signalling=fxs_ks ;rxwink=300 ; Atlas seems to use long (250ms) winks ;flash=10000 usecallerid=no hidecallerid=yes callwaiting=no usecallingpres=no callwaitingcallerid=no threewaycalling=no transfer=no cancallforward=no callreturn=no echocancel=yes echotraining=yes echocancelwhenbridged=yes rxgain=3.0 txgain=-1.0 group=1 callgroup=1 pickupgroup=1 immediate=yes cidsignalling=bell channel => 1 The zaptel driver as well as the wcfxo driver is loaded in rc.local: modprobe zaptel modprobe wcfxo /sbin/ztcfg -vvvvv /usr/sbin/asterisk -vvv &> /var/log/asterisk/status-log & thank you all, Budoka. _________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.com/
Tzafrir Cohen
2005-Nov-18 07:39 UTC
[Asterisk-Users] wcfxo loads correclty after issuing twice the command "ztcfg -vvvv" !!
On Fri, Nov 18, 2005 at 01:18:50PM +0100, Bukoka Budoka wrote:> Hi to all, > > when i issue the ztcfg command for the first time i get the message > "Changing signalling on channel 1 from Unused to FXS Kewlstart". > > When i issue it for the second time i get the normal message "1 channels > configured." > > Has anyone any ideas of why not to have the normal behavior on the first > place (i mean without passing from "Unused to FXS Kewlstart" and then to "1 > channels configured." ???The default behaviour of ztcfg is to print nothing, unless there is an error. You obviously want to know a bit more about what exactly it does, which is why you ask it to tell you more details:> > ------------------------------------------------------- > > [root@asterisk ~]# ztcfg -vvvThat is: "ztcfg: pelase be very verbose" And in return it tells you not only that it sets the signalling to FXS, but also that it wasn't set previously. A minor, technical detail. -- Tzafrir Cohen | tzafrir@jbr.cohens.org.il | VIM is http://tzafrir.org.il | | a Mutt's tzafrir@cohens.org.il | | best ICQ# 16849755 | | friend
Dulmandakh Sukhbaatar
2005-Nov-27 22:04 UTC
[Asterisk-Users] wcfxo loads correclty after issuing twice the command "ztcfg -vvvv" !!
Bukoka Budoka wrote:> Hi to all, > > when i issue the ztcfg command for the first time i get the message > "Changing signalling on channel 1 from Unused to FXS Kewlstart". > > When i issue it for the second time i get the normal message "1 > channels configured." > > Has anyone any ideas of why not to have the normal behavior on the > first place (i mean without passing from "Unused to FXS Kewlstart" and > then to "1 channels configured." ??? > > ------------------------------------------------------- > > [root@asterisk ~]# ztcfg -vvv > > Zaptel Configuration > =====================> > > Channel map: > > Channel 01: FXS Kewlstart (Default) (Slaves: 01) > > 1 channels configured. > > Changing signalling on channel 1 from Unused to FXS Kewlstart > > > [root@asterisk ~]# ztcfg -vvv > > Zaptel Configuration > =====================> > > Channel map: > > Channel 01: FXS Kewlstart (Default) (Slaves: 01) > > 1 channels configured. > > My Zaptel is as follows: > > fxsks=1 > loadzone=us > defaultzone=us > -------------------------------------------------- > > My zapata is as follows: > > [channels] > context=outgoing > ;switchtype=national > signalling=fxs_ks > ;rxwink=300 ; Atlas seems to use long (250ms) winks > ;flash=10000 > usecallerid=no > hidecallerid=yes > callwaiting=no > usecallingpres=no > callwaitingcallerid=no > threewaycalling=no > transfer=no > cancallforward=no > callreturn=no > echocancel=yes > echotraining=yes > echocancelwhenbridged=yes > rxgain=3.0 > txgain=-1.0 > group=1 > callgroup=1 > pickupgroup=1 > immediate=yes > cidsignalling=bell > channel => 1 > > > The zaptel driver as well as the wcfxo driver is loaded in rc.local: > > modprobe zaptel > modprobe wcfxo > /sbin/ztcfg -vvvvv > /usr/sbin/asterisk -vvv &> /var/log/asterisk/status-log & > > thank you all, > > Budoka. > > _________________________________________________________________ > Don't just search. Find. Check out the new MSN Search! > http://search.msn.com/ > > _______________________________________________ > --Bandwidth and Colocation sponsored by Easynews.com -- > > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-usersIf you run ztcfg first time after a new configuration, it will show first screen, specially when you change signalling configs. Afterward ztcfg will show second, until you make change. :D