[asterisk-users] Fwd: asterisk-users Digest, Vol 95, Issue 33

neo haux neo.haux at gmx.com
Sun Jun 24 12:12:44 CDT 2012


Thanks I had this line in my /etc/asterisk/chan_dahdi.conf :

include=/etc/asterisk/dahdi-channels.conf


the file /etc/asterisk/dahdi-channels.conf was generated by
/usr/sbin/dahdi_genconf

I simply did that :
cat /etc/asterisk/dahdi-channels.conf >> /etc/asterisk/chan_dahdi.conf

It works now.

May be the option "include" is not supported within the file chan_dahdi.conf

------------------------------

Message: 2
Date: Sat, 23 Jun 2012 16:34:35 -1000
From: Julian Yap <julianokyap at gmail.com>
Subject: Re: [asterisk-users] Can't make call with TDM410P
To: Asterisk Users Mailing List - Non-Commercial Discussion
       <asterisk-users at lists.digium.com>
Message-ID:
       <CAC8s5NRG34tQgQN+Ff0kuqr2MPcs8WovF7Yghwh_GbZ67u7p+Q at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Sat, Jun 23, 2012 at 10:32 AM, neo haux <neo.haux at gmx.com> wrote:
> Actually I can start and receive SIP calls (PC client, iphone client)
> but?I have an issue with calling external number throught PSTN
> (certified-asterisk-1.8.11-cert2).
>
> I'm having this ?error when making a call:
>
> *CLI> ? == Using SIP RTP CoS mark 5
> ? ? -- Executing [9000 at local:1] Dial("SIP/3000-00000006",
> "DAHDI/1/4384019357,10") in new stack
> [Jun 23 16:18:09] WARNING[28781]: app_dial.c:2218 dial_exec_full:
> Unable to create channel of type 'DAHDI' (cause 0 - Unknown)
> ? == Everyone is busy/congested at this time (1:0/0/1)
> ? ? -- Executing [9000 at local:2] Hangup("SIP/3000-00000006", "") in new stack
> ? == Spawn extension (local, 9000, 2) exited non-zero on 'SIP/3000-00000006'
>
>
> My configs :
> *CLI> dahdi show channels
> ? ?Chan Extension ?Context ? ? ? ? Language ? MOH Interpret
> Blocked ? ?State
> ?pseudo ? ? ? ? ? ?default ? ? ? ? ? ? ? ? ? ?default
> ?? ? ? In Service

Where are your channels?  That's why you are receiving the error
"Unable to create channel of type 'DAHDI'".

Define your channel groups in /etc/asterisk/chan_dahdi.conf

Then is should look like this:
# asterisk -rx "dahdi show channels"
  Chan Extension  Context         Language   MOH Interpret
Blocked    State
 pseudo            default                    default
      In Service
     1            from-external   en         default
      In Service
     2            from-external   en         default
      In Service
     3            from-external   en         default
      In Service
     4            from-external   en         default
      In Service
     5            from-external   en         default
      In Service
     6            from-external   en         default
      In Service
...

- Julian



More information about the asterisk-users mailing list