Changes

Jump to navigation Jump to search
303 bytes removed ,  21:58, 20 November 2009
m
no edit summary
Line 12: Line 12:  
===Install mISDN driver===
 
===Install mISDN driver===
 
Now you need to install the mISDN driver. You can use the following command:
 
Now you need to install the mISDN driver. You can use the following command:
  yum --enablerepo=smecontribs install misdn misdnuser misdn-kmdl-$(uname -r)
+
  yum --enablerepo=smecontribs install misdn misdnuser misdn-kmdl-$(uname -r) asterisk-misdn
 
For this to work you  may need to update your server (at least, you should have the latest kernel available)
 
For this to work you  may need to update your server (at least, you should have the latest kernel available)
 
===Configure the driver===
 
===Configure the driver===
Line 27: Line 27:  
  ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S09mISDN
 
  ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S09mISDN
 
  ln -s /etc/rc.d/init.d/e-smith-service /etc/rc6.d/K16mISDN
 
  ln -s /etc/rc.d/init.d/e-smith-service /etc/rc6.d/K16mISDN
  −
===Install the channel for asterisk===
  −
For asterisk to work with mISDN, it needs a channel (chan_misdn). For now, you need to take this package from [[ATrpms]] repository (in the future, this package should be imported in smecontribs)
  −
yum --enablerepo=atrpms install asterisk-misdn
  −
  −
This may also update asterisk, it shouldn't be a problem.
      
===Configure the channel===
 
===Configure the channel===
Line 38: Line 32:  
Most of the config should be OK (at least, it was for me, in France).
 
Most of the config should be OK (at least, it was for me, in France).
 
You just need to change the mISDN config file:
 
You just need to change the mISDN config file:
  sed -i -e "s/\/etc\/misdn-init.conf/\/etc\/mISDN.conf/g"
+
  sed -i -e "s/\/etc\/misdn-init.conf/\/etc\/mISDN.conf/g" /etc/asterisk/misdn.conf
    
You may alos want to enable echo cancellation (default is disabled). Thee configuration file is well commented.
 
You may alos want to enable echo cancellation (default is disabled). Thee configuration file is well commented.

Navigation menu