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 On Thursday 22 March 2007 17:19, Daniel Bichara wrote: > Hi Anders, > > Can we work around? Like setting up a "fake" signalling channel? > > []'s > > Daniel > > Anders Baekgaard escreveu: > Hi seb > > You're right, there is a bug in chan_ss7. In your setup, Asterisk_1 must > believe that Asterisk_2 has a signalling channel, othewise it will not > allow cluster connections. > > The problem where a SIP phone registration is on one asterisk box, while a > call is initiated to the SIP phone from another asterisk box can be solved > by sharing a database between the asterisk boxes that keep the SIP > registration information. This must be setup in the extconfig.conf > configuration file where you specify the database engine, the database > name, and the table name (e.g. sipusers, sippeers) containing the SIP > registration data. In addition, you also need to setup the DBMS. > > Best regards > Anders Baekgaard > > On Wednesday 21 March 2007 21:47, seb wrote: > > > Hi Anders, > > sadly it didn't work... I've used the configuration sugested with both > Asterisk_1 and Asterisk_2 sharing the same OPC. Asterisk_2 (the one without > signaling channel) is not able to connect to Asterisk_1 (that one with > signaling channel), in fact Asterisk_1 fails to bring up the cluster. The > workaround was to change the ss7.conf on Asterisk_1 (only on Asterisk_1) > saying that Asterisk_2 has a signaling channel (even if it is not true) and > > adding one line to the [cluster] section: > > > [cluster] > ; Listen on TCP port 5040 > port => 5040 > ; Signalling traffic for link l2 is monitored by host Asterisk_1 on > interface > if-1 > l2 => Asterisk_1#if-1 > > > l1 => Asterisk_2?if-1 ; <<<<------------- I added it !!! > > only in this way I've got the cluster work... the problem is that it > doesn't work properly ! : the IP phones registered in TELCO can make calls > only to the IP phones registered to the same Asterisk where the last call > was coming from... so if for example you make a call from Asterisk_1 to > TELCO then TELCO wont be able to call Asterisk_2 even if it will be able to > call Asterisk_1.... > > Any ideas ? > > cheers, > > On 3/15/07, Anders Baekgaard <ab@xxxxxxxxx> wrote: > > > Hello Seba > > It will work with one point code shared between two hosts and one > signalling > link connected to one host, provided the hosts are interconnected through > a > LAN. > > Best regards > Anders Baekgaard > > On Monday 12 March 2007 16:16, seb wrote: > > > Hi Anders, > > just wondering if it will not create some problems with the OPC... in > > > fact, > > > > in this specific case, we have only one PC provided by the CNC and > therefore the Telco will use the same DPC for every E1 trunk (the Telco > assumes that we are connecting all the E1 trunks to the same > machine)... the problem is that chan_ss7 accepts only one OPC.... Do > you think that > > > it > > > > is necessary to patch the code so that it accepts more than one OPC? > > Thanks again > > Seba > > On 3/12/07, Anders Baekgaard <ab@xxxxxxxxx> wrote: > > > Hello > > It is possible to have Asterisk_1 forward SS7 signalling for > > > Asterisk_2. > > > > Chan_ss7 has a cluster feature where multiple hosts supervises each > other. The chan_ss7 source comes with an example configuration in the > file ss7.conf.template.two-hosts.. For your setup, if l2 is connected > > > to > > > > Asterisk_2, and host Asterisk_2 has the network interface if-1, the > cluster > section should be something like > > [cluster] > ; Listen on TCP port 5040 > port => 5040 > ; Signalling traffic for link l2 is monitored by host Asterisk_1 on > interface > if-1 > l2 => Asterisk_1#if-1 > > Best regards > Anders Baekgaard > > On Saturday 10 March 2007 11:56, Tusar wrote: > > > Hi, > > Same feature I am also looking for .... > > Astreisk_1 --> SS7 Signalining --> Telco > / > Astreisk_2--/ --> Bearer Channel --> Telco > > > Regards, > > ..Tusar.. > > On 3/9/07, seba seba <seezov@xxxxxxxxx> wrote: > > > Hi Nico, > > Did u find the answer to the second question? > > > That is: > > My Telco gives me N E1 trunks and only one signaling channel (in > > > the > > > > first E1 trunks). I'd like to connect each E1 trunk to different > > > Asterisk > > > > boxes. Therefore I have N-1 Asterisk boxes that do not get any > > > signaling. > > > > Is it possible to implement such configuration with the current > > > chan_ss7 > > > > or it is necessary to modify the chan_ss7? > > > Thanks in advance, > > Seb > > > > On Wed, 22 Nov 2006, [EMAIL PROTECTED] wrote: > > > Hello, > > I have some feature-questions. > > 1.) > I have one Asterisk Box with SS7 and 4 E1 Ports. > i have one Telco with 4 Routings, a a high quality routing, a > > > quality > > > > Routing a cheap routing and a cheaper routing. > The telco did not give me 4 SS7 Signalling Links. > Is it Possible to get this running with chan_ss7 or libss7? > > > > 2.) > I have 2 Asterisk boxes and one SS7-Signalling Link, is it > possible > > > to > > > > make the signalling for the second box with the Signalling > link > > > on > > > > the > > > > first Box? > > > > Thanks a lot for your help > > > Nico > > > _______________________________________________ > --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 > > > _______________________________________________ > --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 > > > _______________________________________________ > --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 > > > _______________________________________________ > --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
![]() |