Run Script Action When Dahdi Phone Goes Off-hook?



Long story short - I have an ancient Britsh Telecom phone attached to my Asterisk PBX via Dahdi. It works beautifully, receiving calls, and the call quality is excellent. However, dialling out is impossible, as Asterisk consistently mis-reads the number of pulses the dial sends (it could be a squiffy dial, I'm not sure). Not to mention the fact that, in today's modern "want it now" age, waiting up to 3 seconds between digits whilst the rotary dial does its thing gets old very quickly...

As with all Dahdi connected phones, when I lift the handset, I immediately see:

-- Starting…

Asterisk Users 4 months ago 2 Answers

Call Accepted From Not Registered Peers?


Hi list!

So, new day, new problem...

I tried right now to call from my cellphone a peer in my Asterisk. The cellphone has correct credentials, but it's NOT registered on my Asterisk, now.

I just tried to call a peer in my network, from a peer not yet registered. And it works... :(

The very curious thing is, that I can't find how the call will be accepted... Every section in my dialplan has a log, and no log will be displayed on the CLI...

I just see:

== Using SIP RTP CoS mark 5 -- Executing [00493511111111@default:1] Dial("SIP/00491773333333-0000000b", "SIP/00493511111111&DAHDI/1") in new stack ==…

Asterisk Users 4 months ago 1 Answer

What Conditions Allow The Use Of Dahdi Native Bridge?


Hi all,

I want to test the Native Bridge mode of DAHDI (FXS/FXO). I use asterisk 11.14.2 and DAHDI 2.8.0.

I try to set callwaiting = no AND callwaitingcallerid = no in chan_dahdi.conf. But I can't find native bridging information from CLI(opened debug mode in logger.conf). How can I test the dahdi_bridge in native bridge mode?

I use normal dial command ex: Dial(DAHDI/2,30,tTkK) to dial from FXS1 to FXS2.

Does anyone kind to help me solve it?

Asterisk Users 8 months ago 3 Answers

Dahdi_genconf Fails With "Empty Configuration - No Spans"



I just installed a Debian Jessie box from scratch which sports a Digium TE435 digital card.

I installed the software, built and loaded the kernel modules:

# dpkg -l|grep dahdi ii asterisk-dahdi 1:11.13.1~dfsg-2+b1 amd64 DAHDI devices support for the Asterisk PBX ii dahdi 1: amd64 utilities for using the DAHDI kernel modules ii dahdi-linux 1: all DAHDI telephony interface - Linux userspace parts ii dahdi-modules-3.16.0-4-amd64:amd64 1: amd64 DAHDI modules for Linux (kernel 3.16.0-4-amd64) ii dahdi-source 1: all DAHDI telephony interface - source code for kernel driver

# dahdi_hardware pci:0000:0a:00.0 wcte43x+ d161:800e Wildcard TE435/235

# lsmod|grep -E 'dahdi|wct' wcte43x 56864 0 oct612x 162715 1…

Asterisk Users 9 months ago 5 Answers

Ubuntu 12.04 LTS / Asterisk / Apt-get Upgrade / Exclude Packages



I have Asterisk 11 with DAHDI (Sangoma E1-Card) running on Ubuntu 12.04 LTS. Asterisk and DAHDI-Drivers are installed from source.

When doing an "apt-get upgrade" the system packages will be update but sometimes Asterisk is broken. Which packages do I have to exclude when I do not have time to recompile Asterisk/Dahdi each time? libc? Kernel-Packages?

Thanks so far! -Thorsten-

Asterisk Users 1 years ago 4 Answers

Dahdi Problem With Dahdi_genconf



It's the first time i try to configure an ISDN card with dahdi, so my experience is very poor (be kind ;))

My problem is with dahdi_genconf, when i start it it says:

/usr/sbin/dahdi_span_assignments: Missing '/sys/bus/dahdi_devices/devices' (DAHDI driver unloaded?) Command failed (status%6): 'dahdi_span_assignments dumpconfig > /etc/dahdi/assigned-spans.conf' at /usr/local/share/perl/5.18.2/Dahdi/Config/Gen/ line 40.

Here is my dahdi_scan:

[1] active=yes alarms=UNCONFIGURED description=HFC-S PCI A ISDN card 0 [TE] name=ZTHFC1 manufacturer=Cologne Chips devicetype=HFC-S PCI-A ISDN location=PCI Bus 01 Slot 10 basechan=1 totchans=3 irq type=digital-TE syncsrc=0 lbo=0 db (CSU)/0-133 feet (DSX-1) coding_opts=AMI framing_opts

Asterisk Users 1 years ago 3 Answers

Change Codec When Dial From SIP To DAHDI


Hi: I am useing asterisk 11.12. I use G722 as preferred codec for my ip-phone. and my PSTN DAHDI use alaw. G722 is great when ip-phone talks to each other. but when ip-phone dialout to PSTN DAHDI, G722 is not great, since it is need to transcode to alaw. so I try to change the codec when dial from SIP to DAHDI. I tried to use IP_CODEC/SIP_CODEC_OUTBOUND at dialplan. but the SIP codec change after dahdi answered the channel. so everything is broken. the call log like below:

[2014-09-23 21:18:46] VERBOSE[11634][C-0000000d] pbx.c:

Asterisk Users 1.1 years ago 6 Answers

DAHDI Loading Issue On Asterisk


Try starting Asterisk with the -f option. It will NOT fork into the background so you will see all messages on startup (including any that might not end up in the log file). Search for DAHDI errors which will likely be there.

Also, if you configure everything and start DAHDI but don't start Asterisk and run "dahdi_tool", is it showing you the circuits in an "OK" state?


Asterisk Users 1.5 years ago 2 Answers

Archlinux Dahdi Start Script


I asked a similar question yesterday but unfortunately I somehow got disconnected from this group and I may have missed a response. Wanting a systemd start script for dahdi for archlinux. The install does not seem to make one. Has anyone created one or is there a way to create one from the make config scripts? I really don't need to load any modules other than dahdi itself for my application so I guess it oculd be as simple as 'modprobe dahdi' for the load. Also I have not built asterisk yet in archlinux. Does it create a systemd script…

Asterisk Users 1.5 years ago 0 Answers