1
|
|
2
|
#----------------------------------------------------------------#
|
3
|
# #
|
4
|
# SN4120/2BIS4V #
|
5
|
# R6.9 2017-03-13 H323 SIP #
|
6
|
# 1970-01-01T03:34:05 #
|
7
|
# SN/00A0BA0CEBF7 #
|
8
|
# Generated configuration file #
|
9
|
# #
|
10
|
#----------------------------------------------------------------#
|
11
|
|
12
|
cli version 3.20
|
13
|
clock local default-offset +01:00
|
14
|
dns-client server 8.8.8.8
|
15
|
dns-relay
|
16
|
webserver port 80 language en
|
17
|
sntp-client
|
18
|
sntp-client server primary "129.6.15.28 " port 123 version 4
|
19
|
sntp-client operating-mode anycast
|
20
|
|
21
|
system
|
22
|
|
23
|
ic voice 0
|
24
|
low-bitrate-codec g729
|
25
|
|
26
|
system
|
27
|
clock-source 1 bri 0 0
|
28
|
clock-source 2 bri 0 1
|
29
|
|
30
|
profile ppp default
|
31
|
|
32
|
profile tone-set default
|
33
|
|
34
|
profile voip default
|
35
|
codec 1 g711alaw64k rx-length 20 tx-length 20
|
36
|
|
37
|
profile pstn default
|
38
|
|
39
|
profile sip default
|
40
|
no autonomous-transitioning
|
41
|
|
42
|
profile aaa default
|
43
|
method 1 local
|
44
|
method 2 none
|
45
|
|
46
|
context ip router
|
47
|
|
48
|
interface eth0
|
49
|
ipaddress 10.210.64.68 255.255.255.192
|
50
|
tcp adjust-mss rx mtu
|
51
|
tcp adjust-mss tx mtu
|
52
|
|
53
|
context ip router
|
54
|
route 0.0.0.0 0.0.0.0 10.210.64.1 0
|
55
|
|
56
|
context cs switch
|
57
|
|
58
|
routing-table called-e164 RT-OUT
|
59
|
route .%T dest-interface IF_ISDN_00
|
60
|
|
61
|
routing-table called-e164 RT_IN
|
62
|
route .%T dest-interface IF_SIP
|
63
|
|
64
|
interface isdn IF_ISDN_00
|
65
|
route call dest-table RT-OUT
|
66
|
|
67
|
interface isdn IF_ISDN_01
|
68
|
route call dest-interface IF_SIP
|
69
|
|
70
|
interface sip IF_SIP
|
71
|
bind context sip-gateway GW_SIP
|
72
|
route call dest-service SRV_HUNT
|
73
|
remote 10.210.64.67 5060
|
74
|
local 10.210.64.67 5060
|
75
|
early-disconnect
|
76
|
address-complete-indication accept set
|
77
|
address-translation outgoing-call request-uri user-part call host-part fix 10.173.0.200 5060 target-param none
|
78
|
address-translation incoming-call calling-redir request-uri
|
79
|
|
80
|
service hunt-group SRV_HUNT
|
81
|
drop-cause normal-unspecified
|
82
|
drop-cause no-circuit-channel-available
|
83
|
drop-cause network-out-of-order
|
84
|
drop-cause temporary-failure
|
85
|
drop-cause switching-equipment-congestion
|
86
|
drop-cause access-info-discarded
|
87
|
drop-cause circuit-channel-not-available
|
88
|
drop-cause resources-unavailable
|
89
|
route call 1 dest-interface IF_ISDN_00
|
90
|
route call 2 dest-interface IF_ISDN_01
|
91
|
|
92
|
context cs switch
|
93
|
no shutdown
|
94
|
|
95
|
authentication-service AUTH_SVC
|
96
|
username 90001 password 0ekQksGUS0WEwqBn1G52gg== encrypted
|
97
|
|
98
|
location-service LOCATION_SVC
|
99
|
domain 1 10.210.64.67 5060
|
100
|
|
101
|
identity-group default
|
102
|
|
103
|
authentication inbound
|
104
|
authenticate 1 authentication-service AUTH_SVC username 90001
|
105
|
|
106
|
registration inbound
|
107
|
lifetime default 60 min 1 max 4294967295
|
108
|
|
109
|
call inbound
|
110
|
|
111
|
identity 90001 inherits default
|
112
|
|
113
|
authentication inbound
|
114
|
authenticate 1 authentication-service AUTH_SVC username 90001
|
115
|
|
116
|
context sip-gateway GW_SIP
|
117
|
|
118
|
interface IF_GW_SIP
|
119
|
bind interface eth0 context router port 5060
|
120
|
|
121
|
context sip-gateway GW_SIP
|
122
|
bind location-service LOCATION_SVC
|
123
|
no shutdown
|
124
|
|
125
|
port ethernet 0 0
|
126
|
medium auto
|
127
|
encapsulation ip
|
128
|
bind interface eth0 router
|
129
|
no shutdown
|
130
|
|
131
|
port bri 0 0
|
132
|
clock auto
|
133
|
encapsulation q921
|
134
|
|
135
|
q921
|
136
|
permanent-layer2
|
137
|
protocol pp
|
138
|
uni-side auto
|
139
|
encapsulation q931
|
140
|
|
141
|
q931
|
142
|
protocol dss1
|
143
|
uni-side user
|
144
|
bchan-number-order ascending
|
145
|
encapsulation cc-isdn
|
146
|
bind interface IF_ISDN_00 switch
|
147
|
|
148
|
port bri 0 0
|
149
|
no shutdown
|
150
|
|
151
|
port bri 0 1
|
152
|
clock auto
|
153
|
encapsulation q921
|
154
|
|
155
|
q921
|
156
|
permanent-layer2
|
157
|
protocol pp
|
158
|
uni-side auto
|
159
|
encapsulation q931
|
160
|
|
161
|
q931
|
162
|
protocol dss1
|
163
|
uni-side user
|
164
|
bchan-number-order ascending
|
165
|
encapsulation cc-isdn
|
166
|
bind interface IF_ISDN_01 switch
|
167
|
|
168
|
port bri 0 1
|
169
|
no shutdown
|
170
|
|
171
|
|