Changes

From SME Server
Jump to navigationJump to search
no edit summary
Line 36: Line 36:     
==IAXModem==
 
==IAXModem==
 +
===Installation===
 
{{Note box|Sail installs /etc/rc.d/rc7.d/S93iaxmodem but does not install /etc/rc.d/init.d/iaxmodem}}
 
{{Note box|Sail installs /etc/rc.d/rc7.d/S93iaxmodem but does not install /etc/rc.d/init.d/iaxmodem}}
 
Download the iaxmodem rpm from Aelintra and install
 
Download the iaxmodem rpm from Aelintra and install
Line 44: Line 45:  
  chmod 766 iaxmodem
 
  chmod 766 iaxmodem
 
  chown root:root iaxmodem
 
  chown root:root iaxmodem
 
+
===Configuration===
 +
Check and edit /etc/iaxmodem/ttyIAX0 as necessary:
 +
device          /dev/ttyIAX
 +
owner          uucp:uucp
 +
mode            660
 +
port            4570
 +
refresh        60
 +
server          127.0.0.1
 +
peername        2000
 +
secret          asterisk
 +
cidname        YourCompany
 +
cidnumber      0123456789
 +
codec          slinear
 +
===Check and Run===
 +
Check the modem registers with Sail and Asterisk
 +
/usr/local/sbin/iaxmodem ttyIAX
 +
should give an output similar to
 +
Modem started
 +
Setting device = '/dev/ttyIAX'
 +
Setting owner = 'uucp:uucp'
 +
Setting mode = '660'
 +
Setting port = 4570
 +
Setting refresh = 60
 +
Setting server = '127.0.0.1'
 +
Setting peername = '2000'
 +
Setting secret = 'asterisk'
 +
Setting cidname = 'YourCompany'
 +
Setting cidnumber = '0123456789'
 +
Setting codec = slinear
 +
Opened pty, slave device: /dev/pts/0
 +
Created /dev/ttyIAX symbolic link
 +
Registration completed successfully.
 +
and in an asterisk CLI
 +
--Registered IAX2 '2000' (AUTHENTICATED) at 127.0.0.1:4570
 +
Now
 +
db configuration set iaxmodem service status enabled
 +
/etc/rc.d/rc7.d/S93iaxmodem start
    
----
 
----

Navigation menu