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 <[email protected]>
Subject: Re: [asterisk-users] Can't make call with TDM410P
To: Asterisk Users Mailing List - Non-Commercial Discussion
       <[email protected]>
Message-ID:
       <cac8s5nrg34tqgqn+ff0kuqr2mpcs8wovf7yghwh_gbz67u7...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Sat, Jun 23, 2012 at 10:32 AM, neo haux <[email protected]> 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@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@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

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to