Re: [asterisk-users] DAHDI congestion problem

2009-09-28 Thread Tzafrir Cohen
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,4

You 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.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

___
-- 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


Re: [asterisk-users] DAHDI congestion problem

2009-09-28 Thread Ismael Ruiz
Hi!

I had the same problem...
dahdi_transcode command solved the problem!

CheerS!

 Ismael.

On Mon, Sep 28, 2009 at 1:25 AM, Tzafrir Cohen tzafrir.co...@xorcom.comwrote:

 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,4

 You 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.co...@xorcom.comjabber%3atzafrir.co...@xorcom.com
 +972-50-7952406   mailto:tzafrir.co...@xorcom.com
 http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

 ___
 -- 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

___
-- 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

Re: [asterisk-users] DAHDI congestion problem

2009-09-28 Thread Landy Landy
I have a similar problem with DAHDI. If my server gets rebooted, I can't make 
any calls until the a call come in from outside. From there I can answer the 
call and DAHDI works fine afterwards.

--- On Mon, 9/28/09, Tzafrir Cohen tzafrir.co...@xorcom.com wrote:

 From: Tzafrir Cohen tzafrir.co...@xorcom.com
 Subject: Re: [asterisk-users] DAHDI congestion problem
 To: asterisk-users@lists.digium.com
 Date: Monday, September 28, 2009, 2:25 AM
 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,4
 
 You 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.co...@xorcom.com
 +972-50-7952406       
    mailto:tzafrir.co...@xorcom.com
 http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir
 
 ___
 -- 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
 


  

___
-- 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


Re: [asterisk-users] DAHDI congestion problem

2009-09-28 Thread Tzafrir Cohen
On Mon, Sep 28, 2009 at 04:56:01AM -0700, Landy Landy wrote:
 I have a similar problem with DAHDI. If my server gets rebooted, I can't make 
 any calls until the a call come in from outside. From there I can answer the 
 call and DAHDI works fine afterwards.

In your case: is the problem reset by restarting asterisk? 'dahdi
resstart'?

Also, please look at the reply he gets: 

0/1/0 (Busy/Congested/Not-Available) - the call was marked as
congested. Is that the same for you?

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

___
-- 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


Re: [asterisk-users] DAHDI congestion problem

2009-09-28 Thread Landy Landy

 In your case: is the problem reset by restarting asterisk?
 'dahdi
 resstart'?

The problem does not reset by restarting asterisk.
I've noticed that I can call other sip phones but, when trying to call out, I 
get the same (Busy/Congested/Not-Available) congested messege. 


  

___
-- 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


Re: [asterisk-users] DAHDI congestion problem

2009-09-28 Thread Barry Miller
On Mon, Sep 28, 2009 at 02:26:29PM +0200, Tzafrir Cohen wrote:
 On Mon, Sep 28, 2009 at 04:56:01AM -0700, Landy Landy wrote:
  I have a similar problem with DAHDI. If my server gets rebooted, I can't 
  make any calls until the a call come in from outside. From there I can 
  answer the call and DAHDI works fine afterwards.
 
 In your case: is the problem reset by restarting asterisk? 'dahdi
 resstart'?
 
 Also, please look at the reply he gets: 
 
 0/1/0 (Busy/Congested/Not-Available) - the call was marked as
 congested. Is that the same for you?
  
Funny.  The first thing I always do after a reboot is call in from my
cell to make sure things work.  But last night I rebooted and immediately
tried dialing out (with a TDM842B) and got:

WARNING[2720]: app_dial.c:1721 dial_exec_full: Unable to create channel of type 
'DAHDI' (cause 34 - Circuit/channel congestion)

Restarting all of Asterisk or 'dahdi restart' didn't matter.  Neither FXO
card would make an outgoing call until it had received an incoming one.
This with DAHDI 2.2.0.2.

--Barry

___
-- 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


Re: [asterisk-users] DAHDI congestion problem

2009-09-28 Thread Danny Nicholas
I've read about this problem a few times with DAHDI.  Since it only takes
about 5 minutes to remake a release of DAHDI, I would keep a release like
2.1.0.4 on hand to fall back on in case this isn't some minor mistake.
DAHDI is still relatively new (about 18 months) and this rears it's head
every few tweaks (at least in the forum, perhaps not in real life).

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Barry Miller
Sent: Monday, September 28, 2009 12:59 PM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] DAHDI congestion problem

On Mon, Sep 28, 2009 at 02:26:29PM +0200, Tzafrir Cohen wrote:
 On Mon, Sep 28, 2009 at 04:56:01AM -0700, Landy Landy wrote:
  I have a similar problem with DAHDI. If my server gets rebooted, I can't
make any calls until the a call come in from outside. From there I can
answer the call and DAHDI works fine afterwards.
 
 In your case: is the problem reset by restarting asterisk? 'dahdi
 resstart'?
 
 Also, please look at the reply he gets: 
 
 0/1/0 (Busy/Congested/Not-Available) - the call was marked as
 congested. Is that the same for you?
  
Funny.  The first thing I always do after a reboot is call in from my
cell to make sure things work.  But last night I rebooted and immediately
tried dialing out (with a TDM842B) and got:

WARNING[2720]: app_dial.c:1721 dial_exec_full: Unable to create channel of
type 'DAHDI' (cause 34 - Circuit/channel congestion)

Restarting all of Asterisk or 'dahdi restart' didn't matter.  Neither FXO
card would make an outgoing call until it had received an incoming one.
This with DAHDI 2.2.0.2.

--Barry

___
-- 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


___
-- 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


Re: [asterisk-users] DAHDI congestion problem

2009-09-28 Thread Shaun Ruffell
On 09/28/2009 01:06 PM, Danny Nicholas wrote:
 Funny.  The first thing I always do after a reboot is call in from my
 cell to make sure things work.  But last night I rebooted and immediately
 tried dialing out (with a TDM842B) and got:

 WARNING[2720]: app_dial.c:1721 dial_exec_full: Unable to create channel of
 type 'DAHDI' (cause 34 - Circuit/channel congestion)

 Restarting all of Asterisk or 'dahdi restart' didn't matter.  Neither FXO
 card would make an outgoing call until it had received an incoming one.
 This with DAHDI 2.2.0.2.


This sounds like https://issues.asterisk.org/view.php?id=15429.

---
Shaun Ruffell
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com  www.asterisk.org

___
-- 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


Re: [asterisk-users] DAHDI congestion problem

2009-09-28 Thread Barry Miller
On Mon, Sep 28, 2009 at 04:09:43PM -0500, Shaun Ruffell wrote:
 On 09/28/2009 01:06 PM, Danny Nicholas wrote:
  Funny.  The first thing I always do after a reboot is call in from my
  cell to make sure things work.  But last night I rebooted and immediately
  tried dialing out (with a TDM842B) and got:
 
  WARNING[2720]: app_dial.c:1721 dial_exec_full: Unable to create channel of
  type 'DAHDI' (cause 34 - Circuit/channel congestion)
 
  Restarting all of Asterisk or 'dahdi restart' didn't matter.  Neither FXO
  card would make an outgoing call until it had received an incoming one.
  This with DAHDI 2.2.0.2.
 
 
 This sounds like https://issues.asterisk.org/view.php?id=15429.

It is.  Thanks.  (I'm the guy whose post is blamed on Danny Nicholas.)
This: https://issues.asterisk.org/file_download.php?file_id=22725type=bug
against DAHDI SVN-branch-2.2-r7039M fixes it. 

What's interesting about this is that my normal post-boot testing, which
starts with does incoming PSTN work?, actually served to mask the
problem.  There's a lesson there somewhere.

--Barry

___
-- 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


Re: [asterisk-users] DAHDI congestion problem

2009-09-27 Thread Andy Howell
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 [...@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 InterpretBlocked   
  State
4from-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  IRQbpviol 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/0x
 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


___
-- 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