-
Notifications
You must be signed in to change notification settings - Fork 0
/
day1Jan30-ROBERT.txt
413 lines (385 loc) · 9.06 KB
/
day1Jan30-ROBERT.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
!@@@LeafSwitchONLY
config t
hostname COREbaba_
enable secret pass
service password-encryption
no logging console
no ip domain-lookup
line console 0
password pass
login
exec-timeout 0 0
line vty 0 14
password pass
login
exec-timeout 0 0
Int Gi 0/1
no shutdown
no switchport
ip add 10._._.4 255.255.255.0
Int Vlan 1
no shutdown
ip add 10._.1.4 255.255.255.0
description MGMTDATA
Int Vlan 10
no shutdown
ip add 10._.10.4 255.255.255.0
description WIRELESS
Int Vlan 50
no shutdown
ip add 10._.50.4 255.255.255.0
description IPCCTV
Int Vlan 100
no shutdown
ip add 10._.100.4 255.255.255.0
description VOICEVLAN
!DHCP: DYNAMIC HOST CONFIGURATION PROTOCOL
!@@@LEAF SWITCH
config t
ip dhcp Excluded-add 10._.1.1 10._.1.100
ip dhcp Excluded-add 10._.10.1 10._.10.100
ip dhcp Excluded-add 10._.50.1 10._.50.100
ip dhcp Excluded-add 10._.100.1 10._.100.100
ip dhcp pool MGMTDATA
network 10._.1.0 255.255.255.0
default-router 10._.1.4
domain-name MGMTDATA.COM
dns-server 10._.1.10
ip dhcp pool WIFIDATA
network 10._.10.0 255.255.255.0
default-router 10._.10.4
domain-name WIFIDATA.COM
dns-server 10._.1.10
ip dhcp pool IPCCTV
network 10._.50.0 255.255.255.0
default-router 10._.50.4
domain-name IPCCTV.COM
dns-server 10._.1.10
ip dhcp pool VOICEVLAN
network 10._.100.0 255.255.255.0
default-router 10._.100.4
domain-name VOICEVLAN.COM
dns-server 10._.1.10
option 150 ip 10._.100.8
END
!!CREATING AND PLACING PORTS INSIDEAVLAN:
config t
vlan 10
name WIFIVLAN
vlan 50
name IPCCTVLAN
vlan 100
name VOICEVLAN
Int Fa 0/2
switchport mode access
switchport access vlan 10
Int Fa 0/4
switchport mode access
switchport access vlan 10
Int Fa 0/6
switchport mode access
switchport access vlan 50
Int Fa 0/8
switchport mode access
switchport access vlan 50
Int Fa 0/3
switchport mode access
switchport access vlan 100
Int Fa 0/5
switchport mode access
switchport access vlan 100
Int Fa 0/7
switchport mode access
switchport access vlan 100
end
!!cisco unified call manager Express command
!@@@CUCM-M
config t
hostname CUCM-11
enable secret pass
service password-encryption
no logging console
no ip domain-lookup
line console 0
password pass
login
exec-timeout 0 0
line vty 0 14
password pass
login
exec-timeout 0 0
Int Fa 0/0
no shutdown
ip add 10._.100.8 255.255.255.0
end
!!!CUCM ANALOG PHONES CONFIG
configure terminal
dial-peer voice 1 pots
destination-pattern _00
port 0/0/0
dial-peer voice 2 pots
destination-pattern _01
port 0/0/1
dial-peer voice 3 pots
destination-pattern _02
port 0/0/2
dial-peer voice 4 pots
destination-pattern _03
port 0/0/3
end
!!IP telephony
config t
no telephony-service
telephony-service
no auto assign
no auto-reg-ephone
max-ephones 5
max-dn 20
ip source-address 10._.100.8 port 2000
create cnf-files
ephone-dn 1
number _11
ephone-dn 2
number _22
ephone-dn 3
number _33
ephone-dn 4
number _44
ephone-dn 5
number _55
ephone-dn 6
number _66
ephone-dn 7
number _77
ephone-dn 8
number _88
Ephone 1
Mac-address ____.____.____
type 8945
button 1:1 2:3 3:2 4:4
restart
Ephone 2
Mac-address ____.____.____
type 8945
button 1:5 2:6 3:7 4:8
restart
end
@@@Enabling Video Calls
configure terminal
ephone 1
video
voice service voip
h323
call start slow
ephone 2
video
voice service voip
h323
call start slow
end
!!@@allow incoming calls
configure terminal
voice service voip
ip address trusted list
ipv4 0.0.0.0 0.0.0.0
exit
configure terminal
! dial-peer voice 11 Voip
! destination-pattern 11..
! session target ipv4:10.11.100.8
! codec g711ULAW
dial-peer voice 12 Voip
destination-pattern 12..
session target ipv4:10.12.100.8
codec g711ULAW
dial-peer voice 21 Voip
destination-pattern 21..
session target ipv4:10.21.100.8
codec g711ULAW
dial-peer voice 22 Voip
destination-pattern 22..
session target ipv4:10.22.100.8
codec g711ULAW
dial-peer voice 31 Voip
destination-pattern 31..
session target ipv4:10.31.100.8
codec g711ULAW
dial-peer voice 32 Voip
destination-pattern 32..
session target ipv4:10.32.100.8
codec g711ULAW
dial-peer voice 41 Voip
destination-pattern 41..
session target ipv4:10.41.100.8
codec g711ULAW
dial-peer voice 42 Voip
destination-pattern 42..
session target ipv4:10.42.100.8
codec g711ULAW
dial-peer voice 51 Voip
destination-pattern 51..
session target ipv4:10.51.100.8
codec g711ULAW
dial-peer voice 52 Voip
destination-pattern 52..
session target ipv4:10.52.100.8
codec g711ULAW
@@@@@@
!@@@EDGE ROUTE CONFIG
config t
hostname EDGE-12
enable secret pass
service password-encryption
no logging console
no ip domain-lookup
line console 0
password pass
login
exec-timeout 0 0
line vty 0 14
password pass
login
exec-timeout 0 0
Int Gi 0/0/0
description INSIDE
ip add 10._._.1 255.255.255.0
no shutdown
Int Gi 0/0/1
description OUTSIDE
ip add 200.0.0._ 255.255.255.0
no shutdown
Int Loopback 0
description VIRTUALIP
ip add _.0.0.1 255.255.255.255
end
!!! EDGE route NOT dikit to ClassMate:
!ip route 10.11.0.0 255.255.0.0 200.0.0.11
ip route 10.12.0.0 255.255.0.0 200.0.0.12
ip route 10.21.0.0 255.255.0.0 200.0.0.21
ip route 10.22.0.0 255.255.0.0 200.0.0.22
ip route 10.31.0.0 255.255.0.0 200.0.0.31
ip route 10.32.0.0 255.255.0.0 200.0.0.32
ip route 10.41.0.0 255.255.0.0 200.0.0.41
ip route 10.42.0.0 255.255.0.0 200.0.0.42
ip route 10.51.0.0 255.255.0.0 200.0.0.51
ip route 10.52.0.0 255.255.0.0 200.0.0.52
end
@@@@@@@@@
config t
dial-peer voice 69 voip
service rivanaa out-bound
destination-pattern 1169
session target ipv4:10.11.100.8
incoming called-number 1169
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
!
telephony-service
moh "flash:/en_bacd_music_on_hold.au"
!
application
service rivanaa flash:app-b-acd-aa-3.0.0.2.tcl
paramspace english index 1
param number-of-hunt-grps 2
param dial-by-extension-option 8
param handoff-string rivanaa
param welcome-prompt flash:en_bacd_welcome.au
paramspace english language en
param call-retry-timer 15
param service-name rivanqueue
paramspace english location flash:
param second-greeting-time 60
param max-time-vm-retry 2
param voice-mail 1234
param max-time-call-retry 700
param aa-pilot 1169
service rivanqueue flash:app-b-acd-3.0.0.2.tcl
param queue-len 15
param aa-hunt1 1100
param aa-hunt2 1177
param aa-hunt3 1101
param aa-hunt4 1155
param queue-manager-debugs 1
param number-of-hunt-grps 4
*************************************************
show call application sessions
call application session stop id 17
how to clean
config t
application
NO service rivanaa flash:app-b-acd-aa-3.0.0.2.tcl
NO service rivanqueue flash:app-b-acd-3.0.0.2.tcl
end
=============================================================
DEBUG COMMANDS
================
=============================================================
DEBUG COMMANDS
=============================================================
http://docwiki.cisco.com/wiki/Cisco_IOS_Voice_Troubleshooting_and_Monitoring_--_Tcl_IVR_Troubleshooting
debug voice application ?
debug voice application error
debug voice application script
debug voice application states
conf t
logging console
========================
CHECK AVAILABLE SERVICES
========================
conf t
application
service ?
******************************************************************
SIP CONFIGURATION
conf t
voice service voip
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
supplementary-service h450.12
sip
bind control source-interface _____0/0
bind media source-interface _____0/0
registrar server expires max 600 min 60
!
voice register global
mode cme
source-address 192.168._.1 port 5060
max-dn 12
max-pool 12
authenticate register
create profile sync
voice register dn 1
number ____
allow watch
name _______
voice register dn 2
number ___
allow watch
name _______
voice register pool 1
id mac ____.____.____
number 1 dn 1
dtmf-relay sip-notify
username ____ password ____
codec g711ulaw
!
voice register pool 1
id mac ____.____.____
number 1 dn 2
dtmf-relay sip-notify
username ____ password ____
codec g711ulaw
!
*******call other countries!!!********
config t
!
dial-peer voice _ voip
destination-pattern k..
session protocol sipv2
session target sip-server
codec g711ulaw
exit
sip-ua
sip-server ipv4:192.168.k.1