I think that following the instructions below you can install vISDN with [EMAIL PROTECTED] 2.8:
  • First of all install the stock [EMAIL PROTECTED] 2.8
  • Install the tla command by downloading GNU arch and installing it with –prefix /usr
  • Follow the instructions on vISDN site to extract the latest development brach of vISDN
  • Load the missing packages for CentOS 4.3:
yum install automake gcc-c++ autoconf libtool 
  • Go to the vISDN directory and run ./bootstrap
  • Then run ./configure
  • Then run make install (for some strange reason the modules were not installed with patch 625 so “cd modules; make; make install”)
  • Then do a ‘depmod –a’ and an ‘ldconfig’
  • Now do the following command:
cp samples/30-visdn.rules-oldudev /etc/udev/rules.d/30-visdn.rules 
  • Then edit the file /etc/udev/rules/30-visdn.rules and add at the end the line:
KERNEL="router-control", NAME="visdn/router-control" GROUP="asterisk" MODE="0660"
Also change all “pbx” strings to: “asterisk”
  • Create the directory /usr/local/etc/visdn
  • Copy the correct card config file from the samples directory into /usr/local/etc/visdn. For my card (a simple HFC/PCI) I copied the file device-pci-0000:00:07.0 as device-pci-0000:00:14.0 as I have found out using the command lspci what is the pci number of my card.
  • Go to the directory scripts and ‘make install’
  • add the following line in /etc/rc.d/rc.local just before amp startup (before the ‘/usr/sbin/amportal start’ line) 
/usr/local/sbin/visdn_configurator
  • Go to /usr/src/asterisk and patch asterisk:
patch < /path/to/visdn/samples/asterisk-1.2.5-cap.diff
patch -p1 < /path/to/visdn/samples/asterisk-1.2-disconnect.diff
patch -p1 < /path/to/visdn/samples/asterisk-1.2-answer.diff
(don’t be alarmed by the offset of the patch application).
  • Then run: make clean; /usr/sbin/amportal stop; make install; 
  • Create the file /etc/asterisk/visdn.conf in accordance with your card. See the visdn.conf.sample in the vISDN samples directory.
  • Edit the file /var/www/html/panel/op_buttons_custom.cfg and add the following block:
[vISDN/0]
Position=55
Label="vISDN"
Extension=-1
Icon=3
Panel_Context=default 
(change the position to suit your needs and also add more blocks like that if you have more than one vISDN trunk.
  • Restart FreePBX with /usr/sbin/amportal start 
  • Start asterisk with –r and check with:
show visdn interfaces
that everything is OK.
  • Create a custom trunk in FreePBX with a DialString: VISDN/visdn0/$OUTNUM$ (of course you can customize this string if you have more than one interface).
 
George.


Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.
_______________________________________________
Visdn-hackers mailing list
[email protected]
https://mailman.uli.it/mailman/listinfo/visdn-hackers

Reply via email to