I'm am THE "dahdi dummy"! Can someone who knows it help a dummy out?

I have done at least 25 Asterisk builds on Centos 5.4, Debian Lenny and Unbuntu Karmic. But I am a Dahdi dummy (no pun intended). Only 1 of those successful builds ever used dahdi for anything but a timing source.

I am trying to install a new Xorcom Astribank with 1 t1 port and 8 fxs ports. Fxs is working. I am in the US and this is a pretty standard PRI/T1 from Cincinnati Bell.

The one dahdi hardware build I did had 1 fxs and 1 fxo from Openvox on a PCI card (Ubuntu 9.10). I remember it being a bit of a challenge but nothing like this Xorcom Astribank. And,… Xorcom has pretty much snubbed me on tech support.

So after 3 days I finally got all 8 of the FXS ports to take and make calls and that was only after I looked up my notes from the Openvox install 8 months ago.

I hit a wall when it came time to plug in the T1 and cut over the rest of the system. If I try to call out I get all circuits are busy. If I call in on 1 of the DIDs CLI starts looping (see output below) and FreePBX status says I have 9 active calls.

I have inbound routes for all the DIDs on the T1 and a Zap/Dadhi trunk called g0 and I made it the only trunk on my outbound, to-pstn route.

When I plug in, “dahdi show status” gives me an OK on the T1 interface and the FXS unit. “Dahdi show channels” shows me channels 1 to 23 with ISDN-PRI signalling and 25 to 32 with Fxo kewl start signalling.

All my dahdi configuration files are listed below. Can anyone spot any mistakes and give me a little Dahdi for dummies lesson. I have to complete this cutover in a week and I am getting desperate with no help from Xorcom.

System Summary:
Ubuntu 9.10 - Updated with apt-get today
Asterisk 1.4.29
Dahdi Complete 2.2.1
FreePBX 2.7.0 - updated today
libusb-dev was installed before compile
xpploader is installed and seems to work
I get perl errors from usb.pm when I run dahdi_hardware but dahdi_genconf seemed to work anyway and build the fxs channels properly.
All FXS channels have matching extensions built by FreePBX
amportal…conf has ZAP2DAHDICOMPAT=true

Dahdi Configuration files:
/etc/dahdi/system.conf

[channels]
;#include dahdi-channels.conf
#include chan_dahdi_custom.conf
#include chan_dahdi_additional.conf

/etc/dahdi/xpp.conf

pri_protocol T1

/etc/asterisk/chan_dahdi_custom.conf

;Created 04/08/2010 for Cincinnati Bell Evolve T1
context=from-pstn
switchtype=national
signalling=pri_cpe
faxdetect=incoming
usecallerid=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=800
group=0
channel => 1-23

/etc/asterisk/chan_dahdi_additional.conf
;Created by FreePBX for 8 FXS ports on Astribank - ***** FXS PORTS WORK! *****
;--------------------------------------------------------------------------------;
; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to ;
; this file must be done via the web gui. There are alternative files to make ;
; custom modifications, details at: http://freepbx.org/configuration_files ;
;--------------------------------------------------------------------------------;
;

;;;;;;[6325]
signalling=fxo_ks
pickupgroup=
mailbox=6325@device
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-internal
callprogress=no
callgroup=
callerid=device <6325>
busydetect=no
busycount=7
accountcode=
channel=>25

;;;;;;[6326]
signalling=fxo_ks
pickupgroup=
mailbox=6326@device
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-internal
callprogress=no
callgroup=
callerid=device <6326>
busydetect=no
busycount=7
accountcode=
channel=>26

;;;;;;[6327]
signalling=fxo_ks
pickupgroup=
mailbox=6327@device
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-internal
callprogress=no
callgroup=
callerid=device <6327>
busydetect=no
busycount=7
accountcode=
channel=>27

;;;;;;[6328]
signalling=fxo_ks
pickupgroup=
mailbox=6328@device
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-internal
callprogress=no
callgroup=
callerid=device <6328>
busydetect=no
busycount=7
accountcode=
channel=>28

;;;;;;[6329]
signalling=fxo_ks
pickupgroup=
mailbox=6329@device
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-internal
callprogress=no
callgroup=
callerid=device <6329>
busydetect=no
busycount=7
accountcode=
channel=>29

;;;;;;[6330]
signalling=fxo_ks
pickupgroup=
mailbox=6330@device
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-internal
callprogress=no
callgroup=
callerid=device <6330>
busydetect=no
busycount=7
accountcode=
channel=>30

;;;;;;[6331]
signalling=fxo_ks
pickupgroup=
mailbox=6331@device
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-internal
callprogress=no
callgroup=
callerid=device <6331>
busydetect=no
busycount=7
accountcode=
channel=>31

;;;;;;[6332]
signalling=fxo_ks
pickupgroup=
mailbox=6332@device
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-internal
callprogress=no
callgroup=
callerid=device <6332>
busydetect=no
busycount=7
accountcode=
channel=>32

CLI ouput from incoming call

[Apr 9 17:08:52] WARNING[16863] chan_sip.c: This function can only be used on SIP channels.
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@custom-incoming:1] Set(“DAHDI/1-1”, “Var_FROM_DOMAIN=”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@from-pstn:4] Set(“DAHDI/23-1”, “__CALLINGPRES_SV=allowed_not_screened”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@custom-incoming:2] GotoIf(“DAHDI/1-1”, “0?5:3”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@from-pstn:5] SetCallerPres(“DAHDI/23-1”, “allowed_not_screened”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Goto (custom-incoming,s,3)
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@custom-incoming:3] GotoIf(“DAHDI/1-1”, “0?5:4”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@from-pstn:6] Goto(“DAHDI/23-1”, “custom-incoming|s|1”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Goto (custom-incoming,s,4)
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@custom-incoming:4] GotoIf(“DAHDI/1-1”, “0?5:7”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Goto (custom-incoming,s,1)
[Apr 9 17:08:52] WARNING[16875] chan_sip.c: This function can only be used on SIP channels.
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@custom-incoming:1] Set(“DAHDI/23-1”, “Var_FROM_DOMAIN=”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Goto (custom-incoming,s,7)
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@custom-incoming:7] Goto(“DAHDI/1-1”, “from-pstn|s|1”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@custom-incoming:2] GotoIf(“DAHDI/23-1”, “0?5:3”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Goto (from-pstn,s,1)
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@from-pstn:1] Set(“DAHDI/1-1”, “__FROM_DID=s”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Goto (custom-incoming,s,3)
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@custom-incoming:3] GotoIf(“DAHDI/23-1”, “0?5:4”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@from-pstn:2] Gosub(“DAHDI/1-1”, “app-blacklist-check|s|1”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Goto (custom-incoming,s,4)
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@custom-incoming:4] GotoIf(“DAHDI/23-1”, “0?5:7”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@app-blacklist-check:1] LookupBlacklist(“DAHDI/1-1”, “”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Goto (custom-incoming,s,7)
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@custom-incoming:7] Goto(“DAHDI/23-1”, “from-pstn|s|1”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@app-blacklist-check:2] GotoIf(“DAHDI/1-1”, “0?blacklisted”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Goto (from-pstn,s,1)
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@from-pstn:1] Set(“DAHDI/23-1”, “__FROM_DID=s”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@app-blacklist-check:3] Set(“DAHDI/1-1”, “CALLED_BLACKLIST=1”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@from-pstn:2] Gosub(“DAHDI/23-1”, “app-blacklist-check|s|1”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@app-blacklist-check:4] Return(“DAHDI/1-1”, “”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@app-blacklist-check:1] LookupBlacklist(“DAHDI/23-1”, “”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@from-pstn:3] ExecIf(“DAHDI/1-1”, “0 |Set|CALLERID(name)=5132570598”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@app-blacklist-check:2] GotoIf(“DAHDI/23-1”, “0?blacklisted”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@from-pstn:4] Set(“DAHDI/1-1”, “__CALLINGPRES_SV=allowed_not_screened”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@app-blacklist-check:3] Set(“DAHDI/23-1”, “CALLED_BLACKLIST=1”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@from-pstn:5] SetCallerPres(“DAHDI/1-1”, “allowed_not_screened”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@app-blacklist-check:4] Return(“DAHDI/23-1”, “”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@from-pstn:6] Goto(“DAHDI/1-1”, “custom-incoming|s|1”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@from-pstn:3] ExecIf(“DAHDI/23-1”, “0 |Set|CALLERID(name)=5132570598”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Goto (custom-incoming,s,1)
[Apr 9 17:08:52] WARNING[16863] chan_sip.c: This function can only be used on SIP channels.
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@custom-incoming:1] Set(“DAHDI/1-1”, “Var_FROM_DOMAIN=”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@from-pstn:4] Set(“DAHDI/23-1”, “__CALLINGPRES_SV=allowed_not_screened”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@custom-incoming:2] GotoIf(“DAHDI/1-1”, “0?5:3”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@from-pstn:5] SetCallerPres(“DAHDI/23-1”, “allowed_not_screened”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Goto (custom-incoming,s,3)
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@custom-incoming:3] GotoIf(“DAHDI/1-1”, “0?5:4”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@from-pstn:6] Goto(“DAHDI/23-1”, “custom-incoming|s|1”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Goto (custom-incoming,s,4)
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@custom-incoming:4] GotoIf(“DAHDI/1-1”, “0?5:7”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Goto (custom-incoming,s,1)
[Apr 9 17:08:52] WARNING[16875] chan_sip.c: This function can only be used on SIP channels.
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@custom-incoming:1] Set(“DAHDI/23-1”, “Var_FROM_DOMAIN=”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Goto (custom-incoming,s,7)
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@custom-incoming:7] Goto(“DAHDI/1-1”, “from-pstn|s|1”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@custom-incoming:2] GotoIf(“DAHDI/23-1”, “0?5:3”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Goto (from-pstn,s,1)
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@from-pstn:1] Set(“DAHDI/1-1”, “__FROM_DID=s”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Goto (custom-incoming,s,3)
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@custom-incoming:3] GotoIf(“DAHDI/23-1”, “0?5:4”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@from-pstn:2] Gosub(“DAHDI/1-1”, “app-blacklist-check|s|1”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Goto (custom-incoming,s,4)
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@custom-incoming:4] GotoIf(“DAHDI/23-1”, “0?5:7”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@app-blacklist-check:1] LookupBlacklist(“DAHDI/1-1”, “”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Goto (custom-incoming,s,7)
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@custom-incoming:7] Goto(“DAHDI/23-1”, “from-pstn|s|1”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@app-blacklist-check:2] GotoIf(“DAHDI/1-1”, “0?blacklisted”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Goto (from-pstn,s,1)
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@from-pstn:1] Set(“DAHDI/23-1”, “__FROM_DID=s”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@app-blacklist-check:3] Set(“DAHDI/1-1”, “CALLED_BLACKLIST=1”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@from-pstn:2] Gosub(“DAHDI/23-1”, “app-blacklist-check|s|1”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@app-blacklist-check:4] Return(“DAHDI/1-1”, “”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@app-blacklist-check:1] LookupBlacklist(“DAHDI/23-1”, “”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@from-pstn:3] ExecIf(“DAHDI/1-1”, “0 |Set|CALLERID(name)=5132570598”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@app-blacklist-check:2] GotoIf(“DAHDI/23-1”, “0?blacklisted”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@from-pstn:4] Set(“DAHDI/1-1”, “__CALLINGPRES_SV=allowed_not_screened”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@app-blacklist-check:3] Set(“DAHDI/23-1”, “CALLED_BLACKLIST=1”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@from-pstn:5] SetCallerPres(“DAHDI/1-1”, “allowed_not_screened”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@app-blacklist-check:4] Return(“DAHDI/23-1”, “”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@from-pstn:6] Goto(“DAHDI/1-1”, “custom-incoming|s|1”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@from-pstn:3] ExecIf(“DAHDI/23-1”, “0 |Set|CALLERID(name)=5132570598”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Goto (custom-incoming,s,1)
[Apr 9 17:08:52] WARNING[16863] chan_sip.c: This function can only be used on SIP channels.
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@custom-incoming:1] Set(“DAHDI/1-1”, “Var_FROM_DOMAIN=”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@from-pstn:4] Set(“DAHDI/23-1”, “__CALLINGPRES_SV=allowed_not_screened”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@custom-incoming:2] GotoIf(“DAHDI/1-1”, “0?5:3”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@from-pstn:5] SetCallerPres(“DAHDI/23-1”, “allowed_not_screened”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Goto (custom-incoming,s,3)
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@custom-incoming:3] GotoIf(“DAHDI/1-1”, “0?5:4”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@from-pstn:6] Goto(“DAHDI/23-1”, “custom-incoming|s|1”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Goto (custom-incoming,s,4)
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@custom-incoming:4] GotoIf(“DAHDI/1-1”, “0?5:7”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Goto (custom-incoming,s,1)
[Apr 9 17:08:52] WARNING[16875] chan_sip.c: This function can only be used on SIP channels.
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@custom-incoming:1] Set(“DAHDI/23-1”, “Var_FROM_DOMAIN=”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Goto (custom-incoming,s,7)
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@custom-incoming:7] Goto(“DAHDI/1-1”, “from-pstn|s|1”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@custom-incoming:2] GotoIf(“DAHDI/23-1”, “0?5:3”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Goto (from-pstn,s,1)
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@from-pstn:1] Set(“DAHDI/1-1”, “__FROM_DID=s”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Goto (custom-incoming,s,3)
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@custom-incoming:3] GotoIf(“DAHDI/23-1”, “0?5:4”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@from-pstn:2] Gosub(“DAHDI/1-1”, “app-blacklist-check|s|1”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Goto (custom-incoming,s,4)
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@custom-incoming:4] GotoIf(“DAHDI/23-1”, “0?5:7”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@app-blacklist-check:1] LookupBlacklist(“DAHDI/1-1”, “”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Goto (custom-incoming,s,7)
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@custom-incoming:7] Goto(“DAHDI/23-1”, “from-pstn|s|1”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@app-blacklist-check:2] GotoIf(“DAHDI/1-1”, “0?blacklisted”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Goto (from-pstn,s,1)
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@from-pstn:1] Set(“DAHDI/23-1”, “__FROM_DID=s”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@app-blacklist-check:3] Set(“DAHDI/1-1”, “CALLED_BLACKLIST=1”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@from-pstn:2] Gosub(“DAHDI/23-1”, “app-blacklist-check|s|1”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@app-blacklist-check:4] Return(“DAHDI/1-1”, “”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@app-blacklist-check:1] LookupBlacklist(“DAHDI/23-1”, “”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@from-pstn:3] ExecIf(“DAHDI/1-1”, “0 |Set|CALLERID(name)=5132570598”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@app-blacklist-check:2] GotoIf(“DAHDI/23-1”, “0?blacklisted”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@from-pstn:4] Set(“DAHDI/1-1”, “__CALLINGPRES_SV=allowed_not_screened”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@app-blacklist-check:3] Set(“DAHDI/23-1”, “CALLED_BLACKLIST=1”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@from-pstn:5] SetCallerPres(“DAHDI/1-1”, “allowed_not_screened”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@app-blacklist-check:4] Return(“DAHDI/23-1”, “”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@from-pstn:6] Goto(“DAHDI/1-1”, “custom-incoming|s|1”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@from-pstn:3] ExecIf(“DAHDI/23-1”, “0 |Set|CALLERID(name)=5132570598”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Goto (custom-incoming,s,1)
[Apr 9 17:08:52] WARNING[16863] chan_sip.c: This function can only be used on SIP channels.
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@custom-incoming:1] Set(“DAHDI/1-1”, “Var_FROM_DOMAIN=”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@from-pstn:4] Set(“DAHDI/23-1”, “__CALLINGPRES_SV=allowed_not_screened”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@custom-incoming:2] GotoIf(“DAHDI/1-1”, “0?5:3”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@from-pstn:5] SetCallerPres(“DAHDI/23-1”, “allowed_not_screened”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Goto (custom-incoming,s,3)
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@custom-incoming:3] GotoIf(“DAHDI/1-1”, “0?5:4”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@from-pstn:6] Goto(“DAHDI/23-1”, “custom-incoming|s|1”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Goto (custom-incoming,s,4)
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@custom-incoming:4] GotoIf(“DAHDI/1-1”, “0?5:7”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Goto (custom-incoming,s,1)
[Apr 9 17:08:52] WARNING[16875] chan_sip.c: This function can only be used on SIP channels.
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@custom-incoming:1] Set(“DAHDI/23-1”, “Var_FROM_DOMAIN=”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Goto (custom-incoming,s,7)
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@custom-incoming:7] Goto(“DAHDI/1-1”, “from-pstn|s|1”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@custom-incoming:2] GotoIf(“DAHDI/23-1”, “0?5:3”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Goto (from-pstn,s,1)
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@from-pstn:1] Set(“DAHDI/1-1”, “__FROM_DID=s”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Goto (custom-incoming,s,3)
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@custom-incoming:3] GotoIf(“DAHDI/23-1”, “0?5:4”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@from-pstn:2] Gosub(“DAHDI/1-1”, “app-blacklist-check|s|1”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Goto (custom-incoming,s,4)
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@custom-incoming:4] GotoIf(“DAHDI/23-1”, “0?5:7”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@app-blacklist-check:1] LookupBlacklist(“DAHDI/1-1”, “”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Goto (custom-incoming,s,7)
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@custom-incoming:7] Goto(“DAHDI/23-1”, “from-pstn|s|1”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@app-blacklist-check:2] GotoIf(“DAHDI/1-1”, “0?blacklisted”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Goto (from-pstn,s,1)
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@from-pstn:1] Set(“DAHDI/23-1”, “__FROM_DID=s”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@app-blacklist-check:3] Set(“DAHDI/1-1”, “CALLED_BLACKLIST=1”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@from-pstn:2] Gosub(“DAHDI/23-1”, “app-blacklist-check|s|1”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@app-blacklist-check:4] Return(“DAHDI/1-1”, “”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@app-blacklist-check:1] LookupBlacklist(“DAHDI/23-1”, “”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@from-pstn:3] ExecIf(“DAHDI/1-1”, “0 |Set|CALLERID(name)=5132570598”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@app-blacklist-check:2] GotoIf(“DAHDI/23-1”, “0?blacklisted”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@from-pstn:4] Set(“DAHDI/1-1”, “__CALLINGPRES_SV=allowed_not_screened”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@app-blacklist-check:3] Set(“DAHDI/23-1”, “CALLED_BLACKLIST=1”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@from-pstn:5] SetCallerPres(“DAHDI/1-1”, “allowed_not_screened”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@app-blacklist-check:4] Return(“DAHDI/23-1”, “”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@from-pstn:6] Goto(“DAHDI/1-1”, “custom-incoming|s|1”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@from-pstn:3] ExecIf(“DAHDI/23-1”, “0 |Set|CALLERID(name)=5132570598”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Goto (custom-incoming,s,1)
[Apr 9 17:08:52] WARNING[16863] chan_sip.c: This function can only be used on SIP channels.
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@custom-incoming:1] Set(“DAHDI/1-1”, “Var_FROM_DOMAIN=”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@from-pstn:4] Set(“DAHDI/23-1”, “__CALLINGPRES_SV=allowed_not_screened”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@custom-incoming:2] GotoIf(“DAHDI/1-1”, “0?5:3”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@from-pstn:5] SetCallerPres(“DAHDI/23-1”, “allowed_not_screened”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Goto (custom-incoming,s,3)
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@custom-incoming:3] GotoIf(“DAHDI/1-1”, “0?5:4”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@from-pstn:6] Goto(“DAHDI/23-1”, “custom-incoming|s|1”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Goto (custom-incoming,s,4)
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@custom-incoming:4] GotoIf(“DAHDI/1-1”, “0?5:7”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Goto (custom-incoming,s,1)
[Apr 9 17:08:52] WARNING[16875] chan_sip.c: This function can only be used on SIP channels.
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@custom-incoming:1] Set(“DAHDI/23-1”, “Var_FROM_DOMAIN=”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Goto (custom-incoming,s,7)
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@custom-incoming:7] Goto(“DAHDI/1-1”, “from-pstn|s|1”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@custom-incoming:2] GotoIf(“DAHDI/23-1”, “0?5:3”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Goto (from-pstn,s,1)
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@from-pstn:1] Set(“DAHDI/1-1”, “__FROM_DID=s”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Goto (custom-incoming,s,3)
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@custom-incoming:3] GotoIf(“DAHDI/23-1”, “0?5:4”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@from-pstn:2] Gosub(“DAHDI/1-1”, “app-blacklist-check|s|1”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Goto (custom-incoming,s,4)
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@custom-incoming:4] GotoIf(“DAHDI/23-1”, “0?5:7”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@app-blacklist-check:1] LookupBlacklist(“DAHDI/1-1”, “”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Goto (custom-incoming,s,7)
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@custom-incoming:7] Goto(“DAHDI/23-1”, “from-pstn|s|1”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@app-blacklist-check:2] GotoIf(“DAHDI/1-1”, “0?blacklisted”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Goto (from-pstn,s,1)
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@from-pstn:1] Set(“DAHDI/23-1”, “__FROM_DID=s”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@app-blacklist-check:3] Set(“DAHDI/1-1”, “CALLED_BLACKLIST=1”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@from-pstn:2] Gosub(“DAHDI/23-1”, “app-blacklist-check|s|1”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@app-blacklist-check:4] Return(“DAHDI/1-1”, “”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@app-blacklist-check:1] LookupBlacklist(“DAHDI/23-1”, “”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@from-pstn:3] ExecIf(“DAHDI/1-1”, “0 |Set|CALLERID(name)=5132570598”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@app-blacklist-check:2] GotoIf(“DAHDI/23-1”, “0?blacklisted”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@from-pstn:4] Set(“DAHDI/1-1”, “__CALLINGPRES_SV=allowed_not_screened”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@app-blacklist-check:3] Set(“DAHDI/23-1”, “CALLED_BLACKLIST=1”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@from-pstn:5] SetCallerPres(“DAHDI/1-1”, “allowed_not_screened”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@app-blacklist-check:4] Return(“DAHDI/23-1”, “”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Executing [s@from-pstn:6] Goto(“DAHDI/1-1”, “custom-incoming|s|1”) in new stack
[Apr 9 17:08:52] VERBOSE[16875] logger.c: – Executing [s@from-pstn:3] ExecIf(“DAHDI/23-1”, “0 |Set|CALLERID(name)=5132570598”) in new stack
[Apr 9 17:08:52] VERBOSE[16863] logger.c: – Goto (custom-incoming,s,1)
[Apr 9 17:08:52] WARNING[16863] chan_sip.c: This function can only be used on SIP channels

I won’t know for sure until I can test on Monday April 12th.

I will post the results.

I fixed inbound dialing from the t1. First I had to figure out that the Group statement had to be after the channels statement in the conf. I am also a t1 dummy and did not know that I would only get the last 4 digits of the DIDs from Cinbell. I figured that out when I saw the CLI output after I moved the group statment.

The analog FXS ports are still working on inbound and outbound calls that I make from phones that I have attached.

But I can’t call out on the Zap compatible Dahdi trunk.

A weird thing I noticed when I called out from one of the SIP extensions was that the call went to the FXS Dahdi port phone.

So now I am thinking there is some major flaw in my dial plan.

Still looking for help,

The dadhdi dummy

The April 12th tests failed.

I fought with this until 2am on the 15th.

Problem was Cincinnati Bell had set up their Adtran unit with a list of my DIDs to authenticate calls from the inside to the PSTN.

I had thrashed around so much changing my conf files that I had the usecallerid=yes after the channel => 1-23 not knowing it had to be before in the sequence.

Once I fixed that and put matching DIDs on all my outbound routes and/or extensions I was golden.

Had I put the outbound CIDs on my routes or extensions the above settings would have worked.

My advice to any other Dahdi Dummies out there is to beat as much info about your Telco side config out of your Telco’s techs as possible before you try to add any T1, E1 or FXO hardware to your Asterisk Box. Also,…don’t use Xorcom if you have a deadline and might need their support. They were good but very slllooooowwwww! and their USB interface raises the degree of difficulty a bunch if you are not using Trixbox or Elastix and want to run on anything but Centos.

Keep the faith my fellow Asterisk Geeks,

Michael