Miscellaneous configurations

From Yate Documentation
(Difference between revisions)
Jump to: navigation, search
(Camel MAP + CiscoSM)
(M3UA Gateway Advanced Distribution)
Line 257: Line 257:
 
====M3UA Gateway Advanced Distribution====
 
====M3UA Gateway Advanced Distribution====
  
The previos configurations but make sure that in ysigchan.conf file the following are set:
+
All the previous configurations but add the following in [[ysigchan]].conf
 
   
 
   
 
  ;=== SCCP Referencer ===
 
  ;=== SCCP Referencer ===

Revision as of 15:39, 26 October 2017

Contents

Miscellaneous configurations

M2UA Gateway

M2UA Gateway over SCTP

M2UA gateway configuration example

ysigchan.conf.sample

   ;[m2ua-gw]
   ; type=ss7-m2ua-gateway

   ; sig The underlying transport of this gateway 
   ;sig=sctp-m2ua-gw
   ; asp_switch: Time interval in milliseconds for this gateway 
   ; to fire bad client configuration protection
   ;asp_switch=5000

   ; asp_ignore: Time interval in milliseconds used by this gateway
   ;to add all feature overridden client up requests in a blacklist
   ; default to 600000
   ;asp_ignore=600000

   ; max_asp_switch : integer. The maximum counter when a client
   ;up request can be overridden. If this counter has been reached
   ;and asp_switch timer has not expired, the client override
   ;protection will be fired.
   ; Value applied on reload
   ;max_asp_switch=5

   ; expect_asp_id: boolean: True if the gateway should accept asp
   ;up requests only with asp id.
   ; Value applied on reload
   ;expect_asp_id=true

   ; link: string: Name of a SS7 Layer 2 link witch this gateway should 
   ;control.
   ; This parameter can be repeated to add more links to the gateway
   ; An explicit interface identifier can be provided after a comma
   ; This option can be repeated
   ;Eg: link=m2pa-gw1,
   ;link=

ysigchan.conf

   [m2pa0]
   type=ss7-m2pa
   sig=m2pa0

   [m2pa1]
   type=ss7-m2pa
   sig=m2pa1

   [m2ua-gateway]
   type=ss7-m2ua-gateway
   sig=sctp-gw
   expect_asp_id=true
   link=m2pa0,0
   link=m2pa1,1

sigtransport.conf

   [sctp-gw]
   type=sctp
   stream=true
   local=0.0.0.0:2904
   endpoint=false

   [m2pa0]
   type=sctp
   stream=false
   local=127.0.0.1:1112
   remote=127.0.0.1:2111

   [m2pa1]
   type=sctp
   stream=false
   local=127.0.0.1:1113
   remote=127.0.0.1:3111

M2UA Gateway over TDM

ysigchan.conf

;=== Layer 2 ===

[mtp2:0]
type=ss7-m2pa
sig=wpcard

[mtp2:1]
type=ss7-m2pa
sig=zapcard

;=== M2UA Gateway ===

[m2ua-gateway]
type=ss7-m2ua-gateway
sig=sctp-m2ua-gw
expect_asp_id=true
link=mtp2:0,0
link=mtp2:1,1

zapcard.conf

[zapcard]
type=E1
sigchan=16

wpcard.conf

[wanpipe]
type=E1
readonly=no
siggroup=w1g1

sigtransport.conf

[sctp-m2ua-gw]
type=sctp
stream=yes
local=10.0.0.2:2904
endpoint=no

M3UA Gateway

ysigchan.conf

;=== M3UA Gateway ===

[m3ua-gw]
type=ss7-m3ua-gateway
sig=sctp-gw
aspid=1
pc-type=ITU
contexts=0,1

0.traffic=override
0.cic=1-15.17-31

1.traffic=override
1.cic=32-46,48-62

;=== Layer 3 ===

[ls:wp]
type=ss7-mtp3
netind2pctype=ITU
adjacent=ITU,2
local=ITU,1
netindicator=national
link=mtp2:wp

[ls:zap]
type=ss7-mtp3
netind2pctype=ITU
adjacent=ITU,3
local=ITU,1
netindicator=national
link=mtp2:zap

[ls:m2ua]
type=ss7-mtp3
netind2pctype=ITU
adjacent=ITU,4
local=ITU,1
netindicator=national
link=m2ua

[ls:m2pa]
type=ss7-mtp3
netind2pctype=ITU
adjacent=ITU,5
local=ITU,1
netindicator=national
link=m2pa

[ls:cisco]
type=ss7-mtp3
netind2pctype=ITU
adjacent=ITU,6
local=ITU,1
netindicator=national
link=cisco_slt

;=== Layer 2 ===

;== Wanpipe MTP2 == 

[mtp2:wp]
type=ss7-m2pa
sig=wpcard

;== Zaptel MTP2 ==

[mtp2:zap]
type=ss7-m2pa
sig=zapcard

;== M2UA ASP ==

[m2ua-client]
type=ss7-m2ua-client
sig=sctp:m2ua
aspid=1

[m2ua]
type=ss7-m2ua
client=m2ua-client
iid=0

;== M2PA ==

[m2pa]
type=ss7-m2pa
sig=sctp:m2pa

ciscosm.conf

[session]
remote_host=10.0.0.4
remote_port=8060
local_host=10.0.0.1
local_port=8060

[cisco_slt]
session=session
channel=0

sigtransport.conf

[sctp:m2ua]
type=sctp
stream=true
remote=10.0.0.2:2904
endpoint=true

[sctp:m2pa]
type=sctp
stream=false
local=10.0.0.1:3565
remote=10.0.0.3:3565
endpoint=yes

wpcard.conf

[wanpipe]
type=E1
readonly=no
siggroup=w1g1

zapcard.conf

[zapcard]
type=E1
sigchan=16

M3UA Gateway Advanced Distribution

All the previous configurations but add the following in ysigchan.conf

;=== SCCP Referencer ===

[sccp-user-dummy]
type=ss7-sccpu-dummy
sccp=sccp

;=== SCCP ===

[sccp]
type=ss7-sccp
pointcodetype=ITU
localpointcode=1
priority=0
decoder=true

;=== M3UA Gateway ===

[m3ua-gw]
type=ss7-m3ua-gateway
sig=sctp-gw
aspid=1
pc-type=ITU
contexts=0,1

0.traffic=override
0.SSN=7

1.traffic=override
1.gt=^2\(.*\)$

Camel

Camel MAP + CiscoSM

ysigchan.conf

;=== TCAP ===
[tcap]
type=ss7-tcap-itu
local_SSN=7
default_remote_SSN=15
sccp=sccp
transact_timeout=600
max_timeout_checks=5
floodevents=100

;=== SCCP ===

[sccp]
type=ss7-sccp
pointcodetype=ITU
netindicator=international
localpointcode=1
management=sccp-mgm-international

;=== Layer 3 ===

[link-set]
type=ss7-mtp3
netind2pctype=ITU
adjacent=ITU,2
local=ITU,1
netindicator=international
link=cisco_slt

camel_map.conf

[tcap GENERIC]
tcap=tcap
type=MAP/CAMEL

[local GENERIC]
translator=GENERIC
capabilities="Capabilities_list"
export_xml_as=both

ciscosm.conf

[session]
remote_host=10.0.0.2
remote_port=8060
local_host=10.0.0.1
local_port=8060

[cisco_slt]
session=session
channel=0

Camel MAP + M3UA

ysigchan.conf

;=== TCAP ===
[tcap]
type=ss7-tcap-itu
local_SSN=7
default_remote_SSN=15
sccp=sccp
transact_timeout=600
max_timeout_checks=5
floodevents=100


;=== SCCP === 

[sccp]
type=ss7-sccp
pointcodetype=ITU
netindicator=international
localpointcode=1
management=sccp-mgm-international
router=no
network=m3ua

;=== Layer 3 ===

[m3ua-client]
type=ss7-m3ua-client
sig=sctp:m3ua
aspid=1

[m3ua]
type=ss7-m3ua
netind2pctype=ITU
netindicator=national
adjacent=ITU,2
local=ITU,1
client=m3ua-client
routing-context=1
network-appearance=1

camel_map.conf

[tcap GENERIC]
tcap=tcap
type=MAP/CAMEL


[local GENERIC]
translator=GENERIC
capabilities="Capabilities_list"
export_xml_as=both

sigtransport.conf

[sctp:m3ua]
type=sctp
stream=true
remote=10.0.0.2:2905
endpoint=true

Camel MAP + M2PA

ysigchan.conf

;=== TCAP ===
[tcap]
type=ss7-tcap-itu
local_SSN=7
default_remote_SSN=15
sccp=sccp
transact_timeout=600
max_timeout_checks=5
floodevents=100

;=== SCCP ===

[sccp]
type=ss7-sccp
pointcodetype=ITU
netindicator=international
localpointcode=1
management=sccp-mgm-international

;=== Layer 3 ===

[link-set]
type=ss7-mtp3
netind2pctype=ITU
adjacent=ITU,2
local=ITU,1
netindicator=international
link=m2pa

;=== Layer 2 ===

[m2pa]
type=ss7-m2pa
sig=sctp:m2pa

camel_map.conf

[tcap GENERIC]
tcap=tcap
type=MAP/CAMEL

[local GENERIC]
translator=GENERIC
capabilities="Capabilities_list"
export_xml_as=both

sigtransport.conf

[sctp:m2pa]
type=sctp
stream=no
local=10.0.0.1:3565
remote=10.0.0.2:3565
endpoint=yes

Camel MAP + M2UA ASP

ysigchan.conf

;=== TCAP ===
[tcap]
type=ss7-tcap-itu
local_SSN=7
default_remote_SSN=15
sccp=sccp
transact_timeout=600
max_timeout_checks=5
floodevents=100


;=== SCCP ===

[sccp]
type=ss7-sccp
pointcodetype=ITU
netindicator=international
localpointcode=1
management=sccp-mgm-international

;=== Layer 3 ===

[link-set]
type=ss7-mtp3
netind2pctype=ITU
adjacent=ITU,2
local=ITU,1
netindicator=international
link=m2ua

;=== Layer 2 ===

[m2ua-client]
type=ss7-m2ua-client
sig=sctp:m2ua
aspid=1

[m2ua]
type=ss7-m2ua
client=m2ua-client
iid=0

camel_map.conf

[tcap GENERIC]
tcap=tcap
type=MAP/CAMEL
[local GENERIC]
translator=GENERIC
capabilities="Capabilities_list"
export_xml_as=both

sigtransport.conf

[sctp:m2ua]
type=sctp
stream=true
remote=10.0.0.2:2904
endpoint=true

Camel MAP + Wanpipe

ysigchan.conf

;=== TCAP ===
[tcap]
type=ss7-tcap-itu
local_SSN=7
default_remote_SSN=15
sccp=sccp
transact_timeout=600
max_timeout_checks=5
floodevents=100


;=== SCCP ===

[sccp]
type=ss7-sccp
pointcodetype=ITU
netindicator=international
localpointcode=1
management=sccp-mgm-international

;=== Layer 3 ===

[link-set]
type=ss7-mtp3
netind2pctype=ITU
adjacent=ITU,2
local=ITU,1
netindicator=international
link=mtp2

;=== Layer 2 ===

[mtp2]
type=ss7-mtp2
sig=wanpipe

camel_map.conf

[tcap GENERIC]
tcap=tcap
type=MAP/CAMEL

[local GENERIC]
translator=GENERIC
capabilities="Capabilities_list"
export_xml_as=both

wpcard.conf

[wanpipe]
type=E1
siggroup=w1g1

Camel MAP + Zaptel

ysigchan.conf

;=== TCAP ===
[tcap]
type=ss7-tcap-itu
local_SSN=7
default_remote_SSN=15
sccp=sccp
transact_timeout=600
max_timeout_checks=5
floodevents=100


;=== SCCP ===

[sccp]
type=ss7-sccp
pointcodetype=ITU
netindicator=international
localpointcode=1
management=sccp-mgm-international

;=== Layer 3 ===

[link-set]
type=ss7-mtp3
netind2pctype=ITU
adjacent=ITU,2
local=ITU,1
netindicator=international
link=mtp2

;=== Layer 2 ===

[mtp2]
type=ss7-mtp2
sig=zapchans

camel_map.conf

[tcap GENERIC]
tcap=tcap
type=MAP/CAMEL

[local GENERIC]
translator=GENERIC
capabilities="Capabilities_list"
export_xml_as=both

zapcard.conf

[zapchans]
type=E1
sigchan=16

ISUP

ISUP + CiscoSM + MGCP

ysigchan.conf

;=== ISUP ===

[isup]
type=ss7-isup
pointcodetype=ITU
netindicator=national
defaultpointcode=1
remotepointcode=2
voice=mgcp_ca

; voice is defined in mgcpca.conf

;=== Layer 3 ===

[link-set]
type=ss7-mtp3
netind2pctype=ITU
adjacent=ITU,2
local=ITU,1
netindicator=national
link=cisco_slt

;=== Layer 2 ===
; Layer 2 is defined in ciscosm.conf

ciscosm.conf

[session]
remote_host=10.0.0.2
remote_port=8060
local_host=10.0.0.1
local_port=8060

[cisco_slt]
session=session
channel=0

mgcpca.conf

[engine]
address=0.0.0.0
port=2727

[gw mgcp_ca]
host=10.0.0.2
address=10.0.0.2
user=mgcp_ca
chans=1
forward_rtp=yes
offset=1
version=MGCP 1.0
req_fax=no
voicechans=1-15.17-31

ISUP + M2PA + MGCP

ysigchan.conf

;=== ISUP ===

[isup]
type=ss7-isup
pointcodetype=ITU
netindicator=national
defaultpointcode=1
remotepointcode=2
voice=mgcp_ca

; voice is defined in mgcpca.conf

;=== Layer 3 ===

[link-set]
type=ss7-mtp3
netind2pctype=ITU
adjacent=ITU,2
local=ITU,1
netindicator=national
link=m2pa

;=== Layer 2 ===

[m2pa]
type=ss7-m2pa
sig=sctp:m2pa

mgcpca.conf

[engine]
address=0.0.0.0
port=2727

[gw mgcp_ca]
host=10.0.0.2
address=10.0.0.2
user=mgcp_ca
chans=1
forward_rtp=yes
offset=1
version=MGCP 1.0
req_fax=no
voicechans=1-15.17-31

sigtransport.conf

[sctp:m2pa]
type=sctp
stream=no
local=10.0.0.1:3565
remote=10.0.0.2:3565
endpoint=yes

ISUP + M2UA + MGCP

ysigchan.conf

;=== ISUP ===

[isup]
type=ss7-isup
pointcodetype=ITU
netindicator=national
defaultpointcode=1
remotepointcode=2
voice=mgcp_ca

; voice is defined in mgcpca.conf

;=== Layer 3 ===

[link-set]
type=ss7-mtp3
netind2pctype=ITU
adjacent=ITU,2
local=ITU,1
netindicator=national
link=m2ua

;=== Layer 2 ===

[m2ua-client]
type=ss7-m2ua-client
sig=sctp:m2ua
aspid=1

[m2ua]
type=ss7-m2ua
client=m2ua-client
iid=0

mgcpca.conf

[engine]
address=0.0.0.0
port=2727

[gw mgcp_ca]
host=10.0.0.2
address=10.0.0.2
user=mgcp_ca
chans=1
forward_rtp=yes
offset=1
version=MGCP 1.0
req_fax=no
voicechans=1-15.17-31

sigtransport.conf

[sctp:m2ua]
type=sctp
stream=true
remote=10.0.0.2:2904
endpoint=true

ISUP + M3UAASP + MGCP

ysigchan.conf

;=== ISUP ===

[isup]
type=ss7-isup
pointcodetype=ITU
netindicator=national
defaultpointcode=1
remotepointcode=2
voice=mgcp_ca
router=false
network=m3ua

; voice is defined in mgcpca.conf

;=== Layer 3 ===

[m3ua-client]
type=ss7-m3ua-client
sig=sctp:m3ua
aspid=1

[m3ua]
type=ss7-m3ua
netind2pctype=ITU
netindicator=national
adjacent=ITU,2
local=ITU,1
client=m3ua-client
routing-context=1
network-appearance=1

mgcpca.conf

[engine]
address=0.0.0.0
port=2727

[gw mgcp_ca]
host=10.0.0.2
address=10.0.0.2
user=mgcp_ca
chans=1
forward_rtp=yes
offset=1
version=MGCP 1.0
req_fax=no
voicechans=1-15.17-31

sigtransport.conf

[sctp:m3ua]
type=sctp
stream=true
remote=10.0.0.2:2905
endpoint=true

ISUP + Wanpipe

ysigchan.conf

;=== ISUP ===

[isup]
type=ss7-isup
pointcodetype=ITU
netindicator=national
defaultpointcode=1
remotepointcode=2
voice=wanpipe

;=== Layer 3 ===

[link-set]
type=ss7-mtp3
netind2pctype=ITU
adjacent=ITU,2
local=ITU,1
netindicator=national
link=mtp2

;=== Layer 2 ===

[mtp2]
type=ss7-mtp2
sig=wanpipe

wpcard.conf

[wanpipe]
type=E1
readonly=no
siggroup=w1g1
voicegroup=w1g2
voicechans=1-15.17-31
offset=0
start=1

ISUP + Zaptel

ysigchan.conf

;=== ISUP ===

[isup]
type=ss7-isup
pointcodetype=ITU
netindicator=national
defaultpointcode=1
remotepointcode=2
voice=zapchans

;=== Layer 3 ===

[link-set]
type=ss7-mtp3
netind2pctype=ITU
adjacent=ITU,2
local=ITU,1
netindicator=national
link=mtp2

;=== Layer 2 ===

[mtp2]
type=ss7-mtp2
sig=zapchans

zapcard.conf

[zapchans]
type=E1
offset=1
start=1
sigchan=16
voicechans=1-15.17-31

ISUP + M3UAASP + Router + MGCP

ysigchan.conf

;=== ISUP ===

[isup]
type=ss7-isup
pointcodetype=ITU
netindicator=national
defaultpointcode=1
remotepointcode=2
voice=mgcp_ca

; voice is defined in mgcpca.conf

;=== Layer 3 ===

[m3ua-client1]
type=ss7-m3ua-client
sig=sctp:m3ua1
aspid=1

[m3ua1]
type=ss7-m3ua
netind2pctype=ITU
netindicator=national
adjacent=ITU,2
local=ITU,1
client=m3ua-client
routing-context=1
network-appearance=1

[m3ua-client2]
type=ss7-m3ua-client
sig=sctp:m3ua2
aspid=1

[m3ua2]
type=ss7-m3ua
netind2pctype=ITU
netindicator=national
adjacent=ITU,3
local=ITU,1
client=m3ua-client
routing-context=1
network-appearance=1

;=== Router ===

[ss7router]
type=ss7-router
management=no
starttime=0
autoallow=true

sigtransport.conf

[sctp:m3ua1]
type=sctp
stream=true
remote=10.0.0.2:2905
endpoint=true

[sctp:m3ua2]
type=sctp
stream=true
remote=10.0.0.3:2905
endpoint=true

mgcpca.conf

[engine]
address=0.0.0.0
port=2727

[gw mgcp_ca]
host=10.0.0.2
address=10.0.0.2
user=mgcp_ca
chans=1
forward_rtp=yes
offset=1
version=MGCP 1.0
req_fax=no
voicechans=1-15.17-31
Personal tools
Namespaces

Variants
Actions
Preface
Configuration
Administrators
Developers