SlideShare a Scribd company logo
1 of 12
Download to read offline
To learn more about this tutorial contact us info_ipmax@ipmax.it
or visit our site www.ipmax.it/support WWW.IPMAX.IT
Dial Peers
Digit manipulation
using
Translation Profiles
CISCO
Call Manager Express 8.6
To learn more about this tutorial contact us info_ipmax@ipmax.it
or visit our site www.ipmax.it/support WWW.IPMAX.IT
1. Application enviroment
Here are some of the most common reasons for which it is required the digits manipulation:
• To translate a full PSTN number (eg an10 digits E.164 number) to an extension shorter so that the internal and external calls can be
made to a single extension.
• To ensure that users dial an access code for PSTN calls (the classic 0). Then this access code must be removed before forwarding
the call over the PSTN.
• Block calls to specific numbers.
• To redirect calls to specific numbers.
The CCME has several methods to manipulate digits. The next section will cover the digit manipulation by the command:
translation-profile.
Dial-Peer digit manipulation using Translation Profiles
Cisco Call manager Express 8.6
CCME
01
To learn more about this tutorial contact us info_ipmax@ipmax.it
or visit our site www.ipmax.it/support WWW.IPMAX.IT
Translation profiles work similarly to the access control lists (ACLs) on a router.
• Your first task is to create the voice-translation rule with a unique tag for identification.
• Every voice translation-rule can contain up to 15 rules.
• The next step is to create a voice-translation profile and set the rules to be used for the numbers called or callers.
• Finally, the voice translation-profile is applied to the dial-peer PSTN or VoIP. If desired, it can also be set globally on the voice
gateway. This profile can be applied to incoming or outgoing on the dial-peer.
CCME
02
Dial-Peer digit manipulation using Translation Profiles
Cisco Call manager Express 8.6
1. Application enviroment
To learn more about this tutorial contact us info_ipmax@ipmax.it
or visit our site www.ipmax.it/support WWW.IPMAX.IT
• Translation profiles are extremely flexible.
• They can be used to provide more granular control of scenarios change compared to other tools of manipulation of figures.
03
2. Implementation
The following example creates the translation rule 1:
CME#
CME#configure terminal
Enter configuration commands, one per line. End with CNTL/Z
CME(config)#voice translation-rule 1
CME(cfg-translation-rule)#
At this point you are in cfg-translation-rule mod
Dial-Peer digit manipulation using Translation Profiles
Cisco Call manager Express 8.6
To learn more about this tutorial contact us info_ipmax@ipmax.it
or visit our site www.ipmax.it/support WWW.IPMAX.IT
I make a premise
We subscribed with our telephone operator, DID (Direc Inward Dial) for the numbers:
02.92.90.91-00 02.92.90.91-99
Here in Italy are permitted numbers with variable length.
I.e. the numbers: 2.92.90.91.7 & 2.92.90.91.07 are identical. All indicate the extension 07.
The correct syntax of a translation rule is:
rule <1-15> / numeric string to be checked / / numeric string to replace /
The following rules allow you to convert penultimate and / or the last digit of a call from PSTN, in a new three digit number, in the range
1xx.
04
CME(cfg-translation-rule)# rule 5 /^2929091([0-9])$/ /101/
CME(cfg-translation-rule)# rule 10 /^2929091(.*)$/ /11/
CME(cfg-translation-rule)# exit
CME(config)# exit
CME#
Dial-Peer digit manipulation using Translation Profiles
Cisco Call manager Express 8.6
2. Implementation
To learn more about this tutorial contact us info_ipmax@ipmax.it
or visit our site www.ipmax.it/support WWW.IPMAX.IT
To be clear, we test the voice translation-rule 1 with the command:
test voice translation-rule <1-15> <number to be tested>
05
CME#test voice translation-rule 1 29290911
Matched with rule 5
Original number: 29290911 Translated number: 101
Original number type: none Translated number type: none
Original number plan: none Translated number plan: none
CME#test voice translation-rule 1 292909101
Matched with rule 10
Original number: 292909101 Translated number: 101
Original number type: none Translated number type: none
Original number plan: none Translated number plan: none
CME#test voice translation-rule 1 292909174
Matched with rule 10
Original number: 292909174 Translated number: 174
Original number type: none Translated number type: none
Original number plan: none Translated number plan: none
Depending on the length of the called number the voice translation-rule 1 will pass the rule between 5 and 10, while maintaining the
conversion to three digits for internal numbering.
Dial-Peer digit manipulation using Translation Profiles
Cisco Call manager Express 8.6
2. Implementation
To learn more about this tutorial contact us info_ipmax@ipmax.it
or visit our site www.ipmax.it/support WWW.IPMAX.IT
To complete the configuration, the voice translation-rule 1 must be activated within a translation-profile as follows:
06
CME(config)# voice translation-profile PSTN-IN
CME(cfg-translation-profile)# translate called 1
CME(cfg-translation-profile)# exit
CME(config)# exit
CME#
Above the translation rule 1 is activated for incoming calls (parameter "called") in the translation-profile tagged PSTN-IN.
CME(config)# dial-peer voice 10 pots
CME(config-dial-peer)# translation-profile incoming PSTN-IN
CME(config-dial-peer)# incoming called-number 292909T
CME(config-dial-peer)# direct-inward-dial
CME(config-dial-peer)# exit
CME(config)# exit
CME#
The dial-peer 10 will activate whenever the CCME receive an incoming call ("incoming") containing the numbers 292909nnx.
Finally we are able to receive calls on our CCME and then deliver the call properly inward desired!
Now the translation profile must be associated with a POTS dial-peer. Here 10.
Dial-Peer digit manipulation using Translation Profiles
Cisco Call manager Express 8.6
2. Implementation
To learn more about this tutorial contact us info_ipmax@ipmax.it
or visit our site www.ipmax.it/support WWW.IPMAX.IT
The following commands are used to start the debug and verify the correct procedures:
CME#
CME#debug isdn q931
debug isdn q931 is ON.
CME#
CME#debug voice translation
VoIP Translation Rule debugging is enabled
CME#
07
Dial-Peer digit manipulation using Translation Profiles
Cisco Call manager Express 8.6
3. Verify
To learn more about this tutorial contact us info_ipmax@ipmax.it
or visit our site www.ipmax.it/support WWW.IPMAX.IT
02
We make a call from PSTN to our CCME.
3218774532 is calling our CCME number 292909123
CME#
Sep 22 18:43:07.171: ISDN BR1/1/0 Q931: RX <- SETUP pd = 8 callref = 0x04
Bearer Capability i = 0x8090A3
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0x81
Preferred, B1
Calling Party Number i = 0x0183, '3218774532'
Plan:ISDN, Type:Unknown
Called Party Number i = 0xA1, '292909123'
Plan:ISDN, Type:National
Sending Complete
08
Dial-Peer digit manipulation using Translation Profiles
Cisco Call manager Express 8.6
3. Verify
To learn more about this tutorial contact us info_ipmax@ipmax.it
or visit our site www.ipmax.it/support WWW.IPMAX.IT
02
At this point the CCME identifies the correct rule for converting the called number from the PSTN.
The CCME thus identifies the rule 10 for proper conversion, while the rule 5 does not pass verification
Then replacement operations are made as specified in rule 10
CME#
Sep 22 …: //-1/x…x/RXRULE/regxrule_profile_match_internal: Matched with rule 10 in ruleset 1
Sep 22 …: //-1/x…x/RXRULE/regxrule_match: No match; number=292909123 rule precedence=5
Sep 22 …: //-1/x…x/RXRULE/sed_subst: Successful substitution; pattern=292909123 matchPattern=^2929091(.*)$
replacePattern=11 replaced pattern=123
Sep 22 …: //-1/x…x/RXRULE/regxrule_subst_num_type: Match Type = none, Replace Type = none Input Type = national
Sep 22 …: //-1/x…x/RXRULE/regxrule_subst_num_plan: Match Plan = none, Replace Plan = none Input Plan = isdn
CME#
09
Dial-Peer digit manipulation using Translation Profiles
Cisco Call manager Express 8.6
3. Verify
To learn more about this tutorial contact us info_ipmax@ipmax.it
or visit our site www.ipmax.it/support WWW.IPMAX.IT
02
Here's the sequence of call progress: in progress, ringing, off-hook, and finally, the phone conversation with extension123!
CME#
Sep 22 18:43:07.235: ISDN BR1/1/0 Q931: TX -> CALL_PROC pd = 8 callref = 0x84
Channel ID i = 0x89
Exclusive, B1
Sep 22 18:43:07.335: ISDN BR1/1/0 Q931: TX -> ALERTING pd = 8 callref = 0x84
Facility i = 0x9FAA068001018201018B0100A109020204B30201018000
Protocol Profile = Networking Extensions
CME#
CME#Sep 22 18:43:37.427: ISDN BR1/1/0 Q931: TX -> CONNECT pd = 8 callref = 0x84
Channel ID i = 0x89
Exclusive, B1
Sep 22 18:43:37.515: ISDN BR1/1/0 Q931: RX <- CONNECT_ACK pd = 8 callref = 0x04
CME#
Sep 22 18:43:37.515: %ISDN-6-CONNECT: Interface BRI1/1/0:1 is now connected to 123 N/A
CME#s
10
Dial-Peer digit manipulation using Translation Profiles
Cisco Call manager Express 8.6
3. Verify
To learn more about this tutorial contact us info_ipmax@ipmax.it
or visit our site www.ipmax.it/support WWW.IPMAX.IT
More Needs?
Services and
Solutions
Products
Remote
IpService
Security
Via Ponchielli, 4
20063 Cernusco sul Naviglio (MI) –
Italy
+39 02 9290 9171
info_ipmax@ipmax.it
About us
IPMAX is the ideal partner for companies
seeking quality in products and services.
IPMAX guarantees method and professionalism
to support its customers in selecting technologies
with the best quality / price ratio, in the design,
installation, commissioning and operation

More Related Content

Viewers also liked

8 Routing
8 Routing8 Routing
8 Routing
acapone
 
Troubleshooting ospf
Troubleshooting ospfTroubleshooting ospf
Troubleshooting ospf
Jay Mukoja
 

Viewers also liked (13)

Asterisk 13-reference
Asterisk 13-referenceAsterisk 13-reference
Asterisk 13-reference
 
Sip
SipSip
Sip
 
Presentazione tesi
Presentazione tesiPresentazione tesi
Presentazione tesi
 
Tesi Asterisk: CONFIGURAZIONE DI UN SERVIZIO VOIP CON ASTERISK
Tesi Asterisk: CONFIGURAZIONE DI UN SERVIZIO VOIP CON ASTERISK Tesi Asterisk: CONFIGURAZIONE DI UN SERVIZIO VOIP CON ASTERISK
Tesi Asterisk: CONFIGURAZIONE DI UN SERVIZIO VOIP CON ASTERISK
 
Ospf
OspfOspf
Ospf
 
Realizzazione di un servizio di conferenza telefonica/VoIP multiutente median...
Realizzazione di un servizio di conferenza telefonica/VoIP multiutente median...Realizzazione di un servizio di conferenza telefonica/VoIP multiutente median...
Realizzazione di un servizio di conferenza telefonica/VoIP multiutente median...
 
Asterisk
AsteriskAsterisk
Asterisk
 
8 Routing
8 Routing8 Routing
8 Routing
 
Video QoS
Video QoSVideo QoS
Video QoS
 
Cisco router tech support
Cisco router tech supportCisco router tech support
Cisco router tech support
 
Ccvp plus module 1
Ccvp plus module 1Ccvp plus module 1
Ccvp plus module 1
 
Huawei ARG3 Router How To - Troubleshooting OSPF: Router ID Confusion
Huawei ARG3 Router How To - Troubleshooting OSPF: Router ID ConfusionHuawei ARG3 Router How To - Troubleshooting OSPF: Router ID Confusion
Huawei ARG3 Router How To - Troubleshooting OSPF: Router ID Confusion
 
Troubleshooting ospf
Troubleshooting ospfTroubleshooting ospf
Troubleshooting ospf
 

More from IPMAX s.r.l.

More from IPMAX s.r.l. (9)

Huawei Switch S5700 How To - Configuring single-tag vlan mapping
Huawei Switch S5700  How To - Configuring single-tag vlan mappingHuawei Switch S5700  How To - Configuring single-tag vlan mapping
Huawei Switch S5700 How To - Configuring single-tag vlan mapping
 
Huawei SAN Storage How To - Configuring the i-SCSI Communication Protocol
Huawei SAN Storage How To - Configuring the i-SCSI Communication ProtocolHuawei SAN Storage How To - Configuring the i-SCSI Communication Protocol
Huawei SAN Storage How To - Configuring the i-SCSI Communication Protocol
 
Huawei SAN Storage How To - ISM management application setup
Huawei SAN Storage How To - ISM management application setupHuawei SAN Storage How To - ISM management application setup
Huawei SAN Storage How To - ISM management application setup
 
Huawei SAN Storage How To - Assigning Management IP Address
Huawei SAN Storage How To - Assigning Management IP AddressHuawei SAN Storage How To - Assigning Management IP Address
Huawei SAN Storage How To - Assigning Management IP Address
 
Huawei Switch How To - Configuring a basic DHCP server
Huawei Switch How To - Configuring a basic DHCP serverHuawei Switch How To - Configuring a basic DHCP server
Huawei Switch How To - Configuring a basic DHCP server
 
Fortigate Firewall How to - DLP
Fortigate Firewall How to - DLPFortigate Firewall How to - DLP
Fortigate Firewall How to - DLP
 
HUAWEI Switch HOW-TO - Configuring link aggregation in static LACP mode
HUAWEI Switch HOW-TO - Configuring link aggregation in static LACP modeHUAWEI Switch HOW-TO - Configuring link aggregation in static LACP mode
HUAWEI Switch HOW-TO - Configuring link aggregation in static LACP mode
 
FortiGate Firewall How-To: WEB Filtering
FortiGate Firewall How-To: WEB FilteringFortiGate Firewall How-To: WEB Filtering
FortiGate Firewall How-To: WEB Filtering
 
FortiGate Firewall HOW-TO - DMZ
FortiGate Firewall HOW-TO - DMZFortiGate Firewall HOW-TO - DMZ
FortiGate Firewall HOW-TO - DMZ
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Recently uploaded (20)

ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 

CCME How To - Dial-peer digit manipulation using Translation Profiles

  • 1. To learn more about this tutorial contact us info_ipmax@ipmax.it or visit our site www.ipmax.it/support WWW.IPMAX.IT Dial Peers Digit manipulation using Translation Profiles CISCO Call Manager Express 8.6
  • 2. To learn more about this tutorial contact us info_ipmax@ipmax.it or visit our site www.ipmax.it/support WWW.IPMAX.IT 1. Application enviroment Here are some of the most common reasons for which it is required the digits manipulation: • To translate a full PSTN number (eg an10 digits E.164 number) to an extension shorter so that the internal and external calls can be made to a single extension. • To ensure that users dial an access code for PSTN calls (the classic 0). Then this access code must be removed before forwarding the call over the PSTN. • Block calls to specific numbers. • To redirect calls to specific numbers. The CCME has several methods to manipulate digits. The next section will cover the digit manipulation by the command: translation-profile. Dial-Peer digit manipulation using Translation Profiles Cisco Call manager Express 8.6 CCME 01
  • 3. To learn more about this tutorial contact us info_ipmax@ipmax.it or visit our site www.ipmax.it/support WWW.IPMAX.IT Translation profiles work similarly to the access control lists (ACLs) on a router. • Your first task is to create the voice-translation rule with a unique tag for identification. • Every voice translation-rule can contain up to 15 rules. • The next step is to create a voice-translation profile and set the rules to be used for the numbers called or callers. • Finally, the voice translation-profile is applied to the dial-peer PSTN or VoIP. If desired, it can also be set globally on the voice gateway. This profile can be applied to incoming or outgoing on the dial-peer. CCME 02 Dial-Peer digit manipulation using Translation Profiles Cisco Call manager Express 8.6 1. Application enviroment
  • 4. To learn more about this tutorial contact us info_ipmax@ipmax.it or visit our site www.ipmax.it/support WWW.IPMAX.IT • Translation profiles are extremely flexible. • They can be used to provide more granular control of scenarios change compared to other tools of manipulation of figures. 03 2. Implementation The following example creates the translation rule 1: CME# CME#configure terminal Enter configuration commands, one per line. End with CNTL/Z CME(config)#voice translation-rule 1 CME(cfg-translation-rule)# At this point you are in cfg-translation-rule mod Dial-Peer digit manipulation using Translation Profiles Cisco Call manager Express 8.6
  • 5. To learn more about this tutorial contact us info_ipmax@ipmax.it or visit our site www.ipmax.it/support WWW.IPMAX.IT I make a premise We subscribed with our telephone operator, DID (Direc Inward Dial) for the numbers: 02.92.90.91-00 02.92.90.91-99 Here in Italy are permitted numbers with variable length. I.e. the numbers: 2.92.90.91.7 & 2.92.90.91.07 are identical. All indicate the extension 07. The correct syntax of a translation rule is: rule <1-15> / numeric string to be checked / / numeric string to replace / The following rules allow you to convert penultimate and / or the last digit of a call from PSTN, in a new three digit number, in the range 1xx. 04 CME(cfg-translation-rule)# rule 5 /^2929091([0-9])$/ /101/ CME(cfg-translation-rule)# rule 10 /^2929091(.*)$/ /11/ CME(cfg-translation-rule)# exit CME(config)# exit CME# Dial-Peer digit manipulation using Translation Profiles Cisco Call manager Express 8.6 2. Implementation
  • 6. To learn more about this tutorial contact us info_ipmax@ipmax.it or visit our site www.ipmax.it/support WWW.IPMAX.IT To be clear, we test the voice translation-rule 1 with the command: test voice translation-rule <1-15> <number to be tested> 05 CME#test voice translation-rule 1 29290911 Matched with rule 5 Original number: 29290911 Translated number: 101 Original number type: none Translated number type: none Original number plan: none Translated number plan: none CME#test voice translation-rule 1 292909101 Matched with rule 10 Original number: 292909101 Translated number: 101 Original number type: none Translated number type: none Original number plan: none Translated number plan: none CME#test voice translation-rule 1 292909174 Matched with rule 10 Original number: 292909174 Translated number: 174 Original number type: none Translated number type: none Original number plan: none Translated number plan: none Depending on the length of the called number the voice translation-rule 1 will pass the rule between 5 and 10, while maintaining the conversion to three digits for internal numbering. Dial-Peer digit manipulation using Translation Profiles Cisco Call manager Express 8.6 2. Implementation
  • 7. To learn more about this tutorial contact us info_ipmax@ipmax.it or visit our site www.ipmax.it/support WWW.IPMAX.IT To complete the configuration, the voice translation-rule 1 must be activated within a translation-profile as follows: 06 CME(config)# voice translation-profile PSTN-IN CME(cfg-translation-profile)# translate called 1 CME(cfg-translation-profile)# exit CME(config)# exit CME# Above the translation rule 1 is activated for incoming calls (parameter "called") in the translation-profile tagged PSTN-IN. CME(config)# dial-peer voice 10 pots CME(config-dial-peer)# translation-profile incoming PSTN-IN CME(config-dial-peer)# incoming called-number 292909T CME(config-dial-peer)# direct-inward-dial CME(config-dial-peer)# exit CME(config)# exit CME# The dial-peer 10 will activate whenever the CCME receive an incoming call ("incoming") containing the numbers 292909nnx. Finally we are able to receive calls on our CCME and then deliver the call properly inward desired! Now the translation profile must be associated with a POTS dial-peer. Here 10. Dial-Peer digit manipulation using Translation Profiles Cisco Call manager Express 8.6 2. Implementation
  • 8. To learn more about this tutorial contact us info_ipmax@ipmax.it or visit our site www.ipmax.it/support WWW.IPMAX.IT The following commands are used to start the debug and verify the correct procedures: CME# CME#debug isdn q931 debug isdn q931 is ON. CME# CME#debug voice translation VoIP Translation Rule debugging is enabled CME# 07 Dial-Peer digit manipulation using Translation Profiles Cisco Call manager Express 8.6 3. Verify
  • 9. To learn more about this tutorial contact us info_ipmax@ipmax.it or visit our site www.ipmax.it/support WWW.IPMAX.IT 02 We make a call from PSTN to our CCME. 3218774532 is calling our CCME number 292909123 CME# Sep 22 18:43:07.171: ISDN BR1/1/0 Q931: RX <- SETUP pd = 8 callref = 0x04 Bearer Capability i = 0x8090A3 Standard = CCITT Transfer Capability = Speech Transfer Mode = Circuit Transfer Rate = 64 kbit/s Channel ID i = 0x81 Preferred, B1 Calling Party Number i = 0x0183, '3218774532' Plan:ISDN, Type:Unknown Called Party Number i = 0xA1, '292909123' Plan:ISDN, Type:National Sending Complete 08 Dial-Peer digit manipulation using Translation Profiles Cisco Call manager Express 8.6 3. Verify
  • 10. To learn more about this tutorial contact us info_ipmax@ipmax.it or visit our site www.ipmax.it/support WWW.IPMAX.IT 02 At this point the CCME identifies the correct rule for converting the called number from the PSTN. The CCME thus identifies the rule 10 for proper conversion, while the rule 5 does not pass verification Then replacement operations are made as specified in rule 10 CME# Sep 22 …: //-1/x…x/RXRULE/regxrule_profile_match_internal: Matched with rule 10 in ruleset 1 Sep 22 …: //-1/x…x/RXRULE/regxrule_match: No match; number=292909123 rule precedence=5 Sep 22 …: //-1/x…x/RXRULE/sed_subst: Successful substitution; pattern=292909123 matchPattern=^2929091(.*)$ replacePattern=11 replaced pattern=123 Sep 22 …: //-1/x…x/RXRULE/regxrule_subst_num_type: Match Type = none, Replace Type = none Input Type = national Sep 22 …: //-1/x…x/RXRULE/regxrule_subst_num_plan: Match Plan = none, Replace Plan = none Input Plan = isdn CME# 09 Dial-Peer digit manipulation using Translation Profiles Cisco Call manager Express 8.6 3. Verify
  • 11. To learn more about this tutorial contact us info_ipmax@ipmax.it or visit our site www.ipmax.it/support WWW.IPMAX.IT 02 Here's the sequence of call progress: in progress, ringing, off-hook, and finally, the phone conversation with extension123! CME# Sep 22 18:43:07.235: ISDN BR1/1/0 Q931: TX -> CALL_PROC pd = 8 callref = 0x84 Channel ID i = 0x89 Exclusive, B1 Sep 22 18:43:07.335: ISDN BR1/1/0 Q931: TX -> ALERTING pd = 8 callref = 0x84 Facility i = 0x9FAA068001018201018B0100A109020204B30201018000 Protocol Profile = Networking Extensions CME# CME#Sep 22 18:43:37.427: ISDN BR1/1/0 Q931: TX -> CONNECT pd = 8 callref = 0x84 Channel ID i = 0x89 Exclusive, B1 Sep 22 18:43:37.515: ISDN BR1/1/0 Q931: RX <- CONNECT_ACK pd = 8 callref = 0x04 CME# Sep 22 18:43:37.515: %ISDN-6-CONNECT: Interface BRI1/1/0:1 is now connected to 123 N/A CME#s 10 Dial-Peer digit manipulation using Translation Profiles Cisco Call manager Express 8.6 3. Verify
  • 12. To learn more about this tutorial contact us info_ipmax@ipmax.it or visit our site www.ipmax.it/support WWW.IPMAX.IT More Needs? Services and Solutions Products Remote IpService Security Via Ponchielli, 4 20063 Cernusco sul Naviglio (MI) – Italy +39 02 9290 9171 info_ipmax@ipmax.it About us IPMAX is the ideal partner for companies seeking quality in products and services. IPMAX guarantees method and professionalism to support its customers in selecting technologies with the best quality / price ratio, in the design, installation, commissioning and operation