Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 604
  • 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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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