Hi,<br><br>Hardware is b410p with :<br>- span1 jumpers set to NT (no 100 ohm termination)<br>- span2 jumpers set to TE (no 100 ohm termination)<br>- straight cable from port1 to port2<br><br>Scheme:<br><br>--------------------<br>
1----------<br> | | <------ cat5 patch cord<br> 2----------<br> B410P |<br> 3<br>
|<br> 4<br> |<br>--------------------<br><br><br><br>/etc/dahdi/system.conf :<br>span=1,0,0,ccs,ami<br>bchan=1,2<br>dchan=3<br>span=2,1,0,ccs,ami<br>bchan=4,5<br>dchan=6<br>
<br><br>/etc/asterisk/chan_dahdi.conf:<br>context=isdntrunk<br>group=1<br>callgroup=1<br>pickupgroup=1<br>immediate=no<br><br>signalling=bri_cpe<br>channel=>1-2<br>signalling=bri_net<br>channel=>4-5<br><br>/etc/asterisk/extensions.ael<br>
...<br>context mylocal {<br> _10. => {<br> Dial(DAHDI/g1/${EXTEN:1});<br> Hangup();<br> };<br> _753[0356] => {<br> Dial(SIP/${EXTEN});<br> Hangup();<br>
};<br>};<br><br>context isdntrunk {<br> _X. => {<br> NoOp(Call from ${CALLERID(num)});<br> Dial(SIP/7530);<br> Hangup();<br> };<br> s => {<br>
NoOp(Call from ${CALLERID(num)});<br> Dial(SIP/7530);<br> Hangup();<br> };<br>};<br><br># /etc/init.d/dahdi start<br>Loading DAHDI hardware modules:<br> wct4xxp: done wcte12xp: done wct1xxp: done wcte11xp: done wctdm24xxp: done wcfxo: done wctdm: done wcb4xxp: done xpp_usb: done<br>
Running dahdi_cfg: done.<br><br># dahdi_cfg -vvv<br>DAHDI Tools Version - 2.1.0-rc5<br><br>DAHDI Version: 2.1.0-rc5<br>Echo Canceller(s):<br>Configuration<br>======================<br><br>SPAN 1: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)<br>
SPAN 2: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)<br><br>Channel map:<br><br>Channel 01: Clear channel (Default) (Slaves: 01)<br>Channel 02: Clear channel (Default) (Slaves: 02)<br>Channel 03: D-channel (Default) (Slaves: 03)<br>
Channel 04: Clear channel (Default) (Slaves: 04)<br>Channel 05: Clear channel (Default) (Slaves: 05)<br>Channel 06: D-channel (Default) (Slaves: 06)<br><br>6 channels to configure.<br><br># /etc/init.d/asterisk start<br># asterisk -r<br>
<br>after dialing 10123456789<br>Executing [10123456789@mylocal:1] Dial("SIP/7533-095aaae0", "DAHDI/g1/0123456789") in new stack<br>[Dec 1 09:59:22] WARNING[5011]: app_dial.c:1739 dial_exec_full: Unable to create channel of type 'DAHDI' (cause 34 - Circuit/channel congestion)<br>
== Everyone is busy/congested at this time (1:0/1/0)<br><br><br><br><br>Is there something obvious in configuration keeping this "self-looping trunk" to work ?<br><br>Regards<br><br><br>