News:

"The phone is a remarkably complex, simple device,
and very rarely ever needs repairs, once you fix them." - Dan/Panther

Main Menu

Need help setting up my new Cisco ATA

Started by Barclay_Boy, February 18, 2024, 08:24:42 AM

Previous topic - Next topic

Barclay_Boy

Quote from: ack41 on February 02, 2024, 10:15:19 PMBig fan of the Grandstream HT801/802.  But I recently setup a Cisco VG202 and a VG204.  The signaling and sound quality are true carrier grade.  Unlike most Cisco gear these DO NOT have a fan so they can go anywhere.  You will have to CLI into the Cisco IOS to set it up with your SIP carrier or just have it dial and ring to another port.

I've just reconfigured a Series 706 and now have BT Digital Voice VOIP. The phone receives incoming calls but as expected won't make outgoing.
So I bought an unboxed Cisco VG202 XM but am now in a position where I don't know what to do now!

Can you help in any way please?

ack41

Here is my vg202 config. I hope this helps you. Also if you google Cisco VG202 and VG204 (plus your ITSP company) you will find more information. Good luck and have fun learning! Note: ITSP=Internet Telephone Service Provider, my config is using ITSP company, voip.ms.

!
version 15.1
!
hostname vg202
!
voice service voip
 ip address trusted list
  ipv4 208.100.60.9   !<<<this allows inbound calls from chicago2.voip.ms
 ip address trusted call-block cause not-in-cug
 gcid
 callmonitor
 clid substitute name
 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
 h323
 sip
  session refresh
  e911
  transport switch udp tcp
  asserted-id ppi
  localhost dns:<fqdn for vg202>
  midcall-signaling passthru
  no call service stop
!
username cisco privilege 15 password 0 cisco
!
interface FastEthernet0/0
 ip address dhcp
 duplex auto
 speed auto
 no shutdown
!
interface FastEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
ip forward-protocol nd
!
ip nat inside source static <vg202 inside ip addr> <your internet public ip addr>
!
control-plane
!
voice-port 0/0
 ring frequency 20
 no battery-reversal
 mwi   !<<<this port receives mwi
 no comfort-noise
 caller-id enable
!
voice-port 0/1
 ring frequency 20
 no battery-reversal
 no comfort-noise
 caller-id enable
!
mgcp profile default
!
dial-peer cor custom   !<<<cor is used to prevent hairpin
 name local-in
 name local-out
!
dial-peer cor list local-in   !<<<cor is used to prevent hairpin
 member local-in
!
dial-peer cor list local-out   !<<<cor is used to prevent hairpin
 member local-out
!
dial-peer voice 10 voip
 description **10-DIGIT-OUTBOUND**
 destination-pattern [2-9]..[2-9]......
 session protocol sipv2
 session target sip-server
 no voice-class sip early-offer forced
 dtmf-relay h245-alphanumeric
 codec g711ulaw
 no vad
!
dial-peer voice 11 voip
 description **11-DIGIT-OUTBOUND**
 destination-pattern 1[2-9]..[2-9]......
 session protocol sipv2
 session target sip-server
 no voice-class sip early-offer forced
 dtmf-relay h245-alphanumeric
 codec g711ulaw
 no vad
!
dial-peer voice 21 voip
 description **SERVICE-DIGIT-OUTBOUND**
 destination-pattern *..
 session protocol sipv2
 session target sip-server
 no voice-class sip early-offer forced
 dtmf-relay h245-alphanumeric
 codec g711ulaw
 no vad
!
dial-peer voice <voip.ms account> pots
 huntstop
 destination-pattern <voip.ms account>
 clid network-number <10-dig-pstn-#0>
 port 0/0
!
dial-peer voice 101000 pots
 corlist incoming local-in   !<<<cor is used to prevent hairpin
 corlist outgoing local-out   !<<<cor is used to prevent hairpin
 destination-pattern <10-dig-pstn-#0>
 port 0/0
 no sip-register
!
dial-peer voice 101001 pots
 corlist incoming local-in   !<<<cor is used to prevent hairpin
 corlist outgoing local-out   !<<<cor is used to prevent hairpin
 destination-pattern <10-dig-pstn-#1>
 port 0/1
 no sip-register
!
sip-ua
 credentials username <voip.ms account> password <voip.ms passwd> realm chicago2.voip.ms
 authentication username <voip.ms account> password <voip.ms passwd> realm chicago2.voip.ms
 mwi-server dns:chicago2.voip.ms expires 3600 port 5060 transport udp unsolicited
 registrar dns:chicago2.voip.ms expires 300
 sip-server dns:chicago2.voip.ms
!
line con 0
 exec-timeout 0 0
 no modem enable
line aux 0
line vty 0 4
 exec-timeout 0 0
 privilege level 15
 login local
 transport input telnet
!
ntp server pool.ntp.org
end