{"id":281,"date":"2014-06-05T15:41:59","date_gmt":"2014-06-05T21:41:59","guid":{"rendered":"http:\/\/blog.escarra.org\/?p=281"},"modified":"2014-06-06T13:15:42","modified_gmt":"2014-06-06T19:15:42","slug":"non-e-164-gateway-trunk-into-lync-2013","status":"publish","type":"post","link":"https:\/\/blog.escarra.org\/?p=281","title":{"rendered":"Non-E.164 voice gateway trunk into Lync 2013"},"content":{"rendered":"<p>While doing an integration with a Cisco CallManager cluster that was on version 6.1, I realized why Microsoft only supports CUCM 7.0 and above. Earlier versions do not handle E.164 and so calls through the SIP trunk into the Lync mediation pool would not have the nice &#8220;+&#8221; on the SIP Invites. Fortunately, Lync 2013 lets you do inbound and outbound translations to overcome these situations, although you&#8217;d still be running on an unsupported Voice gateway.<\/p>\n<p>To handle Inbound SIP without E.164 prefix, you can create a Pool Dial Plan for the SIP trunks (PstnGateway) you&#8217;ll need to handle, and then create normalization rules to prefix a + and remove any other numbers. You can also do it at a Global level, but I like to keep things separate, and in my case CUCM integration is only temporary until all sites are on Lync.<\/p>\n<p>Inbound:<\/p>\n<p><a href=\"http:\/\/blog.escarra.org\/wp-content\/uploads\/2014\/06\/2014-06-05-16_38_49-MobaXterm-Professional.png\"><img data-attachment-id=\"283\" data-permalink=\"https:\/\/blog.escarra.org\/?attachment_id=283\" data-orig-file=\"https:\/\/blog.escarra.org\/wp-content\/uploads\/2014\/06\/2014-06-05-16_38_49-MobaXterm-Professional.png\" data-orig-size=\"747,197\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"2014-06-05 16_38_49-MobaXterm Professional\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/blog.escarra.org\/wp-content\/uploads\/2014\/06\/2014-06-05-16_38_49-MobaXterm-Professional-300x79.png\" data-large-file=\"https:\/\/blog.escarra.org\/wp-content\/uploads\/2014\/06\/2014-06-05-16_38_49-MobaXterm-Professional.png\" decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-283 size-full\" src=\"http:\/\/blog.escarra.org\/wp-content\/uploads\/2014\/06\/2014-06-05-16_38_49-MobaXterm-Professional.png\" alt=\"2014-06-05 16_38_49-MobaXterm Professional\" width=\"747\" height=\"197\" srcset=\"https:\/\/blog.escarra.org\/wp-content\/uploads\/2014\/06\/2014-06-05-16_38_49-MobaXterm-Professional.png 747w, https:\/\/blog.escarra.org\/wp-content\/uploads\/2014\/06\/2014-06-05-16_38_49-MobaXterm-Professional-300x79.png 300w\" sizes=\"(max-width: 747px) 100vw, 747px\" \/><\/a><\/p>\n<p>To handle Outbound SIP, you can use Calling and Called Number Rules under Trunk Configuration, and add\/remove prefixes to be passed over to the voice gateway. In my case, I&#8217;m removing the + and prefixing a 7 to test outbound PSTN calling.<\/p>\n<p>Outbound:<\/p>\n<p><a href=\"http:\/\/blog.escarra.org\/wp-content\/uploads\/2014\/06\/2014-06-05-16_39_45-MobaXterm-Professional.png\"><img data-attachment-id=\"284\" data-permalink=\"https:\/\/blog.escarra.org\/?attachment_id=284\" data-orig-file=\"https:\/\/blog.escarra.org\/wp-content\/uploads\/2014\/06\/2014-06-05-16_39_45-MobaXterm-Professional.png\" data-orig-size=\"679,452\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"2014-06-05 16_39_45-MobaXterm Professional\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/blog.escarra.org\/wp-content\/uploads\/2014\/06\/2014-06-05-16_39_45-MobaXterm-Professional-300x199.png\" data-large-file=\"https:\/\/blog.escarra.org\/wp-content\/uploads\/2014\/06\/2014-06-05-16_39_45-MobaXterm-Professional.png\" decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-284 size-full\" src=\"http:\/\/blog.escarra.org\/wp-content\/uploads\/2014\/06\/2014-06-05-16_39_45-MobaXterm-Professional.png\" alt=\"2014-06-05 16_39_45-MobaXterm Professional\" width=\"679\" height=\"452\" srcset=\"https:\/\/blog.escarra.org\/wp-content\/uploads\/2014\/06\/2014-06-05-16_39_45-MobaXterm-Professional.png 679w, https:\/\/blog.escarra.org\/wp-content\/uploads\/2014\/06\/2014-06-05-16_39_45-MobaXterm-Professional-300x199.png 300w\" sizes=\"(max-width: 679px) 100vw, 679px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>While doing an integration with a Cisco CallManager cluster that was on version 6.1, I realized why Microsoft only supports CUCM 7.0 and above. Earlier versions do not handle E.164 and so calls through the SIP trunk into the Lync mediation pool would not have the nice &#8220;+&#8221; on the SIP Invites. Fortunately, Lync 2013 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"footnotes":"","_jetpack_memberships_contains_paid_content":false,"jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[20],"tags":[],"jetpack_publicize_connections":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Gonzalo Escarr\u00e1\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/blog.escarra.org\/?p=281\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Gonzalo Escarr\u00e1&#039;s Blog\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Non-E.164 voice gateway trunk into Lync 2013 | Gonzalo Escarr\u00e1&#039;s Blog\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/blog.escarra.org\/?p=281\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2014-06-05T21:41:59+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2014-06-06T19:15:42+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Non-E.164 voice gateway trunk into Lync 2013 | Gonzalo Escarr\u00e1&#039;s Blog\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/?p=281#article\",\"name\":\"Non-E.164 voice gateway trunk into Lync 2013 | Gonzalo Escarr\\u00e1's Blog\",\"headline\":\"Non-E.164 voice gateway trunk into Lync 2013\",\"author\":{\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/?author=2#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/blog.escarra.org\\\/wp-content\\\/uploads\\\/2014\\\/06\\\/2014-06-05-16_38_49-MobaXterm-Professional.png\",\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/?p=281\\\/#articleImage\",\"width\":747,\"height\":197},\"datePublished\":\"2014-06-05T15:41:59-06:00\",\"dateModified\":\"2014-06-06T13:15:42-06:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/?p=281#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/?p=281#webpage\"},\"articleSection\":\"Lync\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/?p=281#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.escarra.org#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/blog.escarra.org\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/?cat=20#listItem\",\"name\":\"Lync\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/?cat=20#listItem\",\"position\":2,\"name\":\"Lync\",\"item\":\"https:\\\/\\\/blog.escarra.org\\\/?cat=20\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/?p=281#listItem\",\"name\":\"Non-E.164 voice gateway trunk into Lync 2013\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.escarra.org#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/?p=281#listItem\",\"position\":3,\"name\":\"Non-E.164 voice gateway trunk into Lync 2013\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/?cat=20#listItem\",\"name\":\"Lync\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/#organization\",\"name\":\"Gonzalo Escarr\\u00e1's Blog\",\"description\":\"Lync, networking, UC, VoIP, and some other hacks.\",\"url\":\"https:\\\/\\\/blog.escarra.org\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/?author=2#author\",\"url\":\"https:\\\/\\\/blog.escarra.org\\\/?author=2\",\"name\":\"Gonzalo Escarr\\u00e1\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/?p=281#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/168b99b7313c8cae090a5a99e34afd2e?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Gonzalo Escarr\\u00e1\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/?p=281#webpage\",\"url\":\"https:\\\/\\\/blog.escarra.org\\\/?p=281\",\"name\":\"Non-E.164 voice gateway trunk into Lync 2013 | Gonzalo Escarr\\u00e1's Blog\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/?p=281#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/?author=2#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/?author=2#author\"},\"datePublished\":\"2014-06-05T15:41:59-06:00\",\"dateModified\":\"2014-06-06T13:15:42-06:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/#website\",\"url\":\"https:\\\/\\\/blog.escarra.org\\\/\",\"name\":\"Gonzalo Escarr\\u00e1's Blog\",\"description\":\"Lync, networking, UC, VoIP, and some other hacks.\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/blog.escarra.org\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Non-E.164 voice gateway trunk into Lync 2013 | Gonzalo Escarr\u00e1's Blog","description":"","canonical_url":"https:\/\/blog.escarra.org\/?p=281","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.escarra.org\/?p=281#article","name":"Non-E.164 voice gateway trunk into Lync 2013 | Gonzalo Escarr\u00e1's Blog","headline":"Non-E.164 voice gateway trunk into Lync 2013","author":{"@id":"https:\/\/blog.escarra.org\/?author=2#author"},"publisher":{"@id":"https:\/\/blog.escarra.org\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/blog.escarra.org\/wp-content\/uploads\/2014\/06\/2014-06-05-16_38_49-MobaXterm-Professional.png","@id":"https:\/\/blog.escarra.org\/?p=281\/#articleImage","width":747,"height":197},"datePublished":"2014-06-05T15:41:59-06:00","dateModified":"2014-06-06T13:15:42-06:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/blog.escarra.org\/?p=281#webpage"},"isPartOf":{"@id":"https:\/\/blog.escarra.org\/?p=281#webpage"},"articleSection":"Lync"},{"@type":"BreadcrumbList","@id":"https:\/\/blog.escarra.org\/?p=281#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/blog.escarra.org#listItem","position":1,"name":"Home","item":"https:\/\/blog.escarra.org","nextItem":{"@type":"ListItem","@id":"https:\/\/blog.escarra.org\/?cat=20#listItem","name":"Lync"}},{"@type":"ListItem","@id":"https:\/\/blog.escarra.org\/?cat=20#listItem","position":2,"name":"Lync","item":"https:\/\/blog.escarra.org\/?cat=20","nextItem":{"@type":"ListItem","@id":"https:\/\/blog.escarra.org\/?p=281#listItem","name":"Non-E.164 voice gateway trunk into Lync 2013"},"previousItem":{"@type":"ListItem","@id":"https:\/\/blog.escarra.org#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/blog.escarra.org\/?p=281#listItem","position":3,"name":"Non-E.164 voice gateway trunk into Lync 2013","previousItem":{"@type":"ListItem","@id":"https:\/\/blog.escarra.org\/?cat=20#listItem","name":"Lync"}}]},{"@type":"Organization","@id":"https:\/\/blog.escarra.org\/#organization","name":"Gonzalo Escarr\u00e1's Blog","description":"Lync, networking, UC, VoIP, and some other hacks.","url":"https:\/\/blog.escarra.org\/"},{"@type":"Person","@id":"https:\/\/blog.escarra.org\/?author=2#author","url":"https:\/\/blog.escarra.org\/?author=2","name":"Gonzalo Escarr\u00e1","image":{"@type":"ImageObject","@id":"https:\/\/blog.escarra.org\/?p=281#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/168b99b7313c8cae090a5a99e34afd2e?s=96&d=mm&r=g","width":96,"height":96,"caption":"Gonzalo Escarr\u00e1"}},{"@type":"WebPage","@id":"https:\/\/blog.escarra.org\/?p=281#webpage","url":"https:\/\/blog.escarra.org\/?p=281","name":"Non-E.164 voice gateway trunk into Lync 2013 | Gonzalo Escarr\u00e1's Blog","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/blog.escarra.org\/#website"},"breadcrumb":{"@id":"https:\/\/blog.escarra.org\/?p=281#breadcrumblist"},"author":{"@id":"https:\/\/blog.escarra.org\/?author=2#author"},"creator":{"@id":"https:\/\/blog.escarra.org\/?author=2#author"},"datePublished":"2014-06-05T15:41:59-06:00","dateModified":"2014-06-06T13:15:42-06:00"},{"@type":"WebSite","@id":"https:\/\/blog.escarra.org\/#website","url":"https:\/\/blog.escarra.org\/","name":"Gonzalo Escarr\u00e1's Blog","description":"Lync, networking, UC, VoIP, and some other hacks.","inLanguage":"en-US","publisher":{"@id":"https:\/\/blog.escarra.org\/#organization"}}]},"og:locale":"en_US","og:site_name":"Gonzalo Escarr\u00e1's Blog","og:type":"article","og:title":"Non-E.164 voice gateway trunk into Lync 2013 | Gonzalo Escarr\u00e1's Blog","og:url":"https:\/\/blog.escarra.org\/?p=281","article:published_time":"2014-06-05T21:41:59+00:00","article:modified_time":"2014-06-06T19:15:42+00:00","twitter:card":"summary","twitter:title":"Non-E.164 voice gateway trunk into Lync 2013 | Gonzalo Escarr\u00e1's Blog"},"aioseo_meta_data":{"post_id":"281","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-04-13 20:17:43","updated":"2025-06-04 07:40:32","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/blog.escarra.org\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/blog.escarra.org\/?cat=20\" title=\"Lync\">Lync<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tNon-E.164 voice gateway trunk into Lync 2013\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/blog.escarra.org"},{"label":"Lync","link":"https:\/\/blog.escarra.org\/?cat=20"},{"label":"Non-E.164 voice gateway trunk into Lync 2013","link":"https:\/\/blog.escarra.org\/?p=281"}],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/blog.escarra.org\/index.php?rest_route=\/wp\/v2\/posts\/281"}],"collection":[{"href":"https:\/\/blog.escarra.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.escarra.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.escarra.org\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.escarra.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=281"}],"version-history":[{"count":5,"href":"https:\/\/blog.escarra.org\/index.php?rest_route=\/wp\/v2\/posts\/281\/revisions"}],"predecessor-version":[{"id":296,"href":"https:\/\/blog.escarra.org\/index.php?rest_route=\/wp\/v2\/posts\/281\/revisions\/296"}],"wp:attachment":[{"href":"https:\/\/blog.escarra.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=281"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.escarra.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=281"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.escarra.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=281"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}