Hi guys,<div><br></div><div>Did you get some explanation? I&#39;m suffering the exact issue. It could be I need some additional dependencies than before?</div><div><br></div><div>Regards,</div><div><br></div><div>Elder<br>
<br><div class="gmail_quote">On Mon, Jul 25, 2011 at 7:59 AM, Soeren Malchow (MCon) <span dir="ltr">&lt;<a href="mailto:soeren.malchow@mcon.net">soeren.malchow@mcon.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Dear Shaun,<br>
<br>
First, thanks for you answer<br>
<br>
The installed dahdi driver is the latest one from the <a href="http://asterisk.org" target="_blank">asterisk.org</a> installed via APT.<br>
<br>
There is no command pri show channels. Maybe the signaling is wrong ? but I never had to use other signaling than pri_cpe on euroisdn.<br>
<br>
I can also install from source, I will investigate the signalling first, will let you know what happens<br>
<br>
Regards<br>
<font color="#888888">Soeren<br>
</font><div><div></div><div class="h5"><br>
<br>
<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>] On Behalf Of Shaun Ruffell<br>

Sent: Monday, July 25, 2011 6:15 PM<br>
To: Asterisk Users Mailing List - Non-Commercial Discussion<br>
Subject: Re: [asterisk-users] dahdi channels busy/congested<br>
<br>
On Mon, Jul 25, 2011 at 08:43:02AM +0000, Soeren Malchow (MCon) wrote:<br>
&gt; Dear all,<br>
&gt;<br>
&gt; i have a problem with a system running<br>
&gt;<br>
&gt; - Ubuntu 10.04 ( all updates done )<br>
&gt; - ii  asterisk                        1:1.8.5.0-1digium1~lucid          Open Source Private Branch Exchange (PBX)<br>
&gt; - ii  asterisk-dahdi                  1:1.8.5.0-1digium1~lucid          DAHDI devices support for the Asterisk PBX<br>
&gt;<br>
&gt; I also use freepbx 2.9 for the configuration.<br>
&gt;<br>
&gt; Hardware is a Dell R410 and a Digium Wildcard<br>
&gt;<br>
&gt;  wcte12xp+    d161:8000 Wildcard TE121<br>
&gt;<br>
&gt; The status is as follows,<br>
&gt; - all drivers are loaded and the E1 card shows a GREEN LED and no<br>
&gt; alarms<br>
&gt; - asterisk is up<br>
&gt; - the provider is Bharti Airtel in India<br>
&gt; - the configuration was copied from my PBX in germany and slightly<br>
&gt; modified, that is a asterisk 1.4 though<br>
&gt;<br>
&gt; &lt;--snip--&gt;<br>
&gt; root@pbx01]: ~/backup/asterisk # dahdi_cfg -f -t -vv DAHDI Tools<br>
&gt; Version - 2.2.1<br>
&gt;<br>
&gt; DAHDI Version: 2.2.1<br>
<br>
This seems like an old version of the driver if the package is based on 1.8.5...  but I don&#39;t think that by itself is what is causing your problems.<br>
<br>
&gt; Contents of dahdi-channels.conf<br>
&gt;<br>
&gt; group=0<br>
&gt; context=from-pstn<br>
&gt; switchtype=euroisdn<br>
&gt; signalling=pri_cpe<br>
&gt; group=0<br>
&gt; channel =&gt; 1-15,17-31<br>
&gt; context=default<br>
&gt; group=63<br>
&gt;<br>
&gt; And no matter whether i call in or out it does not work, from<br>
&gt; internally i get the following error ( parts of the phonenumbers are<br>
&gt; removed )<br>
&gt;<br>
&gt;     -- Executing [s@macro-dialout-trunk:20] Dial(&quot;SIP/1990-00000001&quot;,<br>
&gt; &quot;DAHDI/g0/9560XXXXXX,300,&quot;) in new stack [Jul 25 14:10:31] WARNING[6121]: chan_dahdi.c:5098 dahdi_confmute: DAHDI confmute(0) failed on channel 1: Invalid argument<br>
&gt;     -- Couldn&#39;t call DAHDI/g0/9560XXXXXX [Jul 25 14:10:31]<br>
&gt; WARNING[6121]: chan_dahdi.c:5098 dahdi_confmute: DAHDI confmute(0)<br>
&gt; failed on channel 1: Invalid argument [Jul 25 14:10:31] WARNING[6121]:<br>
&gt; chan_dahdi.c:5041 restore_gains: Unable to restore gains: Invalid argument [Jul 25 14:10:31] WARNING[6121]: chan_dahdi.c:4724 reset_conf: Failed to reset conferencing on channel 1: Invalid argument<br>
&gt;     -- Hungup &#39;DAHDI/1-1&#39;<br>
&gt;   == Everyone is busy/congested at this time (0:0/0/0)<br>
&gt;     -- Executing [s@macro-dialout-trunk:21] NoOp(&quot;SIP/1990-00000001&quot;, &quot;Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 0&quot;) in new stack<br>
&gt;     -- Executing [s@macro-dialout-trunk:22] Goto(&quot;SIP/1990-00000001&quot;, &quot;s-CHANUNAVAIL,1&quot;) in new stack<br>
&gt;     -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)<br>
&gt;     -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set(&quot;SIP/1990-00000001&quot;, &quot;RC=0&quot;) in new stack<br>
&gt;     -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto(&quot;SIP/1990-00000001&quot;, &quot;0,1&quot;) in new stack<br>
&gt;     -- Goto (macro-dialout-trunk,0,1)<br>
&gt;     -- Executing [0@macro-dialout-trunk:1] Goto(&quot;SIP/1990-00000001&quot;, &quot;continue,1&quot;) in new stack<br>
&gt;     -- Goto (macro-dialout-trunk,continue,1)<br>
&gt;     -- Executing [continue@macro-dialout-trunk:1] GotoIf(&quot;SIP/1990-00000001&quot;, &quot;1?noreport&quot;) in new stack<br>
&gt;     -- Goto (macro-dialout-trunk,continue,3)<br>
&gt;     -- Executing [continue@macro-dialout-trunk:3]<br>
&gt; NoOp(&quot;SIP/1990-00000001&quot;, &quot;TRUNK Dial failed due to CHANUNAVAIL<br>
&gt; HANGUPCAUSE: 0 - failing through to other trunks&quot;) in new stack<br>
<br>
The invalid argument results from the call to confmute *appear* to me like the channel was never set into AUDIOMODE, which from a quick scan of code would only be the case if PRI support was not enabled in chan_dahdi, and then that would have resulted in an error when setting the signalling to pri_cpe. So I&#39;m not quite sure. My best guess is that there is some issue with how the package was created (especially given the old version of DAHDI reported with then 1.8 branch of Asterisk).<br>

<br>
Is there any DAHDI related output in &#39;dmesg&#39;? What is the output of &quot;pri show channels&quot; on the asterisk command line? Are you able to install from source?<br>
<br>
--<br>
Shaun Ruffell<br>
Digium, Inc. | Linux Kernel Developer<br>
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at: <a href="http://www.digium.com" target="_blank">www.digium.com</a> &amp; <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a><br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> -- New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br></div>