[asterisk-ss7] Cluster problem!

Ard adiaz0 at gmail.com
Tue Sep 26 19:30:04 MST 2006


Hi,
I'm using two asterisk-1.2 with chan_ss7-0.8.4 connected to an MSC. There
is something strange here.
my ss7.conf is here

[linkset-ser]
enabled => yes
enable_st => no
use_connect => no
hunting_policy => odd_lru
subservice => national
context => ss7
language => es


[link-0]
linkset => ser
channels => 1-15,17-31
schannel => 16
firstcic => 1
enabled => yes

[link-1]
linkset => ser
channels => 1-15,17-31
schannel => 16
firstcic => 33
enabled => yes

[link-2]
linkset => ser
channels => 1-31
schannel =>
firstcic => 65
enabled => yes

[link-3]
linkset => ser
channels => 1-31
schannel =>
firstcic => 97
enabled => yes

[link-4]
linkset => ser
channels => 1-31
schannel =>
firstcic => 129
enabled => yes

[link-5]
linkset => ser
channels => 1-31
schannel =>
firstcic => 161
enabled => yes

[link-6]
linkset => ser
channels => 1-31
schannel =>
firstcic => 193
enabled => yes

[link-7]
linkset => ser
channels => 1-31
schannel =>
firstcic => 225
enabled => yes

[link-8]
linkset => ser
channels => 1-31
schannel =>
firstcic => 257
enabled => yes

[link-9]
linkset => ser
channels => 1-31
schannel =>
firstcic => 289
enabled => yes

[link-10]
linkset => ser
channels => 1-31
schannel =>
firstcic => 321
enabled => yes

[link-11]
linkset => ser
channels => 1-31
schannel =>
firstcic => 353
enabled => yes


[host-ser3]
enabled => yes
default_linkset => ser
opc => 0x491
dpc => ser:0x48a
if-1 => 73.24.30.63
links => 0:1,2:2,4:3,6:4,8:5,9:6,10:7,11:8

[host-ser2]
enabled => yes
default_linkset => ser
opc => 0x491
dpc => rbt:0x48a
if-1 => 73.24.30.62
links => 1:1,3:2,5:3,7:4

[cluster]
; Listen on TCP port 5040
port => 5040
0 => ser2#if-1
1 => ser3#if-1
2 => ser2#if-1
3 => ser3#if-1
4 => ser2#if-1
5 => ser3#if-1
6 => ser2#if-1
7 => ser3#if-1
8 => ser2#if-1
9 => ser2#if-1
10 => ser2#if-1
11 => ser2#if-1

The problem is, whenI do a ss7 cluster status I see on the host "ser3":


ser3*CLI>ss7 cluster status
sender ser2, addr 68.197.20.0, state alive, last 16 msec, up 1, down 0
receiver ser2 if 1, addr 73.24.30.62, c:connected, p:, last try 16 msec, 1
fails, 543 forwardsreceiver ser2 if 1, addr 73.24.30.62, c:connected, p:,
last try428 msec,
1 fails, 0 forwardsreceiver ser2 if 1, addr 73.24.30.62, c:connected, p:,
last try428 msec,
1 fails, 0 forwardsreceiver ser2 if 1, addr 73.24.30.62, c:connected, p:,
last try428 msec,
1 fails, 0 forwardsreceiver ser2 if 1, addr 73.24.30.62, c:connected, p:,
last try428 msec,
1 fails, 0 forwardsreceiver ser2 if 1, addr 73.24.30.62, c:connected, p:,
last try428 msec,
1 fails, 0 forwardsreceiver ser2 if 1, addr 73.24.30.62, c:connected, p:,
last try428 msec,
15 fails, 0 forwardsreceiver ser2 if 1, addr 73.24.30.62, c:connected, p:,
last try428 msec,
15 fails, 0 forwards


And, on host "ser2"

ser2*CLI>ss7 cluster status
sender ser3, addr 240.15.38.0, state alive, last 245 msec, up 1, down 0
receiver ser3 if 1, addr 73.24.30.63, c:connected, p:, last try 327 msec,
0 fails, 20 forwardsreceiver ser3 if 1, addr 73.24.30.63, c:connected, p:,
last try210 msec,
0 fails, 15 forwardsreceiver ser3 if 1, addr 73.24.30.63, c:connected, p:,
last try210 msec,
0 fails, 240 forwardsreceiver ser3 if 1, addr 73.24.30.63, c:connected,
p:, last try102 msec,
0 fails, 282 forwards


I just have modified the MAX_CIC from 256 to 512.

The address that appear on both servers are not neither 73.24.30.63 nor
73.24.30.62

What could be wrong ????


More information about the asterisk-ss7 mailing list