Solved

Cisco CallManager Express FXS add prefix

Posted on 2010-09-02
9
1,256 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
  • 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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Error on login Cisco RV016 1 39
Lync - CUCM Integration Question 2 29
Two IPV6 prefixes have same meaning under prefix-set in ASR9K? 2 23
Problem to router 7 56
I recently purchased a Bluetooth headset called the Music Jogger (model BSH10). The control buttons on it look like this: One of my goals is to use it as the microphone and speakers for Skype calls. In that respect, it works well. However, I …
The Cisco RV042 router is a popular small network interfacing device that is often used as an internet gateway. Network administrators need to get at the management interface to make settings, change passwords, etc. This access is generally done usi…
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…

831 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