• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 619
  • Last Modified:

Cisco VOIP question (gateways)

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
AsenathWaite
Asked:
AsenathWaite
1 Solution
 
dgboydCommented:
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
 
AsenathWaiteAuthor Commented:
Very good answer--exactly what I was looking for.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now