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!
Wyant NiswongerPresidentAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Routers

From novice to tech pro — start learning today.