Translation-rule are the best IOS tool that you can use to make digit manipulation. In order to execute them , here are the required steps:
- Build your translation-rules
- Build your translation profiles
- Apply your translation-profiles in incoming or outgoing or both mode
Here are where you can apply yoru translation profiles:
- All voip calls
- a particular dial-peer
As seen before in the SRST post, you can define the mapping between your internal dial plan and the outside world . You can define it as in SRST by using the command dialplan-pattern. You can also as precise before use also the translations rules which are easier to manipulate your digits.
Here is as usual a basic configuration that you can perform to enable your CME router.
load <<phone_type>> <<firmware_load>>
ip source-address 10.1.2.1 port 2000
ephone-dn <<tag-number>> <dual-line>
CME provides call processing and enterprises telephony features in a small-to-medium sized network environment, and supports an amount of IP Phones depending the router platform.
To deploy it , you must also install several additional files in the flash and be sure to have the clock set up (it can be done also via the NTP) as it is needed to generate the CNF-Files.
To match the local number with the external number during a SRST failover, you can use the command dialplan-pattern <<tag_pattern>> extension-length <<length>>. this command also ensures that a full E.164 address is sent as the ANI for outgoing calls. The dialplan-pattern command causes the SRST router to create an additional virtual dial peer for local extension corresponding to the pattern specified in the command.So, this command can be used to map the DNIS sent by the PSTN to a local extension.
Pay attention that if you play with translation rules on your voice-port, it may be a good choice also to continue with digit manipulation to conform your SRST dialplan as the translation rule are processed before.
As with Call Transfer , Call Forwarding is enabled by default between IP Phones which are registered with the SRST process.Again if you need to enable H450v3 call-forward for non-local numbers , you have to enhance your config with the following comand:
Example of this will be :
call-forward pattern .T