Link to home
Start Free TrialLog in
Avatar of Bobby White
Bobby WhiteFlag for United States of America

asked on

Cisco VG224 and Asterisk (FreePBX)

Can anyone help me get a VG224 configured with FreePBX? Here is the ios config I am working with, and i will need info on how to setup FreePBX (or Asterisk) to use the VG224.
!
version 15.1
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname msr-vg01
!
boot-start-marker
boot-end-marker
!
!
enable secret 5 this.is.the.enable.secret
enable password this.is.the.enable.password
!
no aaa new-model
ip source-route
no ip routing
!
no ip cef
!
!
no ipv6 cef
!
!
!
!
!
voice call send-alert
voice rtp send-recv
!
voice service pots
!
voice service voip
 fax protocol pass-through g711alaw
 modem passthrough nse codec g711alaw
 sip
  bind control source-interface FastEthernet0/0
  bind media source-interface FastEthernet0/0
!
voice class codec 1
 codec preference 1 g711alaw
!
!
!
!
!
!
!
!
!
!
!
!
!
voice-card 0
!
!
application
 service dsapp
  param callWaiting TRUE
  param callTransfer TRUE
 !
 global
  service default dsapp
 !
!
archive
 log config
  hidekeys
!
!
!
!
!
interface FastEthernet0/0
 ip address 10.0.0.2 255.255.252.0
 no ip route-cache
 duplex full
 speed auto
!
interface FastEthernet0/1
 no ip address
 no ip route-cache
 shutdown
 duplex auto
 speed auto
!
ip forward-protocol nd
!
no ip http server
!
!
snmp-server community public RO
!
control-plane
!
!
voice-port 2/0
 ring cadence pattern11
 alt-battery-feed feed2
 cptone GB
 timeouts call-disconnect 5
 timing hookflash-in 110 70
 impedance complex1
 station-id name Port 0
 station-id number 7101
 caller-id enable
 caller-id alerting line-reversal
!
voice-port 2/1
 ring cadence pattern11
 alt-battery-feed feed2
 cptone GB
 timeouts call-disconnect 5
 timing hookflash-in 110 70
 impedance complex1
 station-id name Port 1
 station-id number 7102
 caller-id enable
 caller-id alerting line-reversal
!
voice-port 2/2
!
voice-port 2/3
!
voice-port 2/4
!
voice-port 2/5
!
voice-port 2/6
!
voice-port 2/7
!
voice-port 2/8
!
voice-port 2/9
!
voice-port 2/10
!
voice-port 2/11
!
voice-port 2/12
!
voice-port 2/13
!
voice-port 2/14
!
voice-port 2/15
!
voice-port 2/16
!
voice-port 2/17
!
voice-port 2/18
!
voice-port 2/19
!
voice-port 2/20
!
voice-port 2/21
!
voice-port 2/22
!
voice-port 2/23
!
!
!
mgcp profile default
!
!
!
banner exec ^C
----------------------------------------------------------------------------
---   UNAUTHORIZED USE MAY RESULT IN CIVIL AND/OR CRIMINAL PROSECUTION   ---
----------------------------------------------------------------------------



    This is a private computing system for use only by authorized users.
         If you do not have authorization, discontinue at once.


 Your use of this system, and all information or communications stored or
 transmitted on it by you, with or without authority, or in excess of your
 authority, is subject to review, monitoring, and recording by system
 personnel, without notice or permission. Any information or data thus
 obtained by system personnel also is subject to review by law enforcement
 and judicial officials in connection with the investigation or prosecution
 of possible criminal activity involving the system.

 If you now continue use of the system, you expressly consent to these
 conditions of use.


----------------------------------------------------------------------------
^C
!
line con 0
line aux 0
line vty 0 4
 password put.login.password.here
 login
 transport input all
!
end

Open in new window

Avatar of A Q Choudary
A Q Choudary
Flag of India image

You need to follow pbx document carefully
Avatar of Bobby White

ASKER

Thank you A Q Choudary, but I ended up figuring it out on my own. I even wrote up a tutorial for others that have the same problem.

http://robertmartinwhite.blogspot.com/2017/09/using-cisco-vg224-analog-voice-gateway.html
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.