04-07-2009 12:32 PM - last edited on 03-25-2019 10:35 PM by ciscomoderator
My system is setup as PBX, so I dial 9 for access. When I receive a call however, the number recorded in the missed call directory is (604) xxx-xxxx.
When I bring up this number on the IP phone, and press dial, the call fails because it's missing the access number 9. Of course I can edit the dial and add the 9, but is there a way to have the 9 be automatically added to the new outgoing call?
Regards,
Luis
Solved! Go to Solution.
04-07-2009 12:39 PM
You can create a translation rule and apply it to the CALLING number of INCOMING calls. It would look something like this:
voice translation-rule 13
rule 1 /\(..........\)/ /9\1/
!
voice translation-profile Change_MissedCalls_Dialing
translate calling 13
Then apply this translation profile to your incoming dial-peer or voice port. Remember to follow the CCA out of band configuration guidelines found at www.cisco.com/en/US/docs/net_mgmt/cisco_configuration_assistant/version1_9/out_of_band.../cca_oob_config_guidelines.pdf
Thanks,
Skyler
04-07-2009 12:40 PM
You can translate the number when it comes in adding a 9. It would be something like this.
voice translation-rule 1
rule 1 /\(^.......$\)/ /9\1/
rule 2 /\(^..........$\)/ /91\1/
rule 3 /\(^.*\)/ /9011\1/
voice translation-profile profile1
translate calling 1
dial-peer voice 10 pots
translation-profile incoming profile1
incoming called number .
You might actually want to change the first rule if you don't have
7 digit dialing there. You would need to include local area codes
in the case of some 10 digit dialing. You should also look at the
dial peers and translation profiles already in use. You do not
want to overwrite them.
04-07-2009 01:19 PM
Yes, that is correct.
04-08-2009 09:27 AM
The 1 actually has to do with sets and is needed in this case. The 1 is noting that this change is for the first set. This is a complicated feature to play with, but it is very powerful. You can learn more here.
http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a0080325e8e.shtml
04-07-2009 12:39 PM
You can create a translation rule and apply it to the CALLING number of INCOMING calls. It would look something like this:
voice translation-rule 13
rule 1 /\(..........\)/ /9\1/
!
voice translation-profile Change_MissedCalls_Dialing
translate calling 13
Then apply this translation profile to your incoming dial-peer or voice port. Remember to follow the CCA out of band configuration guidelines found at www.cisco.com/en/US/docs/net_mgmt/cisco_configuration_assistant/version1_9/out_of_band.../cca_oob_config_guidelines.pdf
Thanks,
Skyler
04-07-2009 12:40 PM
You can translate the number when it comes in adding a 9. It would be something like this.
voice translation-rule 1
rule 1 /\(^.......$\)/ /9\1/
rule 2 /\(^..........$\)/ /91\1/
rule 3 /\(^.*\)/ /9011\1/
voice translation-profile profile1
translate calling 1
dial-peer voice 10 pots
translation-profile incoming profile1
incoming called number .
You might actually want to change the first rule if you don't have
7 digit dialing there. You would need to include local area codes
in the case of some 10 digit dialing. You should also look at the
dial peers and translation profiles already in use. You do not
want to overwrite them.
04-07-2009 01:12 PM
We do have 10-digit dialing in Vancouver with two different area codes (604, 778) - is this what the translation rules would look like then?
voice translation-rule 1
rule 1 /\(^604.......$\)/ /9\/
rule 2 /\(^778.......$\)/ /9\/
rule 3 /\(^..........$\)/ /91\1/
rule 4 /\(^.*\)/ /9011\1/
04-07-2009 02:39 PM
It looks like IOS doesn't like the first two rules:
rule 1 /\(^604.......$\)/ /9\/
rule 2 /\(^778.......$\)/ /9\/
It gives me an error at the 9 towards the very end.
Had to correct them as follows for them to work properly - I'm not sure I understand the last '1' in the rule.
voice translation-rule 9000
rule 1 /\(^604.......$\)/ /9\1/
rule 2 /\(^778.......$\)/ /9\1/
04-08-2009 09:27 AM
The 1 actually has to do with sets and is needed in this case. The 1 is noting that this change is for the first set. This is a complicated feature to play with, but it is very powerful. You can learn more here.
http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a0080325e8e.shtml
04-07-2009 01:19 PM
Yes, that is correct.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: