[asterisk-users] Anybody using TE410P on BT ISDN with DAHDI?
A J Stiles
asterisk_list at earthshod.co.uk
Tue Jun 22 16:15:42 CDT 2010
Right. I think I might be getting somewhere.
First I commented out all the lines relating to spans 2, 3 and 4 in
my /etc/dahdi/system.conf and /etc/asterisk/chan_dahdi.conf, and set up a
very minimal dialplan in /etc/asterisk/extensions.conf (just 2 extensions).
Then I connected up just span 1 (which I know works, because it's been
working fine with the old setup) and started Asterisk.
Each extension managed to call the other OK. Good so far. And no warnings
about missing D-channels. Looking promising. I even managed to call out --
but not back in, because my dialplan was incomplete. One quick edit later,
and I had inbound calls ringing both extensions.
Next I tried uncommenting just span 2 in /etc/dahdi/system.conf
and /etc/asterisk/chan_dahdi.conf, though without the cable plugged into the
card. And I got:
[Jun 22 21:12:00] WARNING[4175]: chan_dahdi.c:4160 pri_find_dchan: No
D-channels available! Using Primary channel 16 as D-channel anyway!
[Jun 22 21:12:00] WARNING[4176]: chan_dahdi.c:4160 pri_find_dchan: No
D-channels available! Using Primary channel 47 as D-channel anyway!
Plugging in span 2 made it work. Unplugging span 2 made it not work:
[Jun 22 21:17:23] NOTICE[4616]: chan_dahdi.c:12690 pri_dchannel: PRI got
event: HDLC Abort (6) on Primary D-channel of span 2
[Jun 22 21:17:34] ERROR[4616]: chan_dahdi.c:12389 dahdi_pri_error: PTP MDL
can't handle error of type I
[Jun 22 21:17:34] ERROR[4616]: chan_dahdi.c:12389 dahdi_pri_error: MDL-ERROR
(I): T200 = N200 in timer recovery state 8
[Jun 22 21:17:36] ERROR[4615]: chan_dahdi.c:12389 dahdi_pri_error: PTP MDL
can't handle error of type I
[Jun 22 21:17:36] ERROR[4615]: chan_dahdi.c:12389 dahdi_pri_error: MDL-ERROR
(I): T200 = N200 in timer recovery state 8
== Primary D-Channel on span 2 down
[Jun 22 21:17:38] WARNING[4616]: chan_dahdi.c:4160 pri_find_dchan: No
D-channels available! Using Primary channel 47 as D-channel anyway!
== Primary D-Channel on span 1 down
[Jun 22 21:17:40] WARNING[4615]: chan_dahdi.c:4160 pri_find_dchan: No
D-channels available! Using Primary channel 16 as D-channel anyway!
[Jun 22 21:17:42] WARNING[4616]: chan_dahdi.c:4160 pri_find_dchan: No
D-channels available! Using Primary channel 47 as D-channel anyway!
So, as far as I can tell, the important thing is: it doesn't like having
spans uncommented in the config files that aren't connected to anything:
even the ones that are connected to something, don't work. In fact, even
after commenting-out the unwanted lines and restarting DAHDI, I get:
[Jun 22 21:34:18] WARNING[5651]: chan_dahdi.c:4160 pri_find_dchan: No
D-channels available! Using Primary channel 16 as D-channel anyway!
and then I get
== Primary D-Channel on span 1 up
after which, it works! Calls between extensions, and in and out via the ISDN.
Now I seem to be getting somewhere, at least. Next step will be to go away
for awhile and write a proper dialplan!
--
AJS
More information about the asterisk-users
mailing list