{"id":993,"date":"2024-11-09T21:47:46","date_gmt":"2024-11-09T20:47:46","guid":{"rendered":"https:\/\/thegreydiamond.de\/blog\/?p=993"},"modified":"2024-11-09T21:49:01","modified_gmt":"2024-11-09T20:49:01","slug":"modifying-callerid-cid-in-asterisk-based-on-a-trunk","status":"publish","type":"post","link":"https:\/\/thegreydiamond.de\/blog\/2024\/11\/09\/modifying-callerid-cid-in-asterisk-based-on-a-trunk\/","title":{"rendered":"Modifying CallerID (CID) in Asterisk based on a trunk"},"content":{"rendered":"\n<p>Ever wanted to modify a CallerID string from a specific trunk in Asterisk \/ FreePBX? One simple example of why one would want this is to prepend &#8220;EXT&#8221; to a specific trunk or mark different trunks.<\/p>\n\n\n\n<p>We are leveraging Asterisk contexts to &#8220;modify&#8221; the inbound call. You can use and modify the following snippet:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">[from-ext]\nexten => _X.,1,NoOp(Entering from-ext context)\nsame => n,Set(CALLERID(name)=EXT: ${CALLERID(name)})\nsame => n,Set(CALLERID(num)=*8${CALLERID(num)})\nsame => n,Goto(from-internal,${EXTEN},1)<\/code><\/pre>\n\n\n\n<p>This snippet does the following:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>append &#8220;EXT: &#8221; to the CID name<\/li>\n\n\n\n<li>append *8 to the CID number (this is helpful to stop FreePBX from overriding the CID name)<\/li>\n<\/ul>\n\n\n\n<p>Be sure to modify your trunk to utilize the newly created context by changing the &#8220;context&#8221; attribute found in most trunks.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Using FreePBX<\/h3>\n\n\n\n<p>If you are using FreePBX installing a context is simple. Use the &#8220;Configuration File Editor&#8221; and edit &#8220;extensions_custom.conf&#8221;. Just append and modify your context, then change the context in your trunk and you&#8217;re all set.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"427\" src=\"https:\/\/thegreydiamond.de\/blog\/wp-content\/uploads\/2024\/11\/2024-11-09_21-23-53-8362e024-aff5-40f6-828a-2a6652fd283b-1024x427.png\" alt=\"\" class=\"wp-image-996\" srcset=\"https:\/\/thegreydiamond.de\/blog\/wp-content\/uploads\/2024\/11\/2024-11-09_21-23-53-8362e024-aff5-40f6-828a-2a6652fd283b-1024x427.png 1024w, https:\/\/thegreydiamond.de\/blog\/wp-content\/uploads\/2024\/11\/2024-11-09_21-23-53-8362e024-aff5-40f6-828a-2a6652fd283b-300x125.png 300w, https:\/\/thegreydiamond.de\/blog\/wp-content\/uploads\/2024\/11\/2024-11-09_21-23-53-8362e024-aff5-40f6-828a-2a6652fd283b-768x321.png 768w, https:\/\/thegreydiamond.de\/blog\/wp-content\/uploads\/2024\/11\/2024-11-09_21-23-53-8362e024-aff5-40f6-828a-2a6652fd283b-1536x641.png 1536w, https:\/\/thegreydiamond.de\/blog\/wp-content\/uploads\/2024\/11\/2024-11-09_21-23-53-8362e024-aff5-40f6-828a-2a6652fd283b-2048x855.png 2048w, https:\/\/thegreydiamond.de\/blog\/wp-content\/uploads\/2024\/11\/2024-11-09_21-23-53-8362e024-aff5-40f6-828a-2a6652fd283b-676x282.png 676w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Links to documentation<\/h4>\n\n\n\n<p><a href=\"https:\/\/docs.asterisk.org\/Asterisk_16_Documentation\/API_Documentation\/Dialplan_Functions\/CALLERID\">https:\/\/docs.asterisk.org\/Asterisk_16_Documentation\/API_Documentation\/Dialplan_Functions\/CALLERID\/<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/docs.asterisk.org\/Deployment\/Basic-PBX-Functionality\/Auto-attendant-and-IVR-Menus\/Goto-Application-and-Priority-Labels\">https:\/\/docs.asterisk.org\/Deployment\/Basic-PBX-Functionality\/Auto-attendant-and-IVR-Menus\/Goto-Application-and-Priority-Labels<\/a><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ever wanted to modify a CallerID string from a specific trunk in Asterisk \/ FreePBX? One simple example of why one would want this is to prepend &#8220;EXT&#8221; to a specific trunk or mark different trunks. We are leveraging Asterisk contexts to &#8220;modify&#8221; the inbound call. You can use and modify the following snippet: This [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"categories":[1],"tags":[94,95,96,97,98],"class_list":["post-993","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-asterisk","tag-freepbx","tag-pbx","tag-phone","tag-phonesystem","post-preview"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Modifying CallerID (CID) in Asterisk based on a trunk &#8211; Thegreydiamond<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/thegreydiamond.de\/blog\/2024\/11\/09\/modifying-callerid-cid-in-asterisk-based-on-a-trunk\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Modifying CallerID (CID) in Asterisk based on a trunk &#8211; Thegreydiamond\" \/>\n<meta property=\"og:description\" content=\"Ever wanted to modify a CallerID string from a specific trunk in Asterisk \/ FreePBX? One simple example of why one would want this is to prepend &#8220;EXT&#8221; to a specific trunk or mark different trunks. We are leveraging Asterisk contexts to &#8220;modify&#8221; the inbound call. You can use and modify the following snippet: This [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/thegreydiamond.de\/blog\/2024\/11\/09\/modifying-callerid-cid-in-asterisk-based-on-a-trunk\/\" \/>\n<meta property=\"og:site_name\" content=\"Thegreydiamond\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-09T20:47:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-09T20:49:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/thegreydiamond.de\/blog\/wp-content\/uploads\/2024\/11\/2024-11-09_21-23-53-8362e024-aff5-40f6-828a-2a6652fd283b.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2058\" \/>\n\t<meta property=\"og:image:height\" content=\"859\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"TheGreydiamond\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@thegreydiamond2\" \/>\n<meta name=\"twitter:site\" content=\"@thegreydiamond2\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TheGreydiamond\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/thegreydiamond.de\\\/blog\\\/2024\\\/11\\\/09\\\/modifying-callerid-cid-in-asterisk-based-on-a-trunk\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/thegreydiamond.de\\\/blog\\\/2024\\\/11\\\/09\\\/modifying-callerid-cid-in-asterisk-based-on-a-trunk\\\/\"},\"author\":{\"name\":\"TheGreydiamond\",\"@id\":\"https:\\\/\\\/thegreydiamond.de\\\/blog\\\/#\\\/schema\\\/person\\\/a7ba7a2ca50e4001f3f8f852c079910d\"},\"headline\":\"Modifying CallerID (CID) in Asterisk based on a trunk\",\"datePublished\":\"2024-11-09T20:47:46+00:00\",\"dateModified\":\"2024-11-09T20:49:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/thegreydiamond.de\\\/blog\\\/2024\\\/11\\\/09\\\/modifying-callerid-cid-in-asterisk-based-on-a-trunk\\\/\"},\"wordCount\":172,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/thegreydiamond.de\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/thegreydiamond.de\\\/blog\\\/2024\\\/11\\\/09\\\/modifying-callerid-cid-in-asterisk-based-on-a-trunk\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/thegreydiamond.de\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/2024-11-09_21-23-53-8362e024-aff5-40f6-828a-2a6652fd283b-1024x427.png\",\"keywords\":[\"asterisk\",\"freepbx\",\"pbx\",\"phone\",\"phonesystem\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/thegreydiamond.de\\\/blog\\\/2024\\\/11\\\/09\\\/modifying-callerid-cid-in-asterisk-based-on-a-trunk\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/thegreydiamond.de\\\/blog\\\/2024\\\/11\\\/09\\\/modifying-callerid-cid-in-asterisk-based-on-a-trunk\\\/\",\"url\":\"https:\\\/\\\/thegreydiamond.de\\\/blog\\\/2024\\\/11\\\/09\\\/modifying-callerid-cid-in-asterisk-based-on-a-trunk\\\/\",\"name\":\"Modifying CallerID (CID) in Asterisk based on a trunk &#8211; Thegreydiamond\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/thegreydiamond.de\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/thegreydiamond.de\\\/blog\\\/2024\\\/11\\\/09\\\/modifying-callerid-cid-in-asterisk-based-on-a-trunk\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/thegreydiamond.de\\\/blog\\\/2024\\\/11\\\/09\\\/modifying-callerid-cid-in-asterisk-based-on-a-trunk\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/thegreydiamond.de\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/2024-11-09_21-23-53-8362e024-aff5-40f6-828a-2a6652fd283b-1024x427.png\",\"datePublished\":\"2024-11-09T20:47:46+00:00\",\"dateModified\":\"2024-11-09T20:49:01+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/thegreydiamond.de\\\/blog\\\/2024\\\/11\\\/09\\\/modifying-callerid-cid-in-asterisk-based-on-a-trunk\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/thegreydiamond.de\\\/blog\\\/2024\\\/11\\\/09\\\/modifying-callerid-cid-in-asterisk-based-on-a-trunk\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/thegreydiamond.de\\\/blog\\\/2024\\\/11\\\/09\\\/modifying-callerid-cid-in-asterisk-based-on-a-trunk\\\/#primaryimage\",\"url\":\"https:\\\/\\\/thegreydiamond.de\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/2024-11-09_21-23-53-8362e024-aff5-40f6-828a-2a6652fd283b.png\",\"contentUrl\":\"https:\\\/\\\/thegreydiamond.de\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/2024-11-09_21-23-53-8362e024-aff5-40f6-828a-2a6652fd283b.png\",\"width\":2058,\"height\":859},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/thegreydiamond.de\\\/blog\\\/2024\\\/11\\\/09\\\/modifying-callerid-cid-in-asterisk-based-on-a-trunk\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/thegreydiamond.de\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Modifying CallerID (CID) in Asterisk based on a trunk\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/thegreydiamond.de\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/thegreydiamond.de\\\/blog\\\/\",\"name\":\"Thegreydiamond\",\"description\":\"TheGreydiamonds Blog\",\"publisher\":{\"@id\":\"https:\\\/\\\/thegreydiamond.de\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/thegreydiamond.de\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/thegreydiamond.de\\\/blog\\\/#organization\",\"name\":\"TheGreydiamond\",\"url\":\"https:\\\/\\\/thegreydiamond.de\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/thegreydiamond.de\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/thegreydiamond.de\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/logoVersuch2.png\",\"contentUrl\":\"https:\\\/\\\/thegreydiamond.de\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/logoVersuch2.png\",\"width\":1000,\"height\":1000,\"caption\":\"TheGreydiamond\"},\"image\":{\"@id\":\"https:\\\/\\\/thegreydiamond.de\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/thegreydiamond2\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/thegreydiamond.de\\\/blog\\\/#\\\/schema\\\/person\\\/a7ba7a2ca50e4001f3f8f852c079910d\",\"name\":\"TheGreydiamond\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/55ee91221a0c102f9e4fa464a2edf06cc82724dc4f1299c99818b23e45801a75?s=96&d=mm&r=pg\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/55ee91221a0c102f9e4fa464a2edf06cc82724dc4f1299c99818b23e45801a75?s=96&d=mm&r=pg\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/55ee91221a0c102f9e4fa464a2edf06cc82724dc4f1299c99818b23e45801a75?s=96&d=mm&r=pg\",\"caption\":\"TheGreydiamond\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Modifying CallerID (CID) in Asterisk based on a trunk &#8211; Thegreydiamond","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/thegreydiamond.de\/blog\/2024\/11\/09\/modifying-callerid-cid-in-asterisk-based-on-a-trunk\/","og_locale":"en_US","og_type":"article","og_title":"Modifying CallerID (CID) in Asterisk based on a trunk &#8211; Thegreydiamond","og_description":"Ever wanted to modify a CallerID string from a specific trunk in Asterisk \/ FreePBX? One simple example of why one would want this is to prepend &#8220;EXT&#8221; to a specific trunk or mark different trunks. We are leveraging Asterisk contexts to &#8220;modify&#8221; the inbound call. You can use and modify the following snippet: This [&hellip;]","og_url":"https:\/\/thegreydiamond.de\/blog\/2024\/11\/09\/modifying-callerid-cid-in-asterisk-based-on-a-trunk\/","og_site_name":"Thegreydiamond","article_published_time":"2024-11-09T20:47:46+00:00","article_modified_time":"2024-11-09T20:49:01+00:00","og_image":[{"width":2058,"height":859,"url":"https:\/\/thegreydiamond.de\/blog\/wp-content\/uploads\/2024\/11\/2024-11-09_21-23-53-8362e024-aff5-40f6-828a-2a6652fd283b.png","type":"image\/png"}],"author":"TheGreydiamond","twitter_card":"summary_large_image","twitter_creator":"@thegreydiamond2","twitter_site":"@thegreydiamond2","twitter_misc":{"Written by":"TheGreydiamond","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/thegreydiamond.de\/blog\/2024\/11\/09\/modifying-callerid-cid-in-asterisk-based-on-a-trunk\/#article","isPartOf":{"@id":"https:\/\/thegreydiamond.de\/blog\/2024\/11\/09\/modifying-callerid-cid-in-asterisk-based-on-a-trunk\/"},"author":{"name":"TheGreydiamond","@id":"https:\/\/thegreydiamond.de\/blog\/#\/schema\/person\/a7ba7a2ca50e4001f3f8f852c079910d"},"headline":"Modifying CallerID (CID) in Asterisk based on a trunk","datePublished":"2024-11-09T20:47:46+00:00","dateModified":"2024-11-09T20:49:01+00:00","mainEntityOfPage":{"@id":"https:\/\/thegreydiamond.de\/blog\/2024\/11\/09\/modifying-callerid-cid-in-asterisk-based-on-a-trunk\/"},"wordCount":172,"commentCount":0,"publisher":{"@id":"https:\/\/thegreydiamond.de\/blog\/#organization"},"image":{"@id":"https:\/\/thegreydiamond.de\/blog\/2024\/11\/09\/modifying-callerid-cid-in-asterisk-based-on-a-trunk\/#primaryimage"},"thumbnailUrl":"https:\/\/thegreydiamond.de\/blog\/wp-content\/uploads\/2024\/11\/2024-11-09_21-23-53-8362e024-aff5-40f6-828a-2a6652fd283b-1024x427.png","keywords":["asterisk","freepbx","pbx","phone","phonesystem"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/thegreydiamond.de\/blog\/2024\/11\/09\/modifying-callerid-cid-in-asterisk-based-on-a-trunk\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/thegreydiamond.de\/blog\/2024\/11\/09\/modifying-callerid-cid-in-asterisk-based-on-a-trunk\/","url":"https:\/\/thegreydiamond.de\/blog\/2024\/11\/09\/modifying-callerid-cid-in-asterisk-based-on-a-trunk\/","name":"Modifying CallerID (CID) in Asterisk based on a trunk &#8211; Thegreydiamond","isPartOf":{"@id":"https:\/\/thegreydiamond.de\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/thegreydiamond.de\/blog\/2024\/11\/09\/modifying-callerid-cid-in-asterisk-based-on-a-trunk\/#primaryimage"},"image":{"@id":"https:\/\/thegreydiamond.de\/blog\/2024\/11\/09\/modifying-callerid-cid-in-asterisk-based-on-a-trunk\/#primaryimage"},"thumbnailUrl":"https:\/\/thegreydiamond.de\/blog\/wp-content\/uploads\/2024\/11\/2024-11-09_21-23-53-8362e024-aff5-40f6-828a-2a6652fd283b-1024x427.png","datePublished":"2024-11-09T20:47:46+00:00","dateModified":"2024-11-09T20:49:01+00:00","breadcrumb":{"@id":"https:\/\/thegreydiamond.de\/blog\/2024\/11\/09\/modifying-callerid-cid-in-asterisk-based-on-a-trunk\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/thegreydiamond.de\/blog\/2024\/11\/09\/modifying-callerid-cid-in-asterisk-based-on-a-trunk\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/thegreydiamond.de\/blog\/2024\/11\/09\/modifying-callerid-cid-in-asterisk-based-on-a-trunk\/#primaryimage","url":"https:\/\/thegreydiamond.de\/blog\/wp-content\/uploads\/2024\/11\/2024-11-09_21-23-53-8362e024-aff5-40f6-828a-2a6652fd283b.png","contentUrl":"https:\/\/thegreydiamond.de\/blog\/wp-content\/uploads\/2024\/11\/2024-11-09_21-23-53-8362e024-aff5-40f6-828a-2a6652fd283b.png","width":2058,"height":859},{"@type":"BreadcrumbList","@id":"https:\/\/thegreydiamond.de\/blog\/2024\/11\/09\/modifying-callerid-cid-in-asterisk-based-on-a-trunk\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/thegreydiamond.de\/blog\/"},{"@type":"ListItem","position":2,"name":"Modifying CallerID (CID) in Asterisk based on a trunk"}]},{"@type":"WebSite","@id":"https:\/\/thegreydiamond.de\/blog\/#website","url":"https:\/\/thegreydiamond.de\/blog\/","name":"Thegreydiamond","description":"TheGreydiamonds Blog","publisher":{"@id":"https:\/\/thegreydiamond.de\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/thegreydiamond.de\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/thegreydiamond.de\/blog\/#organization","name":"TheGreydiamond","url":"https:\/\/thegreydiamond.de\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/thegreydiamond.de\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/thegreydiamond.de\/blog\/wp-content\/uploads\/2021\/09\/logoVersuch2.png","contentUrl":"https:\/\/thegreydiamond.de\/blog\/wp-content\/uploads\/2021\/09\/logoVersuch2.png","width":1000,"height":1000,"caption":"TheGreydiamond"},"image":{"@id":"https:\/\/thegreydiamond.de\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/thegreydiamond2"]},{"@type":"Person","@id":"https:\/\/thegreydiamond.de\/blog\/#\/schema\/person\/a7ba7a2ca50e4001f3f8f852c079910d","name":"TheGreydiamond","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/55ee91221a0c102f9e4fa464a2edf06cc82724dc4f1299c99818b23e45801a75?s=96&d=mm&r=pg","url":"https:\/\/secure.gravatar.com\/avatar\/55ee91221a0c102f9e4fa464a2edf06cc82724dc4f1299c99818b23e45801a75?s=96&d=mm&r=pg","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/55ee91221a0c102f9e4fa464a2edf06cc82724dc4f1299c99818b23e45801a75?s=96&d=mm&r=pg","caption":"TheGreydiamond"}}]}},"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"post-image":false},"uagb_author_info":{"display_name":"TheGreydiamond","author_link":"https:\/\/thegreydiamond.de\/blog\/author\/thegreydiamond\/"},"uagb_comment_info":1,"uagb_excerpt":"Ever wanted to modify a CallerID string from a specific trunk in Asterisk \/ FreePBX? One simple example of why one would want this is to prepend &#8220;EXT&#8221; to a specific trunk or mark different trunks. We are leveraging Asterisk contexts to &#8220;modify&#8221; the inbound call. You can use and modify the following snippet: This&hellip;","_links":{"self":[{"href":"https:\/\/thegreydiamond.de\/blog\/wp-json\/wp\/v2\/posts\/993","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thegreydiamond.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thegreydiamond.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thegreydiamond.de\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/thegreydiamond.de\/blog\/wp-json\/wp\/v2\/comments?post=993"}],"version-history":[{"count":0,"href":"https:\/\/thegreydiamond.de\/blog\/wp-json\/wp\/v2\/posts\/993\/revisions"}],"wp:attachment":[{"href":"https:\/\/thegreydiamond.de\/blog\/wp-json\/wp\/v2\/media?parent=993"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thegreydiamond.de\/blog\/wp-json\/wp\/v2\/categories?post=993"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thegreydiamond.de\/blog\/wp-json\/wp\/v2\/tags?post=993"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}