Skip to main content

TDM800P Dialout Problem

Posted by brycejlowe on Wed, 09/22/2010

Hello All,

I am currently working on a project to replace our existing Asterisk 1.4 (using Thirdlane version 4) with a new Asterisk 1.6 system with the latest version of Thirdlane. I am setting up a lab to do some testing with.

I am running into a problem however. I have server running the Asterisk 1.6.2.13 with all the latest addons from asterisk.org, my connection to the telephone network is through a Digium TDM800P (with 8 FXO ports) and I have three phone lines plugged into it (on ports 1-3).

I am using the autogenerated system.conf in /etc/dahdi and i have editied the dahdi-channels.conf file in /etc/asterisk so the context is from-outside. All 3 POTS lines are part of group 0 (the default). I have added the following line to chan_dahdi.conf, #include dahdi-channels.conf, to include the auto generated file.

In thirdlane I have created a DAHDI trunk called g0 and configured my outbound routes to use that trunk with the 1 trunk script.

In bound calls are working fine, I call in and get the demo offices are now open or closed. It is outbound calling I am having problems with. Occationally dialing dailing out works (91areacodenumber) but more often than not i get an error stating you must dial a 1 before this number. Looking at the output on the console I see when dialing out DAHDI/g0/1areacodenumber. It seems like something is stripping off the 1 somehow. Again this is a default install, I haven't made any changes to what digits are being stripped. Local calls that only require 9number are failing completely and I am assuming it is because the first digit is being stripped.

I am assuming there is just something that I am missing but I can't find it. I would be happy to provide examples or if anyone has any documentation (I have read some of the Thirdlane Administrators guide) that would be great.

Thanks


Submitted by brycejlowe on Fri, 09/24/2010 Permalink

Yes it is the same number. It sometimes works and sometimes doesn't. I have the number of digits to strip set to one on the trunk because i am using the pattern match _91NXXNXXXXXX to dial out. It is odd because when it happens i have forced appended a 1 to the trunk making the DAHDI channel dial 11areacodenumber and it works. Somehow an additional number is being stripped and i can't figure out why.

I have compiled and installed a basic version of asterisk, dahdi, libpri, asterisk addons onto the box and have tried dialing DAHDI/1/1areacodenumber (no trunk group) and it is doing the same thing.