Solved

Cisco CallManager Express FXS add prefix

Posted on 2010-09-02
9
1,275 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
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
Getting hacked is no longer a matter or "if you get hacked" — the 2016 cyber threat landscape is now titled "when you get hacked." When it happens — will you be proactive, or reactive?
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…
Suggested Courses

729 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