keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about B100/200/400/800 ISDN BRI Cards

Install Ubuntu Server 9.04 (Jaunty ) with OpenVox B800P/B400P/B200P/B100P

14 years 4 months ago #4369 by Joe.Yung
Hello, all of users, this is the quick guide for installing Ubuntu Server 9.04(Jaunty) with asterisk and OpenVox B800P/B400P/B200P/B100P. Users can read it for reference.




Quick Install Guide
Ubuntu Server 9.04 Install with Asterisk and OpenVox B800P/B400P/B200P/B100P
Requierments
Base Install from ISO image.
Here are the main steps:
********************************************************
Environments
OS: Ubuntu-9.04-server-i386
Hardware: OpenVoxB800P
Kernel: 2.6.28-11-server
Asterisk Version-1.6.0.19
mISDN-1_1_9.1(download from official website + OpenVox patch: http://downloads.openvox.cn/pub/drivers/mISDN/b800P_mISDN_patch_1_1_7 )
(please note that OpenVox B400P,B200P and B100P are no need to patch.User just ignore the step 6 when you install them)
mISDNuser-1_1_9.1(download from official website)
Linux-headers-2.6.28-11
Linux-headers-2.6.28-11-server
********************************************************
Like as the install the general OS, installing theUbuntu-9.04-server
After installing the system, the most important section is gettingthe kernel headers
Please read this link for reference: http://www.voip-info.org/tiki-index.php?page=Asterisk+Linux+Ubuntu
1.
Install dependencies and helperpackages
#apt-get install cvs
#apt-get install build-essential
#apt-get install automake
#apt-get install autoconf
#apt-get install bison
#apt-get install flex
#apt-get install libtool
#apt-get install libncurses5-dev
#apt-get install libssl-dev
#apt-get install libgsm1
#apt-get install libgsm1-dev
#apt-get install openssh-server
#apt-get install libnet1
#apt-get install libnet1-dev
#apt-get install libpcap0.7
#apt-get install libpcap0.7-dev
#apt-get install libargtable2-0
#apt-get install libargtable2-dev
#apt-get install libnewt-dev
2.
Install kernel headers matchingthe current kernel version
#uname –r
2.6.28-11-server
3. #apt-cache searchlinux-headers 2.6.28-11-server
linux-headers-2.6.28-11-server - Linux kernel headers for version2.6.28 on x86/x86_64
linux-headers-lbm-2.6.28-11-server - Header files related tolinux-backports-modules version 2.6.28
4. # apt-get install linux-header-2.6.28-11-server


5. Download Asterisk, mISDN,mISDNuser
cd /usr/src
wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.6.0.19.tar.gz
wget http://www.misdn.org/downloads/releases/mISDNuser-1_1_9.1.tar.gz
wget http://www.misdn.org/downloads/releases/mISDN-1_1_9.1.tar.gz



6. Patch forhfc_multi.c file.(Please ignore this step when you install OpenVox B400P,B200P and B100P, as they are no need to patch)
Download OpenVoxpatch called b800p_patch_1_1_7 from http://downloads.openvox.cn/pub/drivers/mISDN/ .The hfc_multi.c file is under/usr/src/mISDN-1_1_9.1/drivers/isdn/hardware/mISDN. You can patch that, ormanually add it into hfc_multi.c
Please read this link for reference( step2-->2)-->B)
http://downloads.openvox.cn/pub/manuals/eng/B800P_User_Manual_mISDN.pdf
(pay more attention to the lines which circle by the circle if you want to add them manually)
[font=Calibri, sans-serif]7. Create a link to the current headers so thatthe Asterisk makefiles can find them.
# ln –s/usr/src/linux-headers-2.6.28-11-server /usr/src/linux-2.6
8. Install mISDN
#cd /usr/src
# tar –xvzf mISDN-1_1_9.1.tar.gz
#cd mISDN-1_1_9.1
#make clean
#make
#make install
9. Install mISDNuser
#cd /usr/src
#tar –xvzf mISDNuser-1_1_9.1.tar.gz
#cd mISDNuser-1_1_9.1
#make clean
#make
#make install
10. Install Aseterisk
#cd /usr/src
#tar –xvzf asterisk-1.6.0.19.tar.gz
#cd asterisk-1.6.0.19
#./configure
#make menuselect
Now you should enablechan_misdn in the Channel Driver Section and reinstall asterisk with “makeinstall”
#make install
After those procedures youshould have the current mISDN releases installed and the current chan_misdnwith asterisk.
11. Loading modules for mISDN
#mISDN scan
1 mISDN compatible device(s)found:
>> BN8S0
#mISDN config
Writing /etc/mISDN.conf for1 mISDN compatible device(s):
>> BN8S0
#mISDN start
-- Loading mISDN modules --
>> /sbin/modprobe--ignore-install capi
WARNING: All config filesneed .conf: /etc/modprobe.d/mISDN, it will be ignored in a future release.
>> /sbin/modprobe--ignore-install mISDN_core debug=0
……..
>> /sbin/modprobe--ignore-install mISDN_dsp debug=0 options=0
WARNING: All config filesneed .conf: /etc/modprobe.d/mISDN, it will be ignored in a future release.
12. Starting Asterisk
# asterisk –vvvvvvvvvvvgc
CLI>reload
CLI>misdn show stacks
BEGIN STACK_LIST:
* Port 1 Type TE Prot. PMP L2Link DOWNL1Link:DOWN Blocked:0 Debug:0
* Port 2 Type TE Prot. PMP L2Link DOWNL1Link:DOWN Blocked:0 Debug:0
* Port 3 Type TE Prot. PMP L2Link DOWNL1Link:DOWN Blocked:0 Debug:0
* Port 4 Type TE Prot. PMP L2Link DOWNL1Link:DOWN Blocked:0 Debug:0
* Port 5 Type TE Prot. PMP L2Link DOWNL1Link:DOWN Blocked:0 Debug:0
* Port 6 Type TE Prot. PMP L2Link DOWNL1Link:DOWN Blocked:0 Debug:0
* Port 7 Type TE Prot. PMP L2Link DOWNL1Link:DOWN Blocked:0 Debug:0
* Port 8 Type TE Prot. PMP L2Link UPL1Link:UP Blocked:0 Debug:0
(Note: because mypstn line plug into the 8th port, the L1 and L2 are UP status)
(Here, this is the B800P sample. there are 8 ports for it. It seems something different if you install B400P,B200P or B100P)
13. /etc/asterisk/extensions.conf samples
[from-internal]
exten=>100,1,Dial(mISDN/8/10000)(B800P)
exten=>100,2,Hangup()

[from-isdn]
exten=>s,1,Answer()
exten=>s,n,NoOp("comingcalls")
exten=>s,n,Dial(SIP/500)
exten=>s,n,Hangup()
14. /etc/asterisk/misdn.conf test samples(B800P)
[outsidecall]
ports=8
context=from-isdn

[isdngroup]
ports=1,2,3,4,5,6,7
context=from-internal
15. /etc/asterisk/sip.conf samples(B800P)
[500]
type=friend
username=500
secret=500
host=dynamic
context=from-internal


After editing these files, make a call and have a test please!




Best Regards!
Joe.Yung


[/font]

i] Last edited by Joe.Yung at 2009-12-15 15:58 [/i

14 years 4 months ago #4370 by pemer
Hi,

Did you test this settings with the Openvox B800P card?
can you make a documentation about the jumper settings for the B100 B200 B400 and B800 isdn card?

thx in advance.

best regards

Patrick
14 years 4 months ago #4371 by pemer
Hi,

how looks like the configuration file /etc/misdn-init.conf and /etc/mISDN.conf for this setting?

regards

Patrick
14 years 4 months ago #4372 by Robert
hello
1 yes, we do test this setting with OpenVox B800P.
2 we have jumper setting in user manual.
3 for the /etc/misdn-init.conf and /etc/mISDN.conf file setting,
you only need to retify the NT or TE model according to your port need.
14 years 4 months ago #4375 by Joe.Yung
Hello,For your first question, we did test B800P with that environment yesterday! And in our B800P user manual, there are details about the jumper settings. You have to read it for reference first.The second, the attachment is the /etc/mISDN.conf in my test machine. Moreover, there is no misdn-init.conf in there.misdn-init.conf is the previous version includes. For the misdn-init.conf, please refer to this link. http://www.voip-info.org/wiki/view/chan_misdn



Best Regards!
Joe.Yung

Attachments:
14 years 4 months ago #4379 by pemer
Hi,

in the Documentation:
http://downloads.openvox.cn/pub/manuals/eng/B800P_User_Manual_mISDN.pdf
in point 1.A 1.B and 1.C where details about the jumper settings, but i can't verfify this settings on the Card.
Can you make a documentation that containing a exact declaration of Jumper Numer/Name and status of the setting?

For Example:
Jumper SW01 on pin 2 and 4 is the setting termination with 100 Ohm.

You can also make this with picutre.
please look at this point the documetation of the G400P gsm card:
http://downloads.openvox.cn/pub/manuals/eng/G400P_User_Manual.pdf
look at point "Chapter 3 Hardware Setting"

best regards

Patrick
Time to create page: 0.069 seconds
Powered by Kunena Forum