[asterisk-ss7] Two Asterisk boxes, only ONE signal link

Tusar tusarbd at gmail.com
Wed Apr 11 02:29:20 MST 2007


Hi,

If I can understand , this configuration is for "TE410p" installed asterisk
box [The Telco Part, Simulating as Telco equipment] . Think at the telco
scenario , if there is Motorola or Erricsion or Siemens switch , then I
think it could not be possible to use cluster service at Telco end and we
have no control of Telco part ...

[cluster]
port => 5040
l4 => AST000012#if-1
l3 => AST000015#if-1

So I think we have to manage signaling link for "Asterisk_2" over
"Asterisk_1" .

I am also trying to make a telco scenario with "TE405P" board and here is
below ss7.conf file

[linkset-Asterisk1]
enabled => yes
enable_st => no
use_connect => no
hunting_policy => even_mru
context => default
language => en
t35 => 4000,st
subservice => auto

[linkset-Asterisk2]
enabled => yes
enable_st => no
use_connect => no
hunting_policy => even_mru
context => default
language => en
t35 => 4000,st
subservice => auto

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

[link-l2]
linkset => Asterisk2
channels => 1-31
schannel =>
firstcic => 32
enabled => yes

[host-TELCO]
enabled => yes
default_linkset => Asterisk1
opc => 0x1
dpc => Asterisk1:0x2,Asterisk2:0x2
links => l1:1,l2:2
if-1 => 192.168.10.15



Please correct me and input some advice .

Best Regards,

..Tusar..



On 4/9/07, Patrick Blackman <patrick.blackman at gmail.com> wrote:
>
> Hi Tusar,
>
> I have the same needs. I configured 2 asterisk boxes as a cluster, using 1
> signalling link on the first box.
> From the configuration point of view, the cluster is working (there are no
> "No signalling links inservice and no cluster receivers alive"" messages).
>
> I configured a third server to simulate the telco equipment. This server
> has a TE410p board, but I'm using only 2 E1 trunks, one to each server on
> the cluster.
>
> The problem is that, when I place a call to the second cluster server (the
> one without the signalling link), the IAM message is sent and an ACM is
> received as response. But the server that originated the call says that "ACM
> was received but no IAM was sent".
>
> Anyway, this is my ss7.conf file. Hope this can help you.
>
> Regards,
> Patrick
>
>
> [linkset-siuc]
> enabled => yes
> enable_st => no
> use_connect => no
> hunting_policy => seq_htl
> 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
> l4 => AST000012#if-1
> l3 => AST000015#if-1
>
> On 4/9/07, Tusar <tusarbd at gmail.com> wrote:
>
> > Hi,
> >
> > I am sorry for writing you again with the same email . But I need this
> > feature extremely and  I  believe lots of people in the world are waiting
> > for this nice feature .
> >
> > Could anyone focus on this topics please ?
> >
> > Best regards,
> > ..Tusar..
> >
> >
> >
> > ---------- Forwarded message ----------
> > From: Tusar < tusarbd at gmail.com >
> > Date: Mar 31, 2007 12:57 PM
> > Subject: Re: [asterisk-ss7] Two Asterisk boxes, only ONE signal link
> > To: asterisk-ss7 at lists.digium.com
> >
> > Hi,
> >
> > I am trying to configure using one signaling link with multiple asterisk
> > box where I have only one signaling link from Telco company .
> >
> > Astreisk_1 --> SS7 Signalining --> Telco
> >                     /
> > Astreisk_2--/  ---> Bearer Channel --> Telco
> >
> > I have patched the "cluster.c" provided from [Anders Baekgaard <ab at sifira.dk>]
> > .
> >
> >
> > --- 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);
> >
> >
> > Asterisk_1 box is running fine and seems "cluster service" is connected
> > each other but Asterisk_2 is complaing ..
> >
> > "Mar 31 12:43:05 NOTICE[9666]: l4isup.c:1076 t22_timeout: T22 timeout
> > (No "circuit group reset acknowledge" from peer) CIC=32.
> >  Mar 31 12:43:05 WARNING[9666]: mtp.c:1708 mtp_thread_main: No
> > signalling links inservice and no cluster receivers alive, dropping packet!
> > "
> >
> > Asterisk_1
> > ===========
> > *CLI> ss7 cluster status
> > receiver Asterisk_1 if 1, addr 192.168.10.17 , c:connected, p:, last try
> > 154 msec, 23 fails, 0 forwards
> > *CLI>
> >
> > Asterisk_2
> > ===========
> > *CLI> ss7 cluster status
> > receiver Asterisk_2 if 1, addr 192.168.10.16, c:connected, p:, last try
> > 399 msec, 0 fails, 0 forwards
> > *CLI>
> >
> > Here is below my config file for both the box ...
> >
> > Asterisk_1 [IP:192.168.10.16]
> > =======================
> >
> > [linkset-siuc]
> > enabled => yes
> > enable_st => no
> > use_connect => yes
> > hunting_policy => even_mru
> > subservice => auto
> >
> >
> > [link-l1]
> > linkset => siuc
> > channels => 1-15,17-31
> > schannel => 16
> > firstcic => 1
> > enabled => yes
> >
> >
> > [host-Asterisk_1]
> > enabled => yes
> > default_linkset => siuc
> > opc => 0x2
> > dpc => siuc:0x1
> > if-1 => 192.168.10.17
> > links => l1:1
> >
> >
> > [cluster]
> > port => 5040
> > l1 => Asterisk_2#if-1
> >
> >
> > Asterisk_2 [IP: 192.168.10.17]
> > ======================
> >
> > [linkset-siuc]
> > enabled => yes
> > enable_st => no
> > use_connect => no
> > hunting_policy => even_mru
> > subservice => auto
> >
> > [link-l2]
> > linkset => siuc
> > channels => 1-31
> > schannel =>
> > firstcic => 32
> > enabled => yes
> >
> >
> > [host-Asterisk_2]
> > enabled => yes
> > default_linkset => siuc
> > opc => 0x2
> > dpc => siuc:0x1
> > if-1 => 192.168.10.16
> > links => l2:1
> >
> > [cluster]
> > port => 5040
> > l2 => Asterisk_1#if-1
> >
> >
> > Could anyone please push me to right direction to sort out this issue
> > resolve .
> >
> >
> > Best Regards,
> >
> > ..Tusar..
> >
> >
> >
> > On 3/23/07, Anders Baekgaard <ab at sifira.dk> wrote:
> > >
> > > Hi Daniel
> > >
> > > Yes, a "fake" signalling channel is a work aound. The patch below is
> > > also a
> > > work around..
> > >
> > > --- 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);
> > >
> > > Best regards
> > > Anders Baekgaard
> > >
> > >
> >
> > _______________________________________________
> > --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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-ss7/attachments/20070411/33ba9ea0/attachment-0001.htm


More information about the asterisk-ss7 mailing list