Snippets
Created by
David Macias
last modified
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 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 | sh run
Building configuration...
Current configuration : 14018 bytes
!
version 15.5
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
service sequence-numbers
!
hostname 2911-01
!
boot-start-marker
boot system flash:c2900-universalk9-mz.SPA.155-2.T1.bin
boot-end-marker
!
!
! card type command needed for slot/vwic-slot 0/0
logging buffered 50000000
no logging console
enable secret 5 564646464
!
no aaa new-model
ethernet lmi ce
--More-- bsd-client server url https://cloudsso.cisco.com/as/token.oauth2
memory-size iomem 5
clock timezone EST -5 0
clock summer-time EDT recurring
!
!
!
!
!
!
!
!
!
ip dhcp excluded-address 192.168.10.1 192.168.10.11
ip dhcp excluded-address 192.168.20.1 192.168.20.11
ip dhcp excluded-address 192.168.100.1 192.168.100.11
!
ip dhcp pool VLAN10Lab
network 192.168.10.0 255.255.255.0
default-router 192.168.10.1
dns-server 1.1.1.1
!
ip dhcp pool VLAN20VPN
--More-- network 192.168.20.0 255.255.255.0
default-router 192.168.20.1
dns-server 1.1.1.1
!
ip dhcp pool VLAN100Voice
network 192.168.100.0 255.255.255.0
default-router 192.168.100.1
dns-server 1.1.1.1
option 150 ip 192.168.100.1
!
!
!
ip domain name domain.int
ip host media 192.168.1.250
ip host cvp116all 192.168.1.250
ip host nuance10 192.168.1.251
ip host tts-en-us 192.168.1.251
ip host asr-en-us 192.168.1.251
ip host mediaserver 192.168.1.250
ip name-server 1.1.1.1
ip cef
no ipv6 cef
!
--More-- multilink bundle-name authenticated
!
!
!
!
!
!
cts logging verbose
!
!
voice-card 0
dsp services dspfarm
!
!
voice rtp send-recv
!
voice service voip
ip address trusted list
ipv4 34.226.36.32 255.255.255.240
ipv4 34.226.36.32
ipv4 34.226.36.33
ipv4 34.226.36.34
ipv4 34.226.36.35
--More-- ipv4 34.226.36.36
ipv4 34.226.36.37
ipv4 34.226.36.38
ipv4 34.226.36.39
ipv4 34.226.36.40
ipv4 34.226.36.41
ipv4 34.226.36.42
ipv4 34.226.36.43
ipv4 34.226.36.44
ipv4 34.226.36.45
ipv4 34.226.36.46
ipv4 34.226.36.47
ipv4 137.75.65.192 255.255.255.240
ipv4 147.75.65.192
ipv4 147.75.65.193
ipv4 147.75.65.194
ipv4 147.75.65.195
ipv4 147.75.65.196
ipv4 147.75.65.197
ipv4 147.75.65.198
ipv4 147.75.65.199
ipv4 147.75.65.200
ipv4 147.75.65.201
--More-- ipv4 147.75.65.202
ipv4 147.75.65.203
ipv4 147.75.65.204
ipv4 147.75.65.205
ipv4 147.75.65.206
ipv4 147.75.65.207
ipv4 192.168.1.0 255.255.255.0
ipv4 192.168.1.251
ipv4 192.168.1.250
rtp-port range 20000 20010
address-hiding
allow-connections sip to sip
no supplementary-service sip moved-temporarily
no supplementary-service sip refer
fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
sip
bind control source-interface GigabitEthernet0/0
bind media source-interface GigabitEthernet0/0
registrar server expires max 3600 min 3600
localhost dns:us-east-va.sip.flowroute.com:5060
early-offer forced
!
!
--More-- voice class uri TTS sip
pattern tts@192.168.1.251
!
voice class uri ASR sip
pattern asr@192.168.1.251
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g729r8
!
!
!
!
voice iec syslog
voice register global
mode cme
source-address 192.168.100.1 port 5060
max-dn 20
max-pool 10
authenticate register
authenticate realm all
tftp-path flash:
create profile sync 0782338578280544
!
--More-- voice register dn 1
number 5000
name David Macias
!
voice register pool 1
busy-trigger-per-button 2
id mac 9C57.AD12.64F2
number 1 dn 1
username david password 1234
description David Macias
codec g711ulaw
no vad
!
!
!
voice translation-rule 1
rule 1 /.+/ /2000/
!
voice translation-rule 2
rule 1 /^911$/ /911/
rule 2 /^9\(.*\)/ /+\1/
!
voice translation-rule 3
--More-- rule 1 /^2001/ /9795555558/
rule 2 /^2000/ /8435555598/
!
voice translation-rule 4
rule 1 /^9011\(.*\)/ /+\1/
!
!
voice translation-profile InboundProfile
translate called 1
!
voice translation-profile OutboundInternationalProfile
translate called 4
!
voice translation-profile OutboundProfile
translate calling 3
translate called 2
!
!
!
http client cache memory pool 15000
http client cache memory file 500
no http client connection persistent
http client connection timeout 60
--More-- http client connection idle timeout 10
http client response timeout 30
ivr prompt memory 15000
ivr asr-server sip:asr@192.168.1.251
ivr tts-server sip:tts@192.168.1.251
!
application
service cvp-survivability flash:survivability.tcl
!
service CVPSelfService flash:CVPSelfServiceBootstrap.vxml
paramspace english language en
paramspace english index 0
paramspace english location flash:
paramspace english prefix en
!
service ringtone flash:ringtone.tcl
!
service cvperror flash:cvperror.tcl
!
service HelloWorld flash:CVPSelfService.tcl
param CVPSelfService-app TTSASRValidation
param CVPSelfService-port 7000
paramspace english index 0
--More-- paramspace english language en
param CVPPrimaryVXMLServer 192.168.1.250
paramspace english location flash:
param CVPBackupVXMLServer 192.168.1.250
!
service handoff flash:handoff.tcl!gateway
!
!
rtsp client timeout connect 10
rtsp client timeout message 10
mrcp client timeout connect 5
mrcp client timeout message 5
mrcp client rtpsetup enable
vxml tree memory 500
vxml version 2.0
license udi pid CISCO2911/K9 sn FTX343a9A2342
license boot module c2900 technology-package securityk9
hw-module ism 0
!
hw-module pvdm 0/0
!
hw-module pvdm 0/1
!
--More-- !
!
username admin privilege 15 password 0 C1sc0C1sc0123
!
redundancy
!
!
!
!
!
ip ssh version 2
ip ssh server algorithm mac hmac-sha1
ip ssh server algorithm encryption aes128-ctr aes256-ctr
!
class-map type inspect match-any ClassMap1
match protocol tcp
match protocol icmp
match protocol udp
!
policy-map type inspect PolicyMap1
class type inspect ClassMap1
inspect
class class-default
--More-- drop
!
zone security inside
zone security outside
zone-pair security inside-to-outside source inside destination outside
service-policy type inspect PolicyMap1
!
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
ip address 104.0.0.145 255.255.255.248
ip nat outside
--More-- ip virtual-reassembly in
zone-member security outside
duplex auto
speed auto
!
interface ISM0/0
ip unnumbered GigabitEthernet0/1
shutdown
!Application: CUE Running on ISM
!
interface GigabitEthernet0/1
no ip address
ip nat inside
ip virtual-reassembly in
zone-member security inside
duplex auto
speed auto
!
interface GigabitEthernet0/1.10
description Lab VLAN
encapsulation dot1Q 10
ip address 192.168.10.1 255.255.255.0
ip nat inside
--More-- ip virtual-reassembly in
!
interface GigabitEthernet0/1.20
description VPN VLAN
encapsulation dot1Q 20
ip address 192.168.20.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
!
interface GigabitEthernet0/1.100
description Voice VLAN
encapsulation dot1Q 100
ip address 192.168.100.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
!
interface GigabitEthernet0/2
no ip address
shutdown
duplex auto
speed auto
!
interface ISM0/1
--More-- no ip address
shutdown
!
interface Vlan1
no ip address
!
ip forward-protocol nd
!
ip http server
no ip http secure-server
ip http path flash:/GUI
!
ip rtcp report interval 3000
ip nat inside source list 1 interface GigabitEthernet0/0 overload
ip route 0.0.0.0 0.0.0.0 104.0.36.150
ip route 192.168.1.99 255.255.255.255 ISM0/0
ip route 192.168.1.99 255.255.255.255 Embedded-Service-Engine0/0
!
ip access-list extended OUTSIDE-IN
permit udp any any range 20000 30000
permit udp 34.226.36.32 0.0.0.16 any eq 5060
permit udp 147.75.65.192 0.0.0.16 any eq 5060
deny ip any any log
--More-- !
!
!
tftp-server flash:/PhoneFirmware/SCCP/7945-7965-9-2-1SR2/apps45.9-2-1ES4.sbn alias apps45.9-2-1ES4.sbn
tftp-server flash:/PhoneFirmware/SCCP/7945-7965-9-2-1SR2/cnu45.9-2-1ES4.sbn alias cnu45.9-2-1ES4.sbn
tftp-server flash:/PhoneFirmware/SCCP/7945-7965-9-2-1SR2/cvm45sccp.9-2-1ES4.sbn alias cvm45sccp.9-2-1ES4.sbn
tftp-server flash:/PhoneFirmware/SCCP/7945-7965-9-2-1SR2/dsp45.9-2-1ES4.sbn alias dsp45.9-2-1ES4.sbn
tftp-server flash:/PhoneFirmware/SCCP/7945-7965-9-2-1SR2/jar45sccp.9-2-1ES4.sbn alias jar45sccp.9-2-1ES4.sbn
tftp-server flash:/PhoneFirmware/SCCP/7945-7965-9-2-1SR2/SCCP45.9-2-1SR2S.loads alias SCCP45.9-2-1SR2S.loads
tftp-server flash:/PhoneFirmware/SCCP/7945-7965-9-2-1SR2/term45.default.loads alias term45.default.loads
tftp-server flash:/PhoneFirmware/SCCP/7945-7965-9-2-1SR2/term65.default.loads alias term65.default.loads
tftp-server flash:/PhoneFirmware/SIP/88xx.11-5-1SR1-1/fbi88xx.BE-01-010.sbn alias fbi88xx.BE-01-010.sbn
tftp-server flash:/PhoneFirmware/SIP/88xx.11-5-1SR1-1/kern88xx.11-5-1SR1-1.sbn alias kern88xx.11-5-1SR1-1.sbn
--More-- tftp-server flash:/PhoneFirmware/SIP/88xx.11-5-1SR1-1/rootfs88xx.11-5-1SR1-1.sbn alias rootfs88xx.11-5-1SR1-1.sbn
tftp-server flash:/PhoneFirmware/SIP/88xx.11-5-1SR1-1/sb288xx.BE-01-019.sbn alias sb288xx.BE-01-019.sbn
tftp-server flash:/PhoneFirmware/SIP/88xx.11-5-1SR1-1/sip88xx.11-5-1SR1-1.loads alias sip88xx.11-5-1SR1-1.loads
tftp-server flash:/PhoneFirmware/SIP/88xx.11-5-1SR1-1/vc488xx.11-5-1SR1-1.sbn alias vc488xx.11-5-1SR1-1.sbn
access-list 1 permit 192.168.0.0 0.0.255.255
!
control-plane
!
!
!
!
!
!
mgcp behavior rsip-range tgcp-only
mgcp behavior comedia-role none
mgcp behavior comedia-check-media-src disable
mgcp behavior comedia-sdp-force disable
!
mgcp profile default
--More-- !
sccp local GigabitEthernet0/1.100
sccp ccm 192.168.100.1 identifier 1 version 7.0
!
sccp ccm group 1
bind interface GigabitEthernet0/1.100
associate ccm 1 priority 1
associate profile 1 register MTPd0d0fdd016a1
!
!
!
dspfarm profile 1 transcode
codec g711ulaw
codec g729r8
maximum sessions 10
associate application SCCP
!
dial-peer voice 1 voip
description ** Incoming Flowroute **
translation-profile incoming InboundProfile
session protocol sipv2
incoming called-number 18433001898
voice-class codec 1
--More-- voice-class sip dtmf-relay force rtp-nte
no voice-class sip early-offer forced
voice-class sip bind control source-interface GigabitEthernet0/0
voice-class sip bind media source-interface GigabitEthernet0/0
dtmf-relay rtp-nte
no vad
!
dial-peer voice 2 voip
description **Outgoing Call to SIP Trunk**
translation-profile outgoing OutboundProfile
destination-pattern 91[2-9]..[2-9]......
session protocol sipv2
session target sip-server
voice-class codec 1
voice-class sip dtmf-relay force rtp-nte
voice-class sip bind control source-interface GigabitEthernet0/0
voice-class sip bind media source-interface GigabitEthernet0/0
dtmf-relay rtp-nte
no vad
!
dial-peer voice 3 voip
description **Outgoing International Call to SIP Trunk**
translation-profile outgoing OutboundInternationalProfile
--More-- destination-pattern 9011T
session protocol sipv2
session target sip-server
voice-class codec 1
voice-class sip dtmf-relay force rtp-nte
voice-class sip bind control source-interface GigabitEthernet0/0
voice-class sip bind media source-interface GigabitEthernet0/0
dtmf-relay rtp-nte
no vad
!
dial-peer voice 1000 voip
description ** CUE Voice Mail **
destination-pattern 1000$
session protocol sipv2
session target ipv4:192.168.1.99
dtmf-relay rtp-nte
codec g711ulaw
no vad
!
dial-peer voice 4 voip
description **Outgoing International Argentina Call to SIP Trunk**
destination-pattern 90115411........
session protocol sipv2
--More-- session target sip-server
voice-class codec 1
voice-class sip dtmf-relay force rtp-nte
voice-class sip bind control source-interface GigabitEthernet0/0
voice-class sip bind media source-interface GigabitEthernet0/0
dtmf-relay rtp-nte
no vad
!
dial-peer voice 800 voip
service helloworld
incoming called-number 18435555597
dtmf-relay rtp-nte
codec g711ulaw
no vad
!
dial-peer voice 100 voip
description Nuance ASR
session protocol sipv2
session target ipv4:192.168.1.251
session transport tcp
destination uri ASR
dtmf-relay rtp-nte
codec g711ulaw
--More-- no vad
!
dial-peer voice 101 voip
description Nuance TTS
session protocol sipv2
session target ipv4:192.168.1.251
session transport tcp
destination uri TTS
dtmf-relay rtp-nte
codec g711ulaw
no vad
!
!
gateway
media-inactivity-criteria all
timer receive-rtcp 6
timer receive-rtp 1200
!
sip-ua
credentials username 555555 password 7 666666 realm sip.flowroute.com
authentication username 55555 password 7 6666
no remote-party-id
--More-- retry invite 3
retry bye 3
retry cancel 3
retry register 3
mwi-server ipv4:192.168.1.99 expires 3600 port 5060 transport udp unsolicited
registrar dns:us-east-va.sip.flowroute.com expires 3600
sip-server dns:us-east-va.sip.flowroute.com
host-registrar
!
!
!
gatekeeper
shutdown
!
!
telephony-service
sdspfarm units 4
sdspfarm transcode sessions 40
sdspfarm tag 1 MTPd0d0fdd016a1
no auto-reg-ephone
max-ephones 10
max-dn 2
ip source-address 192.168.100.1 port 3000
--More-- timeouts interdigit 5
load 7945 SCCP45.9-2-1SR2S
time-zone 12
dialplan-pattern 1 8435555555 extension-length 4
voicemail 1000
mwi relay
max-conferences 8 gain -6
web admin system name admin password 345352
dn-webedit
time-webedit
transfer-system full-consult
secondary-dialtone 9
create cnf-files version-stamp 7960 Jul 31 2020 03:14:25
!
!
ephone-dn 1 dual-line
number 2000 no-reg primary
label 2000
description David Macias
name David Macias
call-forward busy 1000
call-forward noan 1000 timeout 20
mwi sip
--More-- !
!
ephone-dn 2 dual-line
number 2001 no-reg primary
label 2001-+19794920458
!
!
ephone 1
device-security-mode none
description 7945 Ext 2000
mac-address 0023.3319.8846
type 7945
button 1:1 2:2
!
!
!
!
line con 0
line aux 0
line 2
no activation-character
no exec
transport preferred none
--More-- transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line 131
no activation-character
no exec
transport preferred none
transport input all
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
password 2412341234
login local
transport input telnet ssh
!
scheduler allocate 20000 1000
ntp server 216.239.35.0
!
end
2911-01#
|
Comments (0)
You can clone a snippet to your computer for local editing. Learn more.