Working config of a Cisco 2911 registered to a SIP trunk
CSR1000v-1#show run
Building configuration...
Current configuration : 8943 bytes
!
! Last configuration change at 11:07:56 BST Mon Jul 27 2020 by tssadmin
!
version 16.12
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
! Call-home is enabled by Smart-Licensing.
service call-home
platform qfp utilization monitor load 80
platform punt-keepalive disable-kernel-core
platform console virtual
!
hostname CSR1000v-1
!
boot-start-marker
boot-end-marker
!
!
enable secret 9 xxxxxxx
!
no aaa new-model
clock timezone GMT 0 0
clock summer-time BST recurring
!
!
!
!
!
!
!
ip name-server xxxxxxx xxxxxxx
ip domain name xxx.xxxxx
!
!
!
login on-success log
!
!
!
!
!
!
!
subscriber templating
!
!
!
!
!
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
voice service voip
ip address trusted list
ipv4 217.20.39.102 255.255.255.255
ipv4 217.20.39.103 255.255.255.255
ipv4 212.54.141.15 255.255.255.255
ipv4 193.104.131.76 255.255.255.255
ipv4 193.104.131.77 255.255.255.255
ipv4 217.20.39.101 255.255.255.255
ipv4 217.20.39.100 255.255.255.255
ipv4 193.104.103.6 255.255.255.255
ipv4 193.104.103.2 255.255.255.255
ipv4 185.158.58.7
address-hiding
mode border-element
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
supplementary-service h450.12
no supplementary-service sip moved-temporarily
no supplementary-service sip refer
fax protocol pass-through g711alaw
modem passthrough nse codec g711alaw
sip
bind control source-interface GigabitEthernet1
bind media source-interface GigabitEthernet1
registrar server
early-offer forced
!
voice class codec 1
codec preference 1 g711alaw
codec preference 2 g729r8
!
!
!
!
voice class server-group 1
ipv4 xxxxxxx preference 1
!
!
!
!
voice translation-rule 10
rule 1 /(.)/ /\1/
!
voice translation-rule 11
rule 1 /^.(....)/ /\1/
!
voice translation-rule 90
rule 1 /^9(.*)/ /\1/
!
voice translation-rule 91
rule 1 /^....$/ /02070656600/
rule 2 /^888...$/ /02070656600/
!
!
voice translation-profile DIGITSTRIP9
translate calling 91
translate called 90
!
voice translation-profile OUT2CCM
translate calling 10
translate called 11
!
!
!
!
crypto pki trustpoint TP-self-signed-1126430351
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-1126430351
revocation-check none
rsakeypair TP-self-signed-1126430351
!
crypto pki trustpoint SLA-TrustPoint
enrollment pkcs12
revocation-check crl
!
!
crypto pki certificate chain TP-self-signed-1126430351
certificate self-signed 01
30820330 30820218 A0030201 02020101 300D0609 2A864886 F70D0101 05050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 31313236 34333033 3531301E 170D3230 30373039 30363535
31375A17 0D333030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D31 31323634
33303335 31308201 22300D06 092A8648 86F70D01 01010500 0382010F 00308201
0A028201 0100B14A 54375888 EDF8A61D 558DED1C 90893F77 32BDAF77 41DCDF14
F1447194 D3F2DD7E 5B1B2FB3 47CBFBED 77ECA6B6 D49D06EF 821715EA ECE83E08
3EFBD873 D27C2AC2 056A6536 7763F5B5 84EF3AC5 F4E17AA5 C7536DE1 C50CCE1D
EA5A10B9 F3DAEE6E DCD6A6E7 0FABFCDC 27878800 5D991214 506A5200 FEEC6299
E567BE1D 99CE2380 1D0CF126 DF70CB76 F886A37E 08CF34FD 2E25BE5F B27D8236
8F96DE16 45DF7AE8 10AB149C 8C04148C 7D5D28FA 53C218DD 1F21F9D6 2F5AED3F
E1AEB06F 155DA92C 21BDB532 4A52214C DD2D9AA5 74563C72 85806142 BFBB6EA5
FB472DC8 92E91C30 8CCD5554 0D9B12D4 8F64C83C 5397E342 2DE223E5 3A138748
9C7EBA4A F71B0203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF
301F0603 551D2304 18301680 14FCB71B 4ED625D9 80AC73D5 9F5A2AFF E4D759D2
81301D06 03551D0E 04160414 FCB71B4E D625D980 AC73D59F 5A2AFFE4 D759D281
300D0609 2A864886 F70D0101 05050003 82010100 71EA99E9 0699F20A BEE5006E
EBE33A06 72B5582B E3D04FFA E6A64DAA 0EFA7680 B91395F6 BCF37C7A 88A9F5B5
BD65A557 9C7BD965 E64D0BB6 53190666 10F93F67 4A9F94EE 47D90723 295FA590
897A2CE9 6E1C711E EE19F176 32A2E241 678B5792 73D78DB6 9F05303C 2570FB20
F8298622 83E679CD EC83B972 2246591E 843FD31E 493FDF3F 37693D9F D5732E75
72F396FD 5A11387F 0B2F768A 4AD63CCA C3FF3051 84AA404A 4B32587E B3CE1DD6
5C395A20 197AE515 DA370C16 8DBEA32A 893E61D0 0CA31CFB 4D0F3872 305277D1
1314A839 276C6F7B 2B72F046 16553CDD 7B11D07A 88BA5D95 4DA26B0C 1CBDDADD
9D43E84B 4D2A9871 0E23CD3B F94A7306 B3B4A15E
quit
crypto pki certificate chain SLA-TrustPoint
certificate ca 01
30820321 30820209 A0030201 02020101 300D0609 2A864886 F70D0101 0B050030
32310E30 0C060355 040A1305 43697363 6F312030 1E060355 04031317 43697363
6F204C69 63656E73 696E6720 526F6F74 20434130 1E170D31 33303533 30313934
3834375A 170D3338 30353330 31393438 34375A30 32310E30 0C060355 040A1305
43697363 6F312030 1E060355 04031317 43697363 6F204C69 63656E73 696E6720
526F6F74 20434130 82012230 0D06092A 864886F7 0D010101 05000382 010F0030
82010A02 82010100 A6BCBD96 131E05F7 145EA72C 2CD686E6 17222EA1 F1EFF64D
CBB4C798 212AA147 C655D8D7 9471380D 8711441E 1AAF071A 9CAE6388 8A38E520
1C394D78 462EF239 C659F715 B98C0A59 5BBB5CBD 0CFEBEA3 700A8BF7 D8F256EE
4AA4E80D DB6FD1C9 60B1FD18 FFC69C96 6FA68957 A2617DE7 104FDC5F EA2956AC
7390A3EB 2B5436AD C847A2C5 DAB553EB 69A9A535 58E9F3E3 C0BD23CF 58BD7188
68E69491 20F320E7 948E71D7 AE3BCC84 F10684C7 4BC8E00F 539BA42B 42C68BB7
C7479096 B4CB2D62 EA2F505D C7B062A4 6811D95B E8250FC4 5D5D5FB8 8F27D191
C55F0D76 61F9A4CD 3D992327 A8BB03BD 4E6D7069 7CBADF8B DF5F4368 95135E44
DFC7C6CF 04DD7FD1 02030100 01A34230 40300E06 03551D0F 0101FF04 04030201
06300F06 03551D13 0101FF04 05300301 01FF301D 0603551D 0E041604 1449DC85
4B3D31E5 1B3E6A17 606AF333 3D3B4C73 E8300D06 092A8648 86F70D01 010B0500
03820101 00507F24 D3932A66 86025D9F E838AE5C 6D4DF6B0 49631C78 240DA905
604EDCDE FF4FED2B 77FC460E CD636FDB DD44681E 3A5673AB 9093D3B1 6C9E3D8B
D98987BF E40CBD9E 1AECA0C2 2189BB5C 8FA85686 CD98B646 5575B146 8DFC66A8
467A3DF4 4D565700 6ADF0F0D CF835015 3C04FF7C 21E878AC 11BA9CD2 55A9232C
7CA7B7E6 C1AF74F6 152E99B7 B1FCF9BB E973DE7F 5BDDEB86 C71E3B49 1765308B
5FB0DA06 B92AFE7F 494E8A9E 07B85737 F3A58BE1 1A48A229 C37C1E69 39F08678
80DDCD16 D6BACECA EEBC7CF9 8428787B 35202CDC 60E4616A B623CDBD 230E3AFB
418616A9 4093E049 4D10AB75 27E86F73 932E35B5 8862FDAE 0275156F 719BB2F0
D697DF7F 28
quit
!
license udi pid CSR1000V sn xxxxxxx
diagnostic bootup level minimal
memory free low-watermark processor 72329
!
!
spanning-tree extend system-id
!
username xxxxxxx privilege 15 secret 9 xxxxxxx
redundancy
!
!
!
!
!
!
track 1 ip sla 1 reachability
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface GigabitEthernet1
ip address xxxxxxx 255.255.255.0
negotiation auto
no mop enabled
no mop sysid
!
interface GigabitEthernet2
no ip address
negotiation auto
no mop enabled
no mop sysid
!
interface GigabitEthernet3
no ip address
negotiation auto
no mop enabled
no mop sysid
!
ip forward-protocol nd
ip http server
ip http authentication local
ip http secure-server
!
ip tftp source-interface GigabitEthernet1
ip dns server
ip route 0.0.0.0 0.0.0.0 xxxxxxx
ip ssh version 2
!
!
!
!
!
!
!
control-plane
!
!
sccp local GigabitEthernet1
sccp ccm xxxxxxx identifier 1 version 7.0
sccp
!
sccp ccm group 1
bind interface GigabitEthernet1
!
!
dspfarm profile 1 conference
shutdown
!
dial-peer voice 1500 voip
description *** Outbound DP SBC to CUCM ***
translation-profile outgoing OUT2CCM
destination-pattern ^0129145448[01]
session protocol sipv2
session server-group 1
voice-class sip bind control source-interface GigabitEthernet1
voice-class sip bind media source-interface GigabitEthernet1
dtmf-relay rtp-nte
no vad
!
dial-peer voice 100 voip
description CUCM dial-peer
session target ipv4:xxxxxxx
dtmf-relay rtp-nte
codec g711alaw
!
dial-peer voice 9 voip
description Orbtalk to SIP Trunk
destination-pattern 9T
session protocol sipv2
session target sip-server
voice-class sip dtmf-relay force rtp-nte
voice-class sip outbound-proxy dns:sip.orbtalk.co.uk
dtmf-relay rtp-nte
codec g711ulaw
no vad
!
!
sip-ua
credentials username xxxxxxx password 7 xxxxxxx realm sip.orbtalk.co.uk
authentication username xxxxxxx password 7 xxxxxxx realm sip.orbtalk.co.uk
registrar dns:sip.orbtalk.co.uk expires 20 auth-realm sip.orbtalk.co.uk
!
!
line con 0
exec-timeout 60 0
logging synchronous
login local
stopbits 1
line vty 0 4
exec-timeout 60 0
logging synchronous
login local
transport input telnet ssh
line vty 5 15
exec-timeout 60 0
logging synchronous
login local
transport input telnet ssh
!
ntp server xxxxxxx
!
!
!
!
!
end