Unable to execute dahdi_scan

Get help with installing, upgrading and running Asterisk.

Moderators: muppetmaster, Moderator, Support

Unable to execute dahdi_scan

Postby tonj » Tue May 08, 2012 2:58 pm

I've got the following line appearing a lot in the asterisk.log:
WARNING[number]: app_system.c:134 in system_exec_helper: Unable to execute 'dahdi_scan > /etc/asterisk/dahdi_scan.conf'
I can't find any info on google about this. What is asterisk trying to do and what can I do to solve it?
tonj
Oldsterisk
 
Posts: 50
Joined: Tue Sep 06, 2011 3:55 am

Re: Unable to execute dahdi_scan

Postby sruffell » Tue May 08, 2012 3:38 pm

I do not think this is something generally Asterisk related, but more a function of something that is happening in your dialplan or AMI scripts specifically.

dahdi_scan is a utility installed as part of dahdi-tools to display, on the console, information about any currently active spans. For example, on a system with only a single TE122 card installed the output looks like:
Code: Select all
# dahdi_scan
[1]
active=yes
alarms=RED
description=Wildcard TE122 Card 0
name=WCT1/0
manufacturer=Digium
devicetype=Wildcard TE122 (VPMOCT032)
location=PCI Bus 11 Slot 01
basechan=1
totchans=24
irq=0
type=digital-T1
syncsrc=1
lbo=0 db (CSU)/0-133 feet (DSX-1)
coding_opts=B8ZS,AMI
framing_opts=ESF,D4
coding=B8ZS
framing=ESF


How did you install your system and generate your dialplans?
sruffell
Oldsterisk
 
Posts: 92
Joined: Fri Jan 07, 2011 2:02 pm

Re: Unable to execute dahdi_scan

Postby tonj » Tue May 08, 2012 4:18 pm

my asterisk system was installed using:
dahdi-linux-complete-2.6.0+2.6.0.tar.gz
asterisk-1.8.7.1.tar.gz
asterisk gui-version : SVN--r5209
on a centos 5.8 server.
I set up my dialplans using the asterisk-gui web interface.
tonj
Oldsterisk
 
Posts: 50
Joined: Tue Sep 06, 2011 3:55 am

Re: Unable to execute dahdi_scan

Postby david55 » Wed May 09, 2012 8:27 am

In that case, you need to ask on an Asterisk GUI forum. The Asterisk GUI provided dialplan will include a line something like:

exten => xxxx,n,Exec(dahdi_scan > /etc/asterisk/dahdi_scan.conf)

and that is failing because it can't find dahdi_scan on the file path.
david55
Moves Like Spencer
 
Posts: 7718
Joined: Fri Sep 26, 2008 5:03 am


Return to Asterisk Support

Who is online

Users browsing this forum: ebt and 36 guests