I configured it now like this, but in my configuration (exactly like the
configuration from Patrick, the Cluster-Link swaps up and down, and i
don't know where is the problem, does anybody seen this before?
ay 7 13:11:04 NOTICE[1744]: cluster.c:751 cluster_thread_main: Connected
to receiver host: srv25, inf 1, addr 10.0.43.195
May 7 13:11:04 NOTICE[1744]: cluster.c:751 cluster_thread_main: Connected
to receiver host: srv25, inf 1, addr 10.0.43.195
May 7 13:11:04 WARNING[1744]: cluster.c:227 check_senders: No alive
signal from srv25 10.0.43.195, for 1499 msec
May 7 13:11:04 DEBUG[1744]: cluster.c:357 disconnect_receiver: Disconnect
receiver srv25 0
May 7 13:11:04 DEBUG[1744]: cluster.c:357 disconnect_receiver: Disconnect
receiver srv25 0
May 7 13:11:04 WARNING[1744]: cluster.c:170 declare_host_state: No alive
signal from srv25, assumed down.
May 7 13:11:04 NOTICE[1744]: cluster.c:742 cluster_thread_main: Socket
connection failed to host: srv25, inf 1, addr 10.0.43.195, error: Success
May 7 13:11:04 NOTICE[1744]: cluster.c:742 cluster_thread_main: Socket
connection failed to host: srv25, inf 1, addr 10.0.43.195, error: Success
May 7 13:11:05 WARNING[1744]: cluster.c:211 set_sender_last: Alive signal
from srv25 10.0.43.195
May 7 13:11:05 WARNING[1744]: cluster.c:173 declare_host_state: Alive
signal from srv25, now up.
May 7 13:11:05 NOTICE[1744]: cluster.c:700 cluster_thread_main: Accepted
socket connection from srv25, fd 120
May 7 13:11:06 NOTICE[1744]: cluster.c:543 cluster_receive_packet: Could
not read received packet: Bad file descriptor.
May 7 13:11:06 NOTICE[1744]: cluster.c:719 cluster_thread_main: Got error
on accepted socket: 2 Success
May 7 13:11:06 DEBUG[1744]: cluster.c:402 connect_receiver: Trying to
connect to srv25 10.0.43.195
May 7 13:11:06 DEBUG[1744]: cluster.c:402 connect_receiver: Trying to
connect to srv25 10.0.43.195
always the same....
Thanks a lot
Nico
On Wed, 11 Apr 2007, Patrick Blackman wrote:
Sure. It's the same for both cluster machines.
I'm using the same version as you, with the "cluster.c" patch.
Btw, did you try configuring just one linkset for both links? 2 linksets
didn't work for me (I get a "segmentation fault" that crashes asterisk).
[linkset-siuc]
enabled => yes
enable_st => no
use_connect => no
hunting_policy => seq_lth
context => default
language => da
t35 => 15000,timeout
subservice => auto
[link-l3]
linkset => siuc
channels => 1-15,17-31
schannel => 16
firstcic => 1
enabled => yes
echocancel => no
echocan_train => 350
echocan_taps => 128
[link-l4]
linkset => siuc
channels => 1-31
schannel =>
firstcic => 33
enabled => yes
echocancel => no
echocan_train => 350
echocan_taps => 128
[host-AST000012]
enabled => yes
default_linkset => siuc
opc => 0x2
dpc => siuc:0x1
links => l3:1
if-1 => 192.168.0.68
[host-AST000015]
enabled => yes
default_linkset => siuc
opc => 0x2
dpc => siuc:0x1
links => l4:2
if-1 => 192.168.0.61
;
[cluster]
port => 5040
l3 => AST000015#if-1
l4 => AST000012#if-1
Regards,
Patrick
On 4/11/07, Tusar <[EMAIL PROTECTED]> wrote:
Hi,
Thanks for your great help . I need one more help as I still have no luck
for success :-( .
Can you please paste the both Asterisk Box's [Asterisk1 & Asterisk2]
ss7.conf file for the client side.
So that I can cross check my config file with you. Yes , I tried "channels
=> 1-31" at the "Telco Side" .
Which version are you using ? I have tried "v.0.9" [with and without]
patched the "cluster.c" provided from [Anders Baekgaard <[EMAIL PROTECTED]>] .
--- cluster.c~ 2006-04-19 09:54:08.000000000 +0200
+++ cluster.c 2007-03-23 09:51: 25.000000000 +0100
@@ -847,9 +847,8 @@
}
}
- if (this_host->has_signalling_receivers)
- if (setup_receiver_socket())
- goto fail;
+ if (setup_receiver_socket())
+ goto fail;
connect_receivers();
receivepipe[0] = receivepipe[1] = -1;
receivebuf = lffifo_alloc(200000);
Thanks once again.
Best Regards,
..Tusar..
On 4/11/07, Patrick Blackman <[EMAIL PROTECTED]> wrote:
> Tusar,
>
> Sorry for one detail that I missed: On the "telco side" ss7.conf, the
> correct configuration for link l2 is:
>
> [link-l2]
> linkset => siuc
> channels => 1-31
> schannel =>
> firstcic => 33
> enabled => yes
> echocancel => no
> echocan_train => 350
> echocan_taps => 128
>
> I was doing some tests and forgot to change the "channels => 1-5" back
> to "channels => 1-31"
>
> Patrick
>
>
>
>
>
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com
<http://easynews.com/>--
asterisk-ss7 mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-ss7
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-ss7 mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-ss7