I am unable to dial out over a Wildcard TDM400P. This was working previously, so must have messed up the config somehow. I'm running Asterisk 1.6.0.15, with FreePBX 2.5.2.2. When I dial, I see: -- Executing [s at macro-dialout-trunk:19] Dial("DAHDI/1-1", "DAHDI/g0/9239220,300,") in new stack == Everyone is busy/congested at this time (1:0/1/0) It looks like the group is valid: dahdi show channels group g0 Chan Extension Context Language MOH Interpret Blocked State 4 from-zaptel en default In Service The only Warning or Error I see is when asterisk first starts a new call. logger.c: -- Starting simple switch on 'DAHDI/1-1' [Sep 27 15:55:50] WARNING[4199] chan_dahdi.c: Unable to enable echo cancellation on channel 1 (No such device) On my TDM400P card, channel 1 is my analog phone, 2 my fax, and 4 the POTS line. More config files etc below. Any ideas? Thanks, Andy /etc/dahdi/system.conf # Autogenerated by /usr/sbin/dahdi_genconf on Wed Jun 10 22:20:05 2009 -- do not hand edit # Dahdi Configuration File # # This file is parsed by the Dahdi Configurator, dahdi_cfg # # Span 1: WCTDM/4 "Wildcard TDM400P REV E/F Board 5" (MASTER) fxols=1 #echocanceller=mg2,1 fxols=2 #echocanceller=mg2,2 # channel 3, WCTDM/4/2, no module. fxsks=4 echocanceller=mg2,4 # Global data loadzone = us defaultzone = us dahdi show status Description Alarms IRQ bpviol CRC4 Fra Codi Options LBO Wildcard TDM400P REV E/F Board 5 OK 0 0 0 CAS Unk YEL 0 db (CSU)/0-133 feet (DSX-1) dahdi show channel 4 Channel: 4I> File Descriptor: 20 Span: 1*CLI> Extension: Dialing: no Context: from-zaptel Caller ID: Calling TON: 0 Caller ID name: Mailbox: none Destroy: 0 InAlarm: 0I> Signalling Type: FXS Kewlstart Radio: 0 Owner: <None> Real: <None> Callwait: <None> Threeway: <None> Confno: -1 Propagated Conference: -1 Real in conference: 0 DSP: no Busy Detection: yes Busy Count: 6 Busy Pattern: 0,0 TDD: no Relax DTMF: no Dialing/CallwaitCAS: 0/0 Default law: ulaw Fax Handled: no Pulse phone: no DND: no Echo Cancellation: 128 taps (unless TDM bridged) currently OFF Actual Confinfo: Num/0, Mode/0x0000 Actual Confmute: No Hookstate (FXS only): Onhook
Andy Howell wrote:> I am unable to dial out over a Wildcard TDM400P. This was working previously, so must have > messed up the config somehow. I'm running Asterisk 1.6.0.15, with FreePBX 2.5.2.2. > > When I dial, I see: > > -- Executing [s at macro-dialout-trunk:19] Dial("DAHDI/1-1", "DAHDI/g0/9239220,300,") in > new stack > == Everyone is busy/congested at this time (1:0/1/0) > > It looks like the group is valid: > > dahdi show channels group g0 > Chan Extension Context Language MOH Interpret Blocked State > 4 from-zaptel en default In Service > > > The only Warning or Error I see is when asterisk first starts a new call. > > logger.c: -- Starting simple switch on 'DAHDI/1-1' > [Sep 27 15:55:50] WARNING[4199] chan_dahdi.c: Unable to enable echo cancellation on > channel 1 (No such device) > > On my TDM400P card, channel 1 is my analog phone, 2 my fax, and 4 the POTS line. > > More config files etc below. Any ideas? > > Thanks, > > Andy > > /etc/dahdi/system.conf > # Autogenerated by /usr/sbin/dahdi_genconf on Wed Jun 10 22:20:05 2009 -- do not hand edit > # Dahdi Configuration File > # > # This file is parsed by the Dahdi Configurator, dahdi_cfg > # > # Span 1: WCTDM/4 "Wildcard TDM400P REV E/F Board 5" (MASTER) > fxols=1 > #echocanceller=mg2,1 > fxols=2 > #echocanceller=mg2,2 > # channel 3, WCTDM/4/2, no module. > fxsks=4 > echocanceller=mg2,4 > > # Global data > > loadzone = us > defaultzone = us > > > dahdi show status > Description Alarms IRQ bpviol CRC4 Fra Codi Options LBO > Wildcard TDM400P REV E/F Board 5 OK 0 0 0 CAS Unk YEL 0 > db (CSU)/0-133 feet (DSX-1) > > dahdi show channel 4 > Channel: 4I> > File Descriptor: 20 > Span: 1*CLI> > Extension: > Dialing: no > Context: from-zaptel > Caller ID: > Calling TON: 0 > Caller ID name: > Mailbox: none > Destroy: 0 > InAlarm: 0I> > Signalling Type: FXS Kewlstart > Radio: 0 > Owner: <None> > Real: <None> > Callwait: <None> > Threeway: <None> > Confno: -1 > Propagated Conference: -1 > Real in conference: 0 > DSP: no > Busy Detection: yes > Busy Count: 6 > Busy Pattern: 0,0 > TDD: no > Relax DTMF: no > Dialing/CallwaitCAS: 0/0 > Default law: ulaw > Fax Handled: no > Pulse phone: no > DND: no > Echo Cancellation: > 128 taps > (unless TDM bridged) currently OFF > Actual Confinfo: Num/0, Mode/0x0000 > Actual Confmute: No > Hookstate (FXS only): Onhook > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > AstriCon 2009 - October 13 - 15 Phoenix, Arizona > Register Now: http://www.astricon.net > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >Sorry to reply to my own post. I found that if I receive a call, I can then make outgoing calls until I reboot again. There must be something on my config that doesn't fully initialize the card. Once I've received a call, I can restart asterisk and it still works. Weird. Regards, Andy
Just to answer your side issue: On Sun, Sep 27, 2009 at 04:05:30PM -0500, Andy Howell wrote:> The only Warning or Error I see is when asterisk first starts a new call. > > logger.c: -- Starting simple switch on 'DAHDI/1-1' > [Sep 27 15:55:50] WARNING[4199] chan_dahdi.c: Unable to enable echo cancellation on > channel 1 (No such device) > > On my TDM400P card, channel 1 is my analog phone, 2 my fax, and 4 the POTS line. > > More config files etc below. Any ideas? > > Thanks, > > Andy > > /etc/dahdi/system.conf > # Autogenerated by /usr/sbin/dahdi_genconf on Wed Jun 10 22:20:05 2009 -- do not hand edit > # Dahdi Configuration File > # > # This file is parsed by the Dahdi Configurator, dahdi_cfg > # > # Span 1: WCTDM/4 "Wildcard TDM400P REV E/F Board 5" (MASTER) > fxols=1 > #echocanceller=mg2,1 > fxols=2 > #echocanceller=mg2,2 > # channel 3, WCTDM/4/2, no module. > fxsks=4 > echocanceller=mg2,4You get the "ENODEV" (No such device) error when trying to create an echo canceller on channel 1 simply because there isn't any echo canceller on channel one. Enable the above echocanceller lines, or use a single one for all of them. But that's not your real issue. -- 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