[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 304
  • Last Modified:

I need to direct all outbound calls from an FXS attached device to a specific dial-peer in Cisco Call Manager Express

Hello:

I am trying to direct all of the calls that are initiated on an SCCP controlled FXS port to a specific dial peer. So far I have been unsuccessful. Inbound is fine.

Any thoughts?  I am attaching my sanitized config.

The FXS port that I need to redirect is 0/1/0. I need all calls from it to go out dial-peer 1001.

Thanks!
0
Wyant Niswonger
Asked:
Wyant Niswonger
1 Solution
 
Wyant NiswongerPresidentAuthor Commented:
OK, I figured this one out with some very extensive searching on Professor Google. Basically you need to create a translation rule that converts the extension number of the FXS attached phone to a full phone number and then apply that to the outgoing dial peer that you want to use. I tested it and everything is working as expected.

Here is the config:

voice translation-rule 4 (POTS)
 rule 1 /9753/ /XXXXXXX9753/ (The real outbound number)
voice translation-rule 5(SIP-TRUNK)
 rule 1 /8685/ /SIPTRUNKNUMBER/
voice translation-profile POTS-OUTGOING
 translate calling 4
voice translation-profile SIP.US-Outgoing
 translate calling 5

dial-peer voice 1001 pots
 description Long Distance Calls
 translation-profile outgoing POTS-OUTGOING
 preference 2
 destination-pattern 1[2-9].........
 no digit-strip
 port 0/0/1
 forward-digits all

dial-peer voice 2 voip
 description **Outgoing Calls to SIP.US SIP Trunk**
 translation-profile outgoing SIP.US-Outgoing
 destination-pattern 1[2-9].........
 session protocol sipv2
 session target dns:<FQDN of SIP PROVIDER>
 voice-class sip dtmf-relay force rtp-nte
 no voice-class sip early-offer forced
 voice-class sip profiles 1
 dtmf-relay rtp-nte
 codec g711ulaw
 no vad
 authentication username <USERNAME> password 7 <PASSWORD>
 no supplementary-service h450.2
 no supplementary-service h450.3
 supplementary-service h450.12

I tested it and it seems to be working.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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