Jarkko Nevala
2006-Oct-18 14:40 UTC
[asterisk-users] echotraining=yes in misdn.conf is invalid or out of range.
Hi. I'm having problems with chan_mISDN configuration. Line "echotraining=yes" causes warning, when Asterisk is parsing misdn.conf and I'm confused why the PBX doesn't accept the setting. No matter which section I try to offer it, it is always invalid or out of range. The setting itself is supposed to be valid, it is in the sample configuration file of chan_mISDN 0.3.1. When I list the configuration of the ISDN-ports with "misdn show config", I can find values for echocancel and echocacelwhenbridged, but no mention about echotraining. I'm running Asterisk 1.2.10 on OpenSuse 10.1 with chan_misdn-0.3.1-rc23. The hardware platform is HP server with Intel XEON processor and three hfcpci BRI -cards in TE -mode. ------------------------------------------------- Here's the message I get: == Parsing '/etc/asterisk/misdn.conf': Found Oct 19 00:33:54 WARNING[4443]: misdn_config.c:660 _build_port_config: misdn.conf: "echotraining=yes" (section: default) invalid or out of range. Please edit your misdn.conf and then do a "misdn reload". ------------------------------------------------- And here is my misdn.conf: [general] debug=1 bridging=no tracefile=/var/log/asterisk/misdn.trace [default] echocancel=yes echotraining=yes hold_allowed=yes screen=-1 presentation=-1 senddtmf=yes [isdn_call] ports=1,2,3 context=isdn_in msns=* ------------------------------------------------- Have you got any idea what is causing this and how I could get the echo training working? Thank you for your help. Jarkko
Giorgio Incantalupo
2006-Oct-19 02:00 UTC
[asterisk-users] echotraining=yes in misdn.conf is invalid or out of range.
Hi Jarkko, I had the same problem..It worked with an old version of misdn-install (taken from beronet site) but not with actual mqueue-misdn-install. I tried to put it in every misdn.conf section I have without success. The updated beronet install manual doesn't mention that parameter anymore so I removed it from misdn.conf. Giorgio Incantalupo Jarkko Nevala wrote:> Hi. > > I'm having problems with chan_mISDN configuration. Line > "echotraining=yes" causes warning, when Asterisk is parsing misdn.conf > and I'm confused why the PBX doesn't accept the setting. No matter > which section I try to offer it, it is always invalid or out of range. > The setting itself is supposed to be valid, it is in the sample > configuration file of chan_mISDN 0.3.1. > > When I list the configuration of the ISDN-ports with "misdn show > config", I can find values for echocancel and echocacelwhenbridged, > but no mention about echotraining. > > I'm running Asterisk 1.2.10 on OpenSuse 10.1 with > chan_misdn-0.3.1-rc23. The hardware platform is HP server with Intel > XEON processor and three hfcpci BRI -cards in TE -mode. > > ------------------------------------------------- > > Here's the message I get: > > == Parsing '/etc/asterisk/misdn.conf': Found > Oct 19 00:33:54 WARNING[4443]: misdn_config.c:660 _build_port_config: > misdn.conf: "echotraining=yes" (section: default) invalid or out of > range. Please edit your misdn.conf and then do a "misdn reload". > > ------------------------------------------------- > > And here is my misdn.conf: > > [general] > debug=1 > bridging=no > tracefile=/var/log/asterisk/misdn.trace > > [default] > echocancel=yes > echotraining=yes > hold_allowed=yes > screen=-1 > presentation=-1 > senddtmf=yes > > [isdn_call] > ports=1,2,3 > context=isdn_in > msns=* > > ------------------------------------------------- > > Have you got any idea what is causing this and how I could get the > echo training working? > > Thank you for your help. > > Jarkko > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Tomislav ParĨina
2006-Oct-20 04:57 UTC
[asterisk-users] Re: echotraining=yes in misdn.conf is invalid or out of range.
In article <45373EC0.50408@fgasoftware.com>, gincantalupo@fgasoftware.com says...> Hi Jarkko, > I had the same problem..It worked with an old version of misdn-install > (taken from beronet site) but not with actual mqueue-misdn-install. I > tried to put it in every misdn.conf section I have without success. The > updated beronet install manual doesn't mention that parameter anymore > so I removed it from misdn.conf.I have also BeroNet card but I'm unable to start Asterisk with chan_misdn. This is the error that I get on CLI. Oct 18 15:10:21 ERROR[5860] chan_misdn.c: Unable to initialize mISDN Oct 18 15:10:21 WARNING[5860] loader.c: chan_misdn.so: load_module failed, returning -1 Oct 18 15:10:21 VERBOSE[5860] chan_misdn.c: -- Unregistering mISDN Channel Driver -- Oct 18 15:10:21 WARNING[5860] loader.c: Loading module chan_misdn.so failed! And I have started "misdn-init start" [root@pbx83 ~]# /etc/init.d/misdn-init start which: no lsusb in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/lo cal/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin) [!!] FATAL: lsusb not in path, please install. ----------------------------------------- Loading module(s) for your misdn-cards: ----------------------------------------- modprobe --ignore-install hfcmulti type=0x4 protocol=0x2,0x2,0x2,0x2 layermask=0 xf,0xf,0xf,0xf poll=128 debug=0 modprobe mISDN_dsp debug=0x0 options=0 poll=128 dtmftreshold=100 [i] creating device node: /dev/mISDN And I believe I have all modules loaded: [root@pbx83 ~]# lsmod Module Size Used by mISDN_dsp 202764 0 mISDN_capi 103180 0 l3udss1 45020 0 mISDN_l2 41812 0 mISDN_l1 12732 0 capi 18049 0 capifs 5961 2 capi kernelcapi 46689 2 mISDN_capi,capi md5 4033 1 ipv6 266433 10 parport_pc 28805 0 lp 13001 0 parport 39689 2 parport_pc,lp autofs4 27333 2 rfcomm 42589 0 l2cap 30021 5 rfcomm bluetooth 55109 4 rfcomm,l2cap sunrpc 162821 1 ztdummy 3924 0 wcusb 19488 0 wctdm 35392 0 wcfxo 13216 0 wctdm24xxp 120384 0 wcte11xp 36384 0 wct1xxp 20000 0 wct4xxp 312000 0 tor2 92704 0 zaptel 206468 9 ztdummy,wcusb,wctdm,wcfxo,wctdm24xxp,wcte11xp,wc t1xxp,wct4xxp,tor2 crc_ccitt 2113 1 zaptel video 15941 0 button 6609 0 battery 9413 0 ac 4805 0 ohci1394 39817 0 ieee1394 304057 1 ohci1394 uhci_hcd 34897 0 ehci_hcd 39757 0 shpchp 91205 0 i2c_viapro 8145 0 i2c_core 21825 1 i2c_viapro hfcmulti 79144 0 mISDN_core 79840 6 mISDN_dsp,mISDN_capi,l3udss1,mISDN_l2,mISDN_l1,h fcmulti via_rhine 27465 0 mii 5569 1 via_rhine dm_snapshot 17669 0 dm_zero 2113 0 dm_mirror 25261 0 ext3 132297 2 jbd 79449 1 ext3 dm_mod 58997 6 dm_snapshot,dm_zero,dm_mirror Do you know what could be the problem? -- Tomislav Par?ina Lama Computers Split Stinice 12, 21000 Split Tel.: +385(21)270248 Mob.: +385(91)1212148 SIP: tomo@sip.lama.hr e-mail: tparcina#lama.hr http://www.lama.hr