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
Le 3 mai 2016 à 09:43, Tzafrir Cohen <tzafrir.co...@xorcom.com> a écrit :
On Fri, Apr 29, 2016 at 09:38:10AM +0200, Mamadou NGOM wrote: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
directoryThis 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.co...@xorcom.com
+972-50-7952406 mailto:tzafrir.co...@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: fina...@numericap.com
Centre d’exploitation : « Résidence les Coquières » 11 avenue Joseph Fallen - 13400 Aubagne – Tel :04.42.73.88.52
-- _____________________________________________________________________ -- 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