| Goal |
Command |
Result |
| Install TrixBox 2.2 |
Asterisk Ready |
|
| Make a complete update |
yum -y update |
Complete! |
| Reboot your computer |
reboot |
The system is going down for reboot NOW! |
| Check if you use an SMP kernel |
uname -r | grep -q smp && echo "--smp--" | --smp-- (if you have and SMP kernel otherwise
nothing) |
| Install the DEVEL kernel |
yum install
kernel-smp-devel -y or yum install kernel-devel -y |
Complete! |
| Go to the /usr/src/ folder |
cd /usr/src/ | [root@asterisk1 src]# |
| Get the last misdn installer |
wget http://www.beronet.com/downloads/install-misdn-mqueue.tar.gz | |
| Extract the dowloaded file |
tar -zxvf install-misdn-mqueue.tar.gz | [root@asterisk1 install-misdn-mqueue]# |
| Launch the install script |
make install |
INSTALLATION SUCCEEDED make[1]: Leaving directory `/usr/src/install-misdn-mqueue/app_bundle' |
| Launch the Scan script from Beronet |
misdn-init scan |
Unknown line at line 5959 Unknown line at line 5960 Unknown line at line 5961 Unknown line at line 5962 Unknown line at line 5963 Unknown line at line 5964 Unknown line at line 5965 Unknown line at line 5966 Unknown line at line 5967 Unknown line at line 5968 Unknown line at line 5969 Unknown line at line 5970 [OK] found the following devices: card=1,0x4 [ii] run "/usr/sbin/misdn-init config" to store this information to /etc/misdn-init.conf |
| Save the information with |
misdn-init config |
Unknown line at line 5959 Unknown line at line 5960 Unknown line at line 5961 Unknown line at line 5962 Unknown line at line 5963 Unknown line at line 5964 Unknown line at line 5965 Unknown line at line 5966 Unknown line at line 5967 Unknown line at line 5968 Unknown line at line 5969 Unknown line at line 5970 [OK] /etc/misdn-init.conf created. It's now safe to run "/usr/sbin/misdn-init start" [ii] make your ports (1-4) available in asterisk by editing "/etc/asterisk/misdn.conf" |
| Backup the sample config file from Asterisk |
mv /etc/asterisk/misdn.conf misdn.old |
|
| Copy the content of the sample file from Beront
into a new misdn.conf |
don't know how to achieve this on a linux. I
made a copy paste from Windows with putty. -copy the content of the file - type "nano /etc/asterisk/misdn.conf" - paste the content - save the file by pressing "Ctrl+X" |
|
| Adapt the config file to your need, in this case
the goal is to have 4 port connected to for ISDN lines for incoming
calls. Here is the file : |
[general] debug=0 method=standard append_digits2exten=yes bridging=yes [default] context=misdn language=de nationalprefix=0 internationalprefix=00 rxgain=0 txgain=0 dialplan=0 [TEports] context=incoming ports=1,2,3,4 msns=* |
|
| Restart your computer |
reboot |
|
| Launch misdn |
misdn-init start |
Unknown line at line 5959 Unknown line at line 5960 Unknown line at line 5961 Unknown line at line 5962 Unknown line at line 5963 Unknown line at line 5964 Unknown line at line 5965 Unknown line at line 5966 Unknown line at line 5967 Unknown line at line 5968 Unknown line at line 5969 Unknown line at line 5970 ----------------------------------------- Loading module(s) for your misdn-cards: ----------------------------------------- /sbin/modprobe --ignore-install hfcmulti type=0x4 protocol=0x2,0x2,0x2,0x2 layermask=0xf,0xf,0xf,0xf poll=128 debug=0 /sbin/modprobe mISDN_dsp debug=0x0 options=0 poll=128 dtmfthreshold=100 |