bar top left
bar top right
left curve
right curve
Welcome, Guest

Elastix-2.0.0-beta1 do not support mISDN
(1 viewing) (1) Guest
Go to bottom
Post Reply
Post New Topic
Page: 1
TOPIC: Elastix-2.0.0-beta1 do not support mISDN
#44571
Elastix-2.0.0-beta1 do not support mISDN 2 Years, 3 Months ago Karma: 0
Hello all of users,
Elastix-2.0.0-beta1 do not support mISDN driver, if user want to install elastix-2.2.0-beta1 with OpenVox B100/200/400/800, please use dahdi driver instead, or install mISDN manually by yourself.

Here are the sample files of OpenVox B400P

*********************/etc/dahdi/system.conf*************************
# Autogenerated by /usr/sbin/dahdi_genconf on Thu Jan 28 10:06:20 2010
# If you edit this file and execute /usr/sbin/dahdi_genconf again,
# your manual changes will be LOST.
# Dahdi Configuration File
#
# This file is parsed by the Dahdi Configurator, dahdi_cfg
#
# Span 1: B4/0/1 "B4XXP (PCI) Card 0 Span 1" (MASTER)
span=1,1,0,ccs,ami
# termtype: te
bchan=1-2
hardhdlc=3
echocanceller=oslec,1-2

# Span 2: B4/0/2 "B4XXP (PCI) Card 0 Span 2"
span=2,2,0,ccs,ami
# termtype: te
bchan=4-5
hardhdlc=6
echocanceller=oslec,4-5

# Span 3: B4/0/3 "B4XXP (PCI) Card 0 Span 3"
span=3,3,0,ccs,ami
# termtype: te
bchan=7-8
hardhdlc=9
echocanceller=oslec,7-8

# Span 4: B4/0/4 "B4XXP (PCI) Card 0 Span 4"
span=4,4,0,ccs,ami
# termtype: te
bchan=10-11
hardhdlc=12
echocanceller=oslec,10-11

# Global data

loadzone = us
defaultzone = us
******************************************************************
[root@elastix asterisk]# dahdi_cfg -vv
DAHDI Tools Version - 2.2.0

DAHDI Version: 2.2.0.2
Echo Canceller(s): OSLEC
Configuration
======================

SPAN 1: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 2: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 3: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 4: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)

Channel map:

Channel 01: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 01)
Channel 02: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 02)
Channel 03: Hardware assisted D-channel (Default) (Echo Canceler: none) (Slaves: 03)
Channel 04: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 04)
Channel 05: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 05)
Channel 06: Hardware assisted D-channel (Default) (Echo Canceler: none) (Slaves: 06)
Channel 07: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 07)
Channel 08: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 08)
Channel 09: Hardware assisted D-channel (Default) (Echo Canceler: none) (Slaves: 09)
Channel 10: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 10)
Channel 11: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 11)
Channel 12: Hardware assisted D-channel (Default) (Echo Canceler: none) (Slaves: 12)

12 channels to configure.

Setting echocan for channel 1 to oslec
Setting echocan for channel 2 to oslec
Setting echocan for channel 3 to none
Setting echocan for channel 4 to oslec
Setting echocan for channel 5 to oslec
Setting echocan for channel 6 to none
Setting echocan for channel 7 to oslec
Setting echocan for channel 8 to oslec
Setting echocan for channel 9 to none
Setting echocan for channel 10 to oslec
Setting echocan for channel 11 to oslec
Setting echocan for channel 12 to none
******************************************************************
********************/etc/asterisk/dahdi-channels.conf****************

; Span 1: B4/0/1 "B4XXP (PCI) Card 0 Span 1" (MASTER)
group=0,11
context=from-pstn
switchtype = euroisdn
signalling = bri_cpe_ptmp
channel => 1-2
context = default
group = 63

; Span 2: B4/0/2 "B4XXP (PCI) Card 0 Span 2"
group=0,12
context=from-pstn
switchtype = euroisdn
signalling = bri_cpe_ptmp
channel => 4-5
context = default
group = 63

; Span 3: B4/0/3 "B4XXP (PCI) Card 0 Span 3"
group=0,13
context=from-pstn
switchtype = euroisdn
signalling = bri_cpe_ptmp
channel => 7-8
context = default
group = 63

; Span 4: B4/0/4 "B4XXP (PCI) Card 0 Span 4"
group=0,14
context=from-pstn
switchtype = euroisdn
signalling = bri_cpe_ptmp
channel => 10-11
context = default
group = 63

"dahdi-channels.conf" 45L, 1073C
*****************************************************
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
Joe.Yung
Fresh Boarder
Posts: 15
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#44915
Re:Elastix-2.0.0-beta1 do not support mISDN 2 Years, 3 Months ago Karma: 0
hi, how can i install mISDN on elatix 2.0beta?

thanks
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
flaviorodrigues
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#44937
Re:Elastix-2.0.0-beta1 do not support mISDN 2 Years, 3 Months ago Karma: 0
Hello,
Here is the link for installing mISDN with CentOS, but it almost the same as elasitx, you just download the mISDN package and recompile it.
downloads.openvox.cn/pub/manuals/eng/
Any question,please contact me!

Best Regards!
Joe.Yung
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
Joe.Yung
Fresh Boarder
Posts: 15
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#44945
Re:Elastix-2.0.0-beta1 do not support mISDN 2 Years, 3 Months ago Karma: 0
i use this tutorial

www.misdn.org/index.php/MISDN_with_Asterisk

Installing mISDN for Asterisk 1.4

Neither install-asterisk.tar.gz nor install-misdn-mqueue.tar.gz will be able to install chan_misdn for asterisk 1.4. In order to install mISDN and chan_misdn for Asterisk 1.4 please do the following:

cd /usr/src/
wget www.misdn.org/downloads/mISDN.tar.gz
wget www.misdn.org/downloads/mISDNuser.tar.gz
tar xzf mISDN.tar.gz
tar xzf mISDNuser.tar.gz
cd mISDN-1_1_0
make install
cd ../mISDNuser-1_1_0
make install


After that you should be able to reconfigure asterisk like:

but i cannot find the asterisk... im using elastix with asterisk
: so i cannot run the commands:

cd /usr/src/asterisk
./configure
make menuselect

and in elastix i got misdn card in hardware detector:
"found no card"
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
flaviorodrigues
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#45141
Re:Elastix-2.0.0-beta1 do not support mISDN 2 Years, 3 Months ago Karma: 0
Hello,
Could you send SSH(root permission) to joe.yung@openvox,cn?
Let me check it if you are ready.

Best Regards!
Joe.Yung
joe.yung@openvox.cn
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
Joe.Yung
Fresh Boarder
Posts: 15
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#45148
Re:Elastix-2.0.0-beta1 do not support mISDN 2 Years, 3 Months ago Karma: 0
sended

thnks
flavio r
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
flaviorodrigues
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#45180
Re:Elastix-2.0.0-beta1 do not support mISDN 2 Years, 3 Months ago Karma: 0
if you use TE mode, the wcb4xxp works. you can use mISDN to support both of NT and TE mode.
Joe will help you.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
james.zhu
Junior Boarder
Posts: 84
graphgraph
User Offline Click here to see the profile of this user
voipview zhulizhong@live.com
Regards,
James.zhu
sangoma Asterisk cards(PRI/BRI/Analog), gateway, Dinstar Gateways
Email: zhulizhong@live.com, QQ:522137361

website: www.hiastar.com
Reply Quote
 
#45283
Re:Elastix-2.0.0-beta1 do not support mISDN 2 Years, 3 Months ago Karma: 0
i contacted joe, but unfortully, after joe put hands on my server:

1) asterisk dont work, give error 0 and still restart every time
2) elastik gui give a blank page
3) no one sip phone can connect
4) no reply from joe
5) im very dissapointed with openvox
6) im now reinstalling all with elastik 1.6

thanks.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
flaviorodrigues
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#45341
Re:Elastix-2.0.0-beta1 do not support mISDN 2 Years, 3 Months ago Karma: 0
Hi,My friend.
I am sorry for my delay response first.But I contact you as soon as possible for the second day. But due to the time,I am sorry! You know, elastix-2.0.0-beta was released on 2010-01-20,and it was almost updated the driver everyday.I don't think there is somebody useing it to the product system(You never told me that this is a product system!).It's a beta version.Most of its features are needed to update or upgrade.I am very sorry to hear that! But I hope that I can help you next time! OpenVox would give you the full supports!I am very very sorry for this time!

The files were overrided by others. Thus the path was changed so you can not access with GUI.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
Joe.Yung
Fresh Boarder
Posts: 15
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/02/10 23:32 By Joe.Yung.
Reply Quote
 
#45348
How to install Elastix-2.0.0-beta with mISDN 2 Years, 3 Months ago Karma: 0
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.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
Joe.Yung
Fresh Boarder
Posts: 15
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
Go to top
Post Reply
Post New Topic
Page: 1
Moderators: OpenVox, Bob, jgutierrez
Protected by Spam Fighter