Hello,my friend!
I have a test with these environments today! And I found that everything works GOOD base on my test.
Now let me show you the quick guide for you!(
But this is a beta verison of Elastix,and I don't suggest you use it for product system)
-------------------------------
Software environments:
Elastix-2.0.0-beta
Kernel-2.6.18-164.6.1.el5
mISDN-1_1_7
mISDNuser-1_1_7
asterisk-1.6.2.1(the elastix also comes with this version)
-------------------------------
Hardware enviroments:
Motherboard:Intel DG41MJ
OpenVox B200P(both of them are TE mode)
-------------------------------
Step1: under directory /usr/src run the following commands:
wget
downloads.asterisk.org/pub/telephony/ast...erisk-1.6.2.1.tar.gz
wget
www.misdn.org/downloads/releases/mISDN-1_1_7.tar.gz
wget
www.misdn.org/downloads/releases/mISDNuser-1_1_7.tar.gz
Step2: untar them with these commands:
tar -xvzf asterisk-1.6.2.1.tar.gz
tar -xvzf mISDN-1_1_7.tar.gz
tar -xvzf mISDNuser-1_1_7.tar.gz
Step3:compile them manually.
cd /usr/src/mISDN-1_1_7
make clean
make
make install
cd /usr/src/mISDNuser-1_1_7
make clean
make
make install
cd /usr/src/asterisk-1.6.2.1
make clean
./configure -diable libxml2
make menuselect (select the chan_misdn module under Channel Drivers)
make install
Step4:Modify the configure files(please refer the manual)
A:vi /usr/sbin/mISDN //about line 371,
B:vi /etc/mISDN.conf (for B200P)
change it like as:
---------------------------------------------------------
<card type="BN2S0">
<port mode="te" link="ptmp">1</port>
<port mode="te" link="ptmp">2</port>
</card>
---------------------------------------------------------
C:vi /etc/asterisk/misdn.conf
D:vi /etc/asterisk/extension.conf
Step5:Run command:mISDN scan, and it show as:
--------------------------------------------------------
[root@elastix asterisk]# mISDN scan
1 mISDN compatible device(s) found:
>> BN2S0
--------------------------------------------------------
Step 6:Run command mISDN config
Step7: Start Driver with: mISDN start,and it shows as:
---------------------------------------------------------
[root@elastix asterisk]# mISDN start
-- Loading mISDN modules --
>> /sbin/modprobe --ignore-install capi
>> /sbin/modprobe --ignore-install mISDN_core debug=0
>> /sbin/modprobe --ignore-install mISDN_l1 debug=0
>> /sbin/modprobe --ignore-install mISDN_l2 debug=0
>> /sbin/modprobe --ignore-install l3udss1 debug=0
>> /sbin/modprobe --ignore-install mISDN_capi
>> /sbin/modprobe --ignore-install hfcmulti type=0x4 protocol=0x2,0x2 layermask=0xf,0xf poll=128 debug=0 timer=0
>> /sbin/modprobe --ignore-install mISDN_dsp debug=0 options=0
---------------------------------------------------------
Step8: Start asterisk by asterisk -vvvvvvvvvvvgc,and run the command misdn show stacks, it shows the following like as(I plug ISDN line into port1):
---------------------------------------------------------
*CLI> misdn show stacks
BEGIN STACK_LIST:
* Port 1 Type TE Prot. PMP L2Link UP L1Link:UP Blocked:0 Debug:0
* Port 2 Type TE Prot. PMP L2Link DOWN L1Link:DOWN Blocked:0 Debug:0
---------------------------------------------------------
Step9:Make outbound call and inbound call with this dialplan:
---------------------------------------------------------
[from-internal]
exten=>_X.,1,Dial(mISDN/1/${EXTEN})
exten=>_X.,2,Hangup()
[from-isdn]
exten=>s,1,Answer()
exten=>s,2,Dial(SIP/100)
exten=>s,n,Hangup()
---------------------------------------------------------
Step10: Make an outbound call,and it shows like as:
---------------------------------------------------------
elastix*CLI> == Using SIP RTP CoS mark 5
== Using SIP RTP CoS mark 5
elastix*CLI> -- Executing [10000@from-internal:1] Dial("SIP/100-00000000", "mISDN/1/10000") in new stack
-- Executing [10000@from-internal:1] Dial("SIP/100-00000000", "mISDN/1/10000") in new stack
elastix*CLI> -- Called 1/10000
-- Called 1/10000
elastix*CLI> -- mISDN/1-u1 is proceeding passing it to SIP/100-00000000
-- mISDN/1-u1 is proceeding passing it to SIP/100-00000000
elastix*CLI> -- Remote UNIX connection
-- Remote UNIX connection
elastix*CLI> -- Remote UNIX connection disconnected
-- Remote UNIX connection disconnected
elastix*CLI> -- mISDN/1-u1 is ringing
-- mISDN/1-u1 is ringing
elastix*CLI> -- mISDN/1-u1 answered SIP/100-00000000
-- mISDN/1-u1 answered SIP/100-00000000
elastix*CLI> == Spawn extension (from-internal, 10000, 1) exited non-zero on 'SIP/100-00000000'
== Spawn extension (from-internal, 10000, 1) exited non-zero on 'SIP/100-00000000'
elastix*CLI> P[ 0] received 1k Unhandled Bchannel Messages: prim 120282 len 128 from addr 52010101, dinfo ffffffff on this port.
P[ 0] received 1k Unhandled Bchannel Messages: prim 120282 len 128 from addr 52010101, dinfo ffffffff on this port.
elastix*CLI>
---------------------------------------------------------
Step11: Make an inbound call,and it shows like as:
---------------------------------------------------------
elastix*CLI> == Starting mISDN/2-u2 at from-isdn,,1 failed so falling back to exten 's'
-- Executing [s@from-isdn:1] Answer("mISDN/2-u2", "") in new stack
== Starting mISDN/2-u2 at from-isdn,,1 failed so falling back to exten 's'
-- Executing [s@from-isdn:1] Answer("mISDN/2-u2", "") in new stack
elastix*CLI> -- Executing [s@from-isdn:2] Dial("mISDN/2-u2", "SIP/100") in new stack
== Using SIP RTP CoS mark 5
-- Called 100
-- Executing [s@from-isdn:2] Dial("mISDN/2-u2", "SIP/100") in new stack
== Using SIP RTP CoS mark 5
-- Called 100
elastix*CLI> -- SIP/100-00000001 is ringing
-- SIP/100-00000001 is ringing
elastix*CLI> -- SIP/100-00000001 answered mISDN/2-u2
-- SIP/100-00000001 answered mISDN/2-u2
--------------------------------------------------------
Step 12:Access Elastix-2.0.0 GUI with IE browser(read the attachment,this part includes 3 prictures)
Step 13:Access Elastix-2.0.0 GUI with Mozilla Firefox browser(read the attachment,this part includes 3 prictures)
Step 14:Access Elastix-2.0.0 GUI with Google Chrome browser(read the attachment,this part includes 3 prictures)
Thus,everything works fine! No any problem happens from my test.It will be scaned by these three browser to access.