Solved

Cisco CallManager Express FXS add prefix

Posted on 2010-09-02
9
1,265 Views
Last Modified: 2013-12-27
Hi,

I have a Cisco 1760V and I have an FXS card in it, the card works fine, you can call no worries to and from it, however I want CallManager Express to automatically add the prefix 0 to all outbound calls made from the FXS card. Placing a 0 in front means that it is an outbound call and will be routed correctly.

This is my current attempt

voice translation-rule 3
 rule 1 /^\(.*\)/ /0\1/
voice translation-profile FAX_0_PREPEND
 translate called 3

voice-port 3/0
 translation-profile outgoing FAX_0_PREPEND
!
voice-port 3/1
 translation-profile outgoing FAX_0_PREPEND
!
voice-port 3/2
 translation-profile outgoing FAX_0_PREPEND
!
voice-port 3/3
 translation-profile outgoing FAX_0_PREPEND

This doesn't work, it still doesn't add 0, what else do I need to do?

Also while I have you how can I make it so after 2 seconds of silence (after inputting a number) the FXS port starts dialing?

Thanks

Mark
0
Comment
Question by:mark_06
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
  • +1
9 Comments
 
LVL 6

Author Comment

by:mark_06
ID: 33587226
"Also while I have you how can I make it so after 2 seconds of silence (after inputting a number) the FXS port starts dialing?" - worked that out. Just need to know how to add the 0 to numbers dialed.
0
 
LVL 4

Expert Comment

by:mpickreign
ID: 33587949
The only thing that looks like it may be wrong is there appears to be no space in this line.

rule 1 /^\(.*\)/ /0\1/
                     ^
0
 
LVL 4

Expert Comment

by:mpickreign
ID: 33587967
Sorry...didnt finish my comment

rule 1 /^\(.*\)/ /0\1/
                     ^

should be (make sure there is a space between the first regex and the replacement regex.

rule 1 /^\(.*\)/  /0\1/
                     
                     
0
Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

 
LVL 79

Assisted Solution

by:lrmoore
lrmoore earned 150 total points
ID: 33591391
put the translation profile outgoing on the dial-peer, not the physical port
0
 
LVL 6

Expert Comment

by:dinkon4u
ID: 33594248
could you clarify why did  you stated FXS card to call outside.It should be FXO to make outgoing calls.
FXS is where you connect your analog phones/fax.

Also the call leg direction with FXS port will be an inbound direction when you make outside calls.

So your translation profile does not hit the translation rule if you applied in under fxs port.

It will be better you applied it on FXO/T1/E1  port or in the outgoing dial-peer

kindly post your enire show run to understand more clear ..

anyway your translation rule is fine as your requirement.\



HTH
Tom






0
 
LVL 6

Author Comment

by:mark_06
ID: 33594267
Hi Tom,

I am trying to get my fax which is connected via FXS to put on the 0 for every call placed, so it doesn't have to be dialed by the user.

Also guys I tried the other things you mentioned and they didn't work.

Thanks

Mark
0
 
LVL 6

Accepted Solution

by:
dinkon4u earned 350 total points
ID: 33594346
try
voice-port 3/0
 translation-profile incoming FAX_0_PREPEND
0
 
LVL 6

Expert Comment

by:dinkon4u
ID: 33594357
it will be better if you can post running config



0
 
LVL 6

Author Closing Comment

by:mark_06
ID: 33594658
I have split points as lrmoore corrected me as to where to place the dial-peer and dinkon4u solved the main issue.
0

Featured Post

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

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

Suggested Solutions

Hey there Heard about jingle, the add on for XMPP that enables point to point audio between two XMPP clients. No server config necessary. Actually quite a cool feature. However, how good is it if you can not use those voice capabilities to do a P…
If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
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…

726 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