libss7 does support multiple point codes and there is nothing special or wrong with such configuration, but ...

When using Dial(DAHDI/g1/${EXTEN}):
If your linkset 1 is down, the calls go to the second linkset in your group 1 - this is what you observe If you have more than 60 calls they will still go to the second linkset - it is not just for backup, but also extending your available channels, which is similar to have just one linkset with 4 E1 If only one of the E1 in linkset 1 is down the other will be used for 30 calls and the next call will go to linkset 2

If you use Dial(DAHDI/G1/${EXTEN}) it will start from the last CIC of second E1 from linkset 2 and similarly with 'r' or 'R' it will cycle through all CICs from both linksets


On 2015-04-04 12:48, GOPI GANAPATHY wrote:
Dear all,

I'm experimenting with libss7 and asterisk to do a fail-over
configuration. I've 2 Asterisk Boxes, connected back-to-back with 4
E1s.

2 E1s are configured as linkset - 1 with 2 links in it. Other 2E1s are
configured as linkset - 2 with 2 links in it. Both linkset has
different OPC and DPC. Please see the below for the configuration.

Asterisk - A:


group=1
context=from-internal
signalling=ss7            ;this is ss7 signalling
ss7type=itu              ;using the ITU variant
ss7_called_nai=dynamic            ;NAI for outgoing calls
ss7_calling_nai=dynamic           ;NAI for incoming calls
ss7_internationalprefix=00 ;internation prefix value for incoming calls
ss7_nationalprefix=0 ;national prefix value for incoming calls ss7_subscriberprefix= ;subscriber prefix value for incoming calls ss7_unknownprefix= ;unknown prefix value for incoming calls
ss7_explictacm=yes             ;ACM is send as soon as call enters the
dialplan...may not accepted yet though

linkset=1             ;arbitary name for this set of channels
pointcode=1               ;the point code for this system...aka SPC
adjpointcode=2               ;the point code for the system that we
are signalling to... aka APC
defaultdpc=2               ;the point code for the system that the
CICs will be negoiated with...aka DPC
networkindicator=international ;NI value for MTP3
cicbeginswith=1              ;the starting value of the CICs
channel=>1-15
cicbeginswith=17
channel=>17-31
cicbeginswith=32
channel =>32-46
cicbeginswith=48
channel=>48-62
slc=0
sigchan=16
slc=1
sigchan=47               ;the signalling channel

linkset=2             ;arbitary name for this set of channels
pointcode=3               ;the point code for this system...aka SPC
adjpointcode=4               ;the point code for the system that we
are signalling to... aka APC
defaultdpc=4               ;the point code for the system that the
CICs will be negoiated with...aka DPC
networkindicator=international ;NI value for MTP3
cicbeginswith=63              ;the starting value of the CICs
channel =>63-77
cicbeginswith=79
channel =>79-93
cicbeginswith=94
channel =>94-108
cicbeginswith=110
channel=>110-124
slc=0
sigchan=78
slc=1
sigchan=109              ;the signalling channel


Asterisk - B

group=1
context=from-internal
signalling=ss7            ;this is ss7 signalling
ss7type=itu              ;using the ITU variant
ss7_called_nai=dynamic            ;NAI for outgoing calls
ss7_calling_nai=dynamic           ;NAI for incoming calls
ss7_internationalprefix=00 ;internation prefix value for incoming calls
ss7_nationalprefix=0 ;national prefix value for incoming calls ss7_subscriberprefix= ;subscriber prefix value for incoming calls ss7_unknownprefix= ;unknown prefix value for incoming calls
ss7_explictacm=yes             ;ACM is send as soon as call enters the
dialplan...may not accepted yet though

linkset=1             ;arbitary name for this set of channels
pointcode=2                ;the point code for this system...aka SPC
adjpointcode=1               ;the point code for the system that we
are signalling to... aka APC
defaultdpc=1               ;the point code for the system that the
CICs will be negoiated with...aka DPC
networkindicator=international ;NI value for MTP3
cicbeginswith=1              ;the starting value of the CICs
channel=>1-15
cicbeginswith=17             ;the starting value of the CICs
channel=>17-31
cicbeginswith=32
channel=>32-46
cicbeginswith=48
channel=>48-62
slc=0
sigchan=16
slc=1
sigchan=47              ;the signalling channel

linkset=2             ;arbitary name for this set of channels
pointcode=4               ;the point code for this system...aka SPC
adjpointcode=3               ;the point code for the system that we
are signalling to... aka APC
defaultdpc=3               ;the point code for the system that the
CICs will be negoiated with...aka DPC
networkindicator=international ;NI value for MTP3
cicbeginswith=63              ;the starting value of the CICs
channel =>63-77
cicbeginswith=79
channel=>79-93
cicbeginswith=94
channel=>94-108
cicbeginswith=110
channel=>110-124
slc=0
sigchan=78
slc=1
sigchan=109

When everything is normal and I make a call, the call go through via
the linkset 1. Then I removed the Physical cable of 1st and 2nd E1,
now the call goes via linkset 2. So I assume that it works as
expected. My doubt is I've read post in this mailing-list saying
Libss7 cannot support multiple point code or you need special
configurations with multiple asterisk running etc... But it looks like
it has worked for me, or am I missing something ??? Please en-light...

--
_____________________________________________________________________
-- 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

Reply via email to