Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:others:iaxmodem_and_hylafax [2017/12/12 03:05] (current)
Line 1: Line 1:
 +yum -y install libtiff libtiff-devel
  
 +cd /usr/src/
 +wget http://​downloads.sourceforge.net/​project/​iaxmodem/​iaxmodem/​iaxmodem-1.2.0/​iaxmodem-1.2.0.tar.gz?​r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fiaxmodem%2Ffiles%2F&​ts=1292307322&​use_mirror=cdnetworks-kr-1
 +tar zxvf iaxmodem-1.2.0.tar.gz
 +ln -s iaxmodem-1.2.0 iaxmodem
 +
 +cd /​usr/​src/​iaxmodem/​lib/​libiax2
 +./configure
 +make
 +make install
 +
 +cd /​usr/​src/​iaxmodem/​lib/​spandsp
 +./configure
 +make
 +make install
 +
 +cd /​usr/​src/​iaxmodem
 +./build
 +
 +echo "/​usr/​local/​lib"​ > /​etc/​ld.so.conf.d/​local.conf
 +ldconfig -v
 +
 +cd /usr/sbin
 +ln -s /​usr/​src/​iaxmodem-1.2.0/​iaxmodem
 +mkdir /​var/​log/​iaxmodem/​
 +
 +mkdir /​etc/​iaxmodem/​
 +vi /​etc/​iaxmodem/​ttyIAX1
 +
 +
 +---begin here---
 +device ​         /​dev/​ttyIAX1
 +uucp:uucp
 +mode            660
 +port            4571 ; you will need a different port for each device
 +refresh ​        60
 +server ​         127.0.0.1
 +peername ​       iaxmodem1
 +secret ​         password
 +cidname ​        John Doe
 +cidnumber ​      ​8005551212
 +codec           ulaw
 +---end here---
 +
 +add
 +#include iax_modem.conf
 +in /​etc/​asterisk/​iax.conf and change
 +calltokenoptional=127.0.0.1/​255.255.255.0
 +
 +
 +vi /​etc/​asterisk/​iax_modem.conf
 +
 +[iaxmodem1]
 +type=friend
 +secret=password
 +host=dynamic
 +port=4671
 +context=outgoingfax
 +allow=all
 +
 +
 +asterisk -r -x "iax2 reload"​
 +
 +
 +iaxmodem ttyIAX1
 +
 +[2010-12-14 14:54:33] Modem started
 +[2010-12-14 14:54:33] Setting device = '/​dev/​ttyIAX1'​
 +[2010-12-14 14:54:33] Setting mode = '​660'​
 +[2010-12-14 14:54:33] Setting port = 4571
 +[2010-12-14 14:54:33] Setting refresh = 60
 +[2010-12-14 14:54:33] Setting server = '​127.0.0.1'​
 +[2010-12-14 14:54:33] Setting peername = '​iaxmodem1'​
 +[2010-12-14 14:54:33] Setting secret = '​password'​
 +[2010-12-14 14:54:33] Setting cidname = 'John Doe'
 +[2010-12-14 14:54:33] Setting cidnumber = '​8005551212'​
 +[2010-12-14 14:54:33] Setting codec = ulaw
 +[2010-12-14 14:54:33] Error: group unspecified,​ using root instead
 +[2010-12-14 14:54:33] Error: ​ user not found in passwd file, using root instead
 +[2010-12-14 14:54:33] Opened pty, slave device: /dev/pts/2
 +[2010-12-14 14:54:33] Created /​dev/​ttyIAX1 symbolic link
 +[2010-12-14 14:54:33] Registration completed successfully.
 +
 +yum install ghostscript sharutils pam
 +
 +#yum install enscript
 +
 +rpm -Uvh  ftp://​ftp.hylafax.org/​binary/​linux/​redhat/​RPMS/​i386/​hylafax-4.4.5-1rhel4.i386.rpm
 +
 +
 +/​usr/​sbin/​faxsetup
en/others/iaxmodem_and_hylafax.txt ยท Last modified: 2017/12/12 03:05 (external edit)
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki