Miscellaneous configurations
From Yate Documentation
(Difference between revisions)
(→M2UA Gateway over TDM) |
m (→M2UA Gateway over SCTP) |
||
Line 3: | Line 3: | ||
===M2UA Gateway=== | ===M2UA Gateway=== | ||
====M2UA Gateway over SCTP==== | ====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==== | ====M2UA Gateway over TDM==== | ||
Revision as of 11:35, 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