Elastix cluster: DRBD + Heartbeat+ Fonebridge2

I want to implement an Elastix server cluster using DRBD, Heartbeat and foneBRIDGE2.
I implemented the cluster successfully, but now do not know which is the next step.
Should I install and configure fonulator on both servers or just the primary?
What should I set mac address on file redfone.conf? Is my primary server?

Someone could help me with this?

Best regards!

Fonulator has to be on both servers its started and stopped by heartbeat.

to the macs on the server that the file is on. This file is unique to each server.

There used to be very good instructions on the redfone site.

Ian

Thank you very much ianplain.

I’m gonna work in that configuration!

Hi!

I have some experience with Asterisk and Elastix servers, but never dealt with Redfone devices.

So far this is what I have:

redfone.conf in server AST1


[globals]
# IP-address of the IP Configuration port
# Factory defaults are; FB1=192.168.1.254 FB2=192.168.1.253
fb=192.168.1.254
# Which port to use for TDMoE Traffic (1 or 2)
port=1
# Which Asterisk server destination MAC address for TDMoE Traffic?
server=00:25:90:04:02:5F

# Determines which span is to derive timing from telco
priorities=0,1,2,3
#
# E1 PRI SPAN WITH CRC4
[span1]
framing=ccs
encoding=hdb3
crc4

etc.........

redfone.conf in server AST2


[globals]
# IP-address of the IP Configuration port
# Factory defaults are; FB1=192.168.1.254 FB2=192.168.1.253
fb=192.168.1.254
# Which port to use for TDMoE Traffic (1 or 2)
port=1
# Which Asterisk server destination MAC address for TDMoE Traffic?
server=00:25:90:04:C4:2B

# Determines which span is to derive timing from telco
priorities=0,1,2,3
#
# E1 PRI SPAN WITH CRC4
[span1]
framing=ccs
encoding=hdb3
crc4

etc.........

this is my output of the command:

fonulator -vq
Detecting foneBRIDGE
Span 1 configured as: E1,HDB3
Span 2 configured as: E1,HDB3
Span 3 configured as: E1,HDB3
Span 4 configured as: E1,HDB3
SW ver: 2.2.1
SW Compile date: Jun 28 2009 22:43:31
SW Build: 65
MAC Address: 00:00:38:4a:75:df
IP Address[0]: 192.168.1.254
IP Address[1]: 0.0.0.0
DSP Status: Bypassed

And this is the distribution of my devices:

AST1: eth0 = 192.168.1.246
eth1 = 192.168.1.247 (00:25:90:04:02:5F)

** AST1 is the primary server in the DRBD cluster

AST2: eth0 = 192.168.1.92
eth1 = 192.168.1.122 (00:25:90:04:C4:2B)

AST1 \

       SWITCH 10/100/1000 ----- FONEBRIDGE2 (quadport x 2)

AST2 /

[b]What I want to know is if I only need a file redfone.conf, or need a copy for each card (QuadPort) of my foneBRIDGE? (Redfone1.conf and redfone2.conf)

Also, my foneBRIDGE has 4 ethernet ports, I understand that I need one to communicate with my servers, what happens to the other 3?[/b]

I’m using this Redfone team tutorial http://support.red-fone.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=27&nav=0 , but I think my case is totally different, PLEASE HELP!

HI

this is the doc you need support.red-fone.com/index.php?_ … d=26&nav=0

Ian

Thanks Ian!

I already see that doc but it does not explain how to connect or configure the devices it just say:

HI

This is the indepth install guide

support.red-fone.com/index.php?_ … &nav=0,3,4
and dahdi info at
support.red-fone.com/index.php?_ … &nav=0,3,4

Ian Plain
red-fone.com/images/case_stu … -study.pdf

Hi!

Thanks again Ian.
After a long reading and testing, I went to the Redfone support team to guide me in configuring the device (2 ports in a rackmount quad).
The problem was the configuration of the device, which does not allow me to connect with proper. Was resolved by updating the firmware of Redfone.
I should mention that the support provided by the team Redfone was very good, not afraid to use these devices because they have a great support.
I hope to continue with the configuration successfully.

Thank you for your help, the related documents have been very useful!

For the configuration of devices Redfone + ASTERISK I recommend this script:

http://support.red-fone.com/downloads/tools/redfone_gen-0.2.10.sh

Before running the script!
Remember install libnet, libnet-devel, libfb and fb_flash

[code] rpm -qa | grep libnet
uname -a

wget http://support.red-fone.com/downloads/fonulator/libfb-2.0.0.tar.gz
tar -xzvf libfb-2.0.0.tar.gz
cd libfb-2.0.0
./configure

yum install libnet-devel
./configure
make
make install

wget http://support.red-fone.com/fb_flash/fb_flash-2.0.0.tar.gz
tar -xzvf fb_flash-2.0.0.tar.gz
cd fb_flash-2.0.0
./configure
./configure --without-readline
make
make install

[/code]

I hope you find it useful!

Hi

Glad you got it all going, The redfone guys are realy helpful and the product is solid.

We have them running in various sites. One very small gotcha, make sure you dont use Stiff or rigid cables for the ISDN cables , We have seen problems when using them .

Ian

Thanks for the tip Ian!

I will follow your advice…!

Another tip, the Intel network cards limit interrupts to 3000, when using this type of card must dedicate a port for each foneBRIDGE because they generate 2000 interrupts!