Last active
March 24, 2022 09:34
-
-
Save anounyym1/63450d64d4ccf817c4829260101c3b04 to your computer and use it in GitHub Desktop.
Example configuration for Cisco VG204 Analog Voice Gateway to run with Asterisk / FreePBX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! | |
! Last configuration change at 00:54:37 PST Sun Feb 10 2019 | |
! NVRAM config last updated at 00:54:38 PST Sun Feb 10 2019 | |
! NVRAM config last updated at 00:54:38 PST Sun Feb 10 2019 | |
version 15.1 | |
no service pad | |
service timestamps debug datetime msec | |
service timestamps log datetime msec | |
no service password-encryption | |
! | |
hostname dect | |
! | |
boot-start-marker | |
boot-end-marker | |
! | |
! | |
enable secret 5 $1$42wf$BT6JiPD.D7FfT9RYFdXas1 | |
enable password class | |
! | |
no aaa new-model | |
clock timezone PST 2 0 | |
crypto pki token default removal timeout 0 | |
! | |
! | |
ip source-route | |
! | |
! | |
! | |
! | |
! | |
ip cef | |
no ip domain lookup | |
ip name-server 10.13.37.197 | |
ip name-server 10.13.37.180 | |
no ipv6 cef | |
! | |
! | |
! | |
! | |
! | |
! | |
voice service pots | |
! | |
voice service voip | |
ip address trusted list | |
ipv4 10.13.37.53 | |
gcid | |
clid substitute name | |
allow-connections h323 to h323 | |
allow-connections h323 to sip | |
allow-connections sip to h323 | |
allow-connections sip to sip | |
sip | |
midcall-signaling passthru | |
! | |
! | |
! | |
! | |
! | |
voice-card 0 | |
! | |
! | |
! | |
! | |
! | |
! | |
! | |
! | |
! | |
! | |
interface FastEthernet0/0 | |
ip address dhcp | |
speed auto | |
full-duplex | |
! | |
interface FastEthernet0/1 | |
no ip address | |
shutdown | |
duplex auto | |
speed auto | |
! | |
ip forward-protocol nd | |
! | |
no ip http server | |
no ip http secure-server | |
ip route 0.0.0.0 0.0.0.0 10.13.37.1 | |
! | |
! | |
! | |
! | |
! | |
! | |
control-plane | |
! | |
call fallback active | |
! | |
voice-port 0/0 | |
timeouts interdigit 2 | |
caller-id enable | |
! | |
voice-port 0/1 | |
timeouts interdigit 2 | |
caller-id enable | |
! | |
voice-port 0/2 | |
timeouts interdigit 2 | |
caller-id enable | |
! | |
voice-port 0/3 | |
timeouts interdigit 2 | |
caller-id enable | |
! | |
! | |
! | |
mgcp profile default | |
! | |
! | |
dial-peer voice 101 voip | |
destination-pattern .T | |
session protocol sipv2 | |
session target sip-server | |
incoming called-number 100* | |
dtmf-relay rtp-nte | |
codec g711ulaw | |
! | |
dial-peer voice 1 pots | |
destination-pattern 1001 | |
authentication username 1001 password 7 121C00464A5D5905 | |
port 0/0 | |
! | |
dial-peer voice 2 pots | |
destination-pattern 1002 | |
authentication username 1002 password 7 0756254E16584F0047 | |
port 0/1 | |
! | |
dial-peer voice 3 pots | |
destination-pattern 1003 | |
authentication username 1003 password 7 040B52530D791D4F0F | |
port 0/2 | |
! | |
dial-peer voice 4 pots | |
destination-pattern 1004 | |
authentication username 1004 password 7 1444175C09027E7D27 | |
port 0/3 | |
! | |
! | |
gateway | |
! | |
sip-ua | |
registrar ipv4:10.13.37.53 expires 3600 | |
sip-server ipv4:10.13.37.53 | |
! | |
! | |
! | |
line con 0 | |
logging synchronous | |
no modem enable | |
line aux 0 | |
line vty 0 4 | |
password cisco | |
login | |
transport input all | |
! | |
ntp server 10.13.37.1 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment