[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Cisco VOIP question (gateways)

Posted on 2009-03-31
2
Medium Priority
?
609 Views
Last Modified: 2012-05-06
I am looking to put in a Cisco VOIP system in a small office (along with CME and Unity Express). Everything makes sense, but I am a little unclear on one basic thing ...

I have a 2811 that will be a gateway between the PSTN and the Cisco CME system. It is my understanding that when inbound calls come in from the PSTN matching a pattern, they are sent to the CME system like so:

dial-peer voice 10 voip
destination-pattern 2...
session target ipv4:10.1.1.2

with 10.1.1.2 as the CME system (a 3800 series router).

But what about outbound calls to the rest of the world? In other words, how do I configure the 2811 to route outbound calls over the trunk line (FXO port) to the PSTN?
0
Comment
Question by:AsenathWaite
2 Comments
 
LVL 3

Accepted Solution

by:
dgboyd earned 200 total points
ID: 24032487
Hi, here is a sample config that should work for you.  This will go on your 2811 and send all inbound calls to the CME router and calls from the CME router out to the FXO ports.  I am assuming you have four FXO ports, but you could easily add more.

!
trunk group voicecalls
 hunt-scheme sequential both up
!
voice-port 0/0/0
 trunk-group voicecalls
 connection plar 8001
 description --------> FXO Port 0
 caller-id enable
!
voice-port 0/0/1
 trunk-group voicecalls
 connection plar 8001
 description --------> FXO Port 1
 caller-id enable
!
voice-port 0/0/2
 trunk-group voicecalls
 connection plar 8001
 description --------> FXO Port 2
 caller-id enable
!
voice-port 0/0/3
 trunk-group voicecalls
 connection plar 8001
 description --------> FXO Port 3
 caller-id enable
!
dial-peer voice 100 voip
 description --------------> CME Router
 destination-pattern 8001
 session target ipv4:10.1.1.2
 codec g711ulaw
 no vad
!
!
dial-peer voice 105 pots
 trunkgroup voicecalls
 description --------------------> Local
 destination-pattern 9[2-9]......
 forward-digits 7
!
dial-peer voice 106 pots
 trunkgroup voicecalls
 description --------------------> Long Distance
 destination-pattern 91[2-9].........
 forward-digits 11
!
dial-peer voice 107 pots
 trunkgroup voicecalls
 description --------------------> 911
 destination-pattern 9911
 forward-digits 3
!
dial-peer voice 109 pots
 trunkgroup voicecalls
 description --------------------> International
 destination-pattern 9011.T
 prefix 011
!
dial-peer voice 110 pots
 trunkgroup voicecalls
 description --------------------> Information
 destination-pattern 91411
 forward-digits 4
!
dial-peer voice 111 pots
 trunkgroup voicecalls
 description --------------------> Operator
 destination-pattern 90
 forward-digits 1
!
0
 

Author Closing Comment

by:AsenathWaite
ID: 31565002
Very good answer--exactly what I was looking for.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We've been using the Cisco/Linksys RV042 for years as: - an internet Gateway - a site-to-site VPN device - a leased line site-to-site subnet-to-subnet interface (And, here I'm assuming that any RV0xx behaves the same way as an RV042.  So that's …
In the world of WAN, QoS is a pretty important topic for most, if not all, networks. Some WAN technologies have QoS mechanisms built in, but others, such as some L2 WAN's, don't have QoS control in the provider cloud.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question