Hi,

Hardware is b410p with :
- span1 jumpers set to NT (no 100 ohm termination)
- span2 jumpers set to TE (no 100 ohm termination)
- straight cable from port1 to port2

Scheme:

--------------------
                   1----------
                   |          |   <------ cat5 patch cord
                   2----------
   B410P      |
                   3
                   |
                   4
                   |
--------------------



/etc/dahdi/system.conf :
span=1,0,0,ccs,ami
bchan=1,2
dchan=3
span=2,1,0,ccs,ami
bchan=4,5
dchan=6


/etc/asterisk/chan_dahdi.conf:
context=isdntrunk
group=1
callgroup=1
pickupgroup=1
immediate=no

signalling=bri_cpe
channel=>1-2
signalling=bri_net
channel=>4-5

/etc/asterisk/extensions.ael
...
context mylocal {
        _10. => {
                Dial(DAHDI/g1/${EXTEN:1});
                Hangup();
        };
        _753[0356] => {
                Dial(SIP/${EXTEN});
                Hangup();
        };
};

context isdntrunk {
        _X. => {
                NoOp(Call from ${CALLERID(num)});
                Dial(SIP/7530);
                Hangup();
        };
        s => {
                NoOp(Call from ${CALLERID(num)});
                Dial(SIP/7530);
                Hangup();
        };
};

# /etc/init.d/dahdi start
Loading DAHDI hardware modules:
   wct4xxp: done   wcte12xp: done   wct1xxp: done   wcte11xp: done
wctdm24xxp: done   wcfxo: done   wctdm: done   wcb4xxp: done   xpp_usb: done
Running dahdi_cfg: done.

# dahdi_cfg -vvv
DAHDI Tools Version - 2.1.0-rc5

DAHDI Version: 2.1.0-rc5
Echo Canceller(s):
Configuration
======================

SPAN 1: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 2: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)

Channel map:

Channel 01: Clear channel (Default) (Slaves: 01)
Channel 02: Clear channel (Default) (Slaves: 02)
Channel 03: D-channel (Default) (Slaves: 03)
Channel 04: Clear channel (Default) (Slaves: 04)
Channel 05: Clear channel (Default) (Slaves: 05)
Channel 06: D-channel (Default) (Slaves: 06)

6 channels to configure.

# /etc/init.d/asterisk start
# asterisk -r

after dialing 10123456789
Executing [EMAIL PROTECTED]:1] Dial("SIP/7533-095aaae0",
"DAHDI/g1/0123456789") in new stack
[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)
  == Everyone is busy/congested at this time (1:0/1/0)




Is there something obvious in configuration keeping this "self-looping
trunk" to work ?

Regards
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Reply via email to