[asterisk-ss7] asterisk cluster with chan_ss7 and mtp3d

Kashif Ali kashif at kashifbukhari.com
Fri Dec 23 17:54:22 CST 2016


also run mtp3d service on both servers,


On Sat, Dec 24, 2016 at 4:48 AM, Kashif Ali <kashif at kashifbukhari.com>
wrote:

> check p11 using same port as p8
>
>  [link-p11]
> linkset => C
> channels => 2-31
> schannel => 1 at box1:50001
> firstcic => 97
> sls => 1
> stp => 3080
> echocancel => no
> enabled => yes
>
>
>
> On Fri, Dec 23, 2016 at 4:36 PM, Daniel Fernandes <dsf at t2change.com>
> wrote:
>
>>   Hi Kashif,
>>
>>   first of all thanks for your reply.
>>
>>   please ss7.conf below
>>
>>   [linkset-A]
>> enabled => yes
>> enable_st => no
>> use_connect => yes
>> hunting_policy => seq_htl
>> subservice => 0xc
>> context => CALLS
>> language => pt
>> variant => ITU
>> combined => mated-pair
>>
>> [linkset-B]
>> enabled => yes
>> enable_st => no
>> use_connect => yes
>> hunting_policy => seq_htl
>> subservice => 0xc
>> context => CALLS
>> language => pt
>> variant => ITU
>> combined => mated-pair
>>
>> [linkset-C]
>> enabled => yes
>> enable_st => no
>> use_connect => yes
>> hunting_policy => seq_htl
>> subservice => 0xc
>> context => CALLS
>> language => pt
>> variant => ITU
>> combined => mated-pair
>>
>> [link-p1]
>> linkset => B
>> channels => 1-31
>> schannel =>
>> firstcic => 1
>> enabled => yes
>>
>> [link-p2]
>> linkset => B
>> channels => 1-31
>> schannel =>
>> firstcic => 65
>> enabled => yes
>>
>> [link-p3]
>> linkset => B
>> channels => 1-31
>> schannel =>
>> firstcic => 129
>> enabled => yes
>>
>> [link-p4]
>> linkset => B
>> channels => 1-31
>> schannel =>
>> firstcic => 33
>> enabled => yes
>>
>> [link-p5]
>> linkset => B
>> channels => 1-31
>> schannel =>
>> firstcic => 97
>> enabled => yes
>>
>> [link-p6]
>> linkset => B
>> channels => 1-31
>> schannel =>
>> firstcic => 161
>> enabled => yes
>>
>> [link-p7]
>> linkset => C
>> channels => 1-31
>> schannel =>
>> firstcic => 1
>> enabled => yes
>>
>> [link-p8]
>> linkset => C
>> channels => 2-31
>> schannel => 1 at box1:50001
>> firstcic => 65
>> stp => 3050
>> sls => 1
>> echocancel => no
>> enabled => yes
>>
>> [link-p9]
>> linkset => C
>> channels => 1-31
>> schannel =>
>> firstcic => 129
>> enabled => yes
>>
>> [link-p10]
>> linkset => C
>> channels => 1-31
>> schannel =>
>> firstcic => 33
>> enabled => yes
>>
>> [link-p11]
>> linkset => C
>> channels => 2-31
>> schannel => 1 at box1:50001
>> firstcic => 97
>> sls => 1
>> stp => 3080
>> echocancel => no
>> enabled => yes
>>
>> [link-p12]
>> linkset => C
>> channels => 1-31
>> schannel =>
>> firstcic => 161
>> enabled => yes
>>
>> [link-p13]
>> linkset => A
>> channels => 2-31
>> schannel => 1 at box2:50003
>> firstcic => 1
>> sls => 0
>> stp => 3050
>> echocancel => no
>> enabled => yes
>>
>> [link-p14]
>> linkset => A
>> channels => 1-31
>> schannel =>
>> firstcic => 65
>> enabled => yes
>>
>> [link-p15]
>> linkset => A
>> channels => 2-31
>> schannel => 1 at box2:50004
>> firstcic => 33
>> sls => 0
>> stp => 3080
>> echocancel => no
>> enabled => yes
>>
>> [link-p16]
>> linkset => A
>> channels => 1-31
>> schannel =>
>> firstcic => 97
>> enabled => yes
>>
>> [host-box1]
>> enabled => yes
>> opc => 10001
>> dpc => A:950,B:970,C:1000
>> links => p5:5,p6:6,p7:7,p8:8,p9:9,p10:10,p11:11,p12:12
>> if-1 => 192.168.1.199
>>
>> [host-box2]
>> enabled => yes
>> opc => 10001
>> dpc => A:950,B:970,C:1000
>> links => p1:1,p2:2,p3:3,p4:4,p13:9,p14:6,p15:7,p16:8
>> if-1 => 192.168.1.200
>>
>> Regards,
>>     Daniel Fernandes
>>
>>
>>
>>
>> On 12/22/2016 07:31 PM, Kashif Ali wrote:
>>
>> send full ss7.conf
>>
>> On Wed, Dec 21, 2016 at 9:37 PM, Daniel Fernandes <dsf at t2change.com>
>> wrote:
>>
>>> Hi,
>>>
>>>
>>> I’m configuring 2 asterisk boxes with 16 E1 using chan_ss7 and mtp3d for
>>> clustering.
>>>
>>> My Versions:
>>>
>>>  * Asterisk 11.18.0
>>>  * Dahdi 2.10.2
>>>  * Chan_ss7 2.4.4 from svn
>>>
>>> my ss7.conf file is the same in both boxes, and my schannel is
>>> configured as:
>>> schannel => 1 at box1:50001
>>>
>>> Checking mtp3d and asterisk logs, i found some strange messages:
>>>
>>> on asterisk logs:
>>>      WARNING[11594] cluster.c: No way to send packet to cluster,
>>> link='p1', reqtype=2
>>>
>>> on mtp3d logs:
>>>     mtp3io.c:162 mtp3_reply Send packet to 0.0.0.0:16640
>>>
>>> since i'm not defined port 16640 anywhere, why mtp3d tries to reply to
>>> any host on that port?
>>>
>>> can anyone give me some help to understand what am i doing wrong?
>>>
>>> thanks in advance,
>>> Daniel
>>>
>>>
>>>
>>> --
>>> _____________________________________________________________________
>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>>
>>> asterisk-ss7 mailing list
>>> To UNSUBSCRIBE or update options visit:
>>>    http://lists.digium.com/mailman/listinfo/asterisk-ss7
>>>
>>
>>
>>
>>
>> --
>> Daniel Fernandes
>> System Administrator/Developer
>>
>> Time 2 Change
>> Rua Consiglieri Pedroso nº123
>> Parque da Iberfar - Edifício H
>> Queluz de Baixo
>> 2730-056 Barcarena
>>
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.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/20161224/766a8f8f/attachment-0001.html>


More information about the asterisk-ss7 mailing list