VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
ngom at numericap.com Guest
|
Posted: Tue May 03, 2016 2:56 am Post subject: [asterisk-users] my dahdi dont'n start |
|
|
Hello,
I think thati have resolved my problem after doing this message from Yves.
"Hello,
I was faced with this problem, it is enough to place
subdirectory under ./tools installation dahdi when compiling and
run make install-config it should work.
we must have :
mkdir -p / etc / dahdi
mkdir -p /etc/modprobe.d
install -m644 xpp / genconf_parameters / etc / dahdi / genconf_parameters
install -m644 init.conf.sample /etc/dahdi/init.conf
install -m644 blacklist.sample /etc/modprobe.d/dahdi-blacklist.conf
install -m644 modprobe.conf.sample /etc/modprobe.d/dahdi.conf
make -f ./Makefile.legacy top_srcdir =. srcdir =. config
make [1]: Entering directory
'/usr/src/dahdi-linux-complete-2.11.1+2.11.1/tools'
install -D dahdi.init /etc/init.d/dahdi
/usr/sbin/update-rc.d dahdi defaults 15 30
DAHDI has-been configured."
Thank you for your help.
Reagrds Quote: |
Le 3 mai 2016 à 09:43, Tzafrir Cohen <tzafrir.cohen@xorcom.com> a écrit :
On Fri, Apr 29, 2016 at 09:38:10AM +0200, Mamadou NGOM wrote: Quote: |
Hello,
I have not resolved my problem.I renamed my dahdi file "mv dahdi.bash
dahdi " in the directory /etc/init.d, but it doesn'nt work yet.
the same error after the command /etc/init.d/dahdi start
-bash: /etc/init.d/dahdi: /bin/sh^M: bad interpreter: No such file or
directory |
This is a DOS-formatted text file. A '#!' at the beginning of the line
is handed over to the Linux kernel, which takes the rest of first line
(up to the first newline character) as the interpreter of the script.
This first line here is '/bin/sh\r', because this file is a
DOS-formatted text file, with lines that end in '\r\n' instead of '\n'
as in UNIX text files.
sed -i -e 's/\r$//' /etc/init.d/dahdi
And then again, do you really need a DAHDI init script? See my previous
message:
http://lists.digium.com/pipermail/asterisk-users/2016-April/288968.html
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen@xorcom.com
+972-50-7952406 mailto:tzafrir.cohen@xorcom.com
http://www.xorcom.com
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
Mamadou NGOM
Ingénieur Télécommunications & Réseaux
Mobile: 06 72 45 23 03
Skype: Mamadou Numericap
NumeriCap – SAS au capital de 30.000,00€ - RCS de Toulon N° 530188432 – TVA FR 485301188432 – APE6110Z - ARCEP N°13/0015.
siège social : « le Galaxie C » 526 avenue Maréchal de Lattre de Tassigny 83000 Toulon. mail: finance@numericap.com ([email]mail%3Afinance@numericap.com[/email])
Centre d’exploitation : « Résidence les Coquières » 11 avenue Joseph Fallen - 13400 Aubagne – Tel :04.42.73.88.52 |
|
Back to top |
|
|
tzafrir.cohen at xorco... Guest
|
Posted: Tue May 03, 2016 2:57 am Post subject: [asterisk-users] my dahdi dont'n start |
|
|
Package: dahdi-linux
Version: 1:2.10.2~dfsg-1
Severity: minor
Add support to automatic loading of the base module 'dahdi', as it is
e.g. needed for cases where DAHDI is needed for app_meetme in Asterisk
(and in such a case won't be pulled by hardware devices auto-detected).
This is a regression from the version of dahdi-linux in Wheezy.
On Tue, Apr 26, 2016 at 11:13:08AM -0500, Richard Mudgett wrote:
Quote: | Administrator TOOTAI: You must have DAHDI running when using meetme because
DAHDI does the audio mixing for the conference.
|
There's no such thing as "DAHDI running". What Meetme needs is the basic
DAHDI module loaded. It also loads the built-in timer (which was
originally in a separate module: dahdi_dummy, and bfore that ztdummy).
On Debian systems, if you want a module loaded at startup, you can add
it to a file under /etc/modules-load.d . So what you need to do is:
echo dahdi > /etc/modules-load.d/dahdi.conf
And you're done.
(Also reporting this as a bug so I will not forget it)
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen@xorcom.com
+972-50-7952406 mailto:tzafrir.cohen@xorcom.com
http://www.xorcom.com
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|