{"id":3881,"date":"2012-06-21T14:40:08","date_gmt":"2012-06-21T20:40:08","guid":{"rendered":"http:\/\/gregsowell.com\/?p=3881"},"modified":"2012-06-21T14:55:17","modified_gmt":"2012-06-21T20:55:17","slug":"communications-manager-express-voice-translation-rules","status":"publish","type":"post","link":"https:\/\/gregsowell.com\/?p=3881","title":{"rendered":"Communications Manager Express Voice Translation Rules"},"content":{"rendered":"<p>The Cisco <a href=\"http:\/\/www.cisco.com\/en\/US\/docs\/voice_ip_comm\/cucme\/admin\/configuration\/guide\/cmedialp.html#wp1070874\">link is here<\/a>.<\/p>\n<p>The idea is that you can transform dialed or dialing numbers on phones or gateways using these methods.<\/p>\n<p><strong>First, create a translation rule:<\/strong><\/p>\n<pre class=\"gs-code\"><code class=\"language-plaintext\">voice translation-rule number\r\n rule precedence \/match-pattern\/ \/replace-pattern\/<\/code><\/pre>\n<p>Example:<\/p>\n<pre class=\"gs-code\"><code class=\"language-plaintext\">voice translation-rule 10\r\n rule 1 \/1235551111\/ \/1235552222\/<\/code><\/pre>\n<p><strong>Then create a translation profile:<\/strong><\/p>\n<pre class=\"gs-code\"><code class=\"language-plaintext\">voice translation-profile name\r\n translate {called | calling | redirect-called | redirect-target} translation-rule-number<\/code><\/pre>\n<p>Example:<\/p>\n<pre class=\"gs-code\"><code class=\"language-plaintext\">voice translation-profile incoming-transformation\r\n translate called 10<\/code><\/pre>\n<p><strong>I applied it to a voice gateway:<\/strong><\/p>\n<pre class=\"gs-code\"><code class=\"language-plaintext\">voice-port 0\/0\/0:23\r\n translation-profile direction profile-name<\/code><\/pre>\n<p>Example:<\/p>\n<pre class=\"gs-code\"><code class=\"language-plaintext\">voice-port 0\/0\/0:23\r\n translation-profile incoming incoming-transformation<\/code><\/pre>\n<p>Remember that on the translation profile to set called or calling properly&#8230;It&#8217;s the little things \ud83d\ude09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Cisco link is here. The idea is that you can transform dialed or dialing numbers on phones or gateways using these methods. First,\u2026<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22,16,19],"tags":[],"class_list":["post-3881","post","type-post","status-publish","format-standard","hentry","category-callmanager","category-cisco","category-voip"],"_links":{"self":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts\/3881","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3881"}],"version-history":[{"count":10,"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts\/3881\/revisions"}],"predecessor-version":[{"id":3888,"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts\/3881\/revisions\/3888"}],"wp:attachment":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3881"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3881"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3881"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}