{"id":215,"date":"2022-04-07T12:06:57","date_gmt":"2022-04-07T12:06:57","guid":{"rendered":"https:\/\/jazchye.com\/?p=215"},"modified":"2022-04-07T12:06:59","modified_gmt":"2022-04-07T12:06:59","slug":"what-is-zero-config-in-grandstream-ucm-series-and-how-to-configure-zero-config-in-ucm","status":"publish","type":"post","link":"https:\/\/jazchye.com\/index.php\/2022\/04\/07\/what-is-zero-config-in-grandstream-ucm-series-and-how-to-configure-zero-config-in-ucm\/","title":{"rendered":"What is Zero Config in Grandstream UCM series and how to configure Zero Config in UCM"},"content":{"rendered":"\n<p><strong><u>What is Zero Config<\/u><\/strong><\/p>\n\n\n\n<p>The UCM630X provides a Plug and Play mechanism to auto-provision the Grandstream SIP devices in a zero-configuration manner by generating an XML config file and having the phone download it within the LAN area. This provisioning method will ease the deployment of Grandstream SIP devices, especially in a mass deployment scenario.<\/p>\n\n\n\n<p>There are 3 layers for endpoint configuration in Zero Config \u2013<\/p>\n\n\n\n<ol class=\"wp-block-list\" type=\"1\"><li>Global (lowest priority)<\/li><li>Model<\/li><li>End-device (highest priority)<\/li><\/ol>\n\n\n\n<p>Bear in mind that whenever there is an overlapping configuration, UCM will always take the highest configuration.<\/p>\n\n\n\n<p>By default, Zero Config will always be enabled, and 3 types of auto-provisioning will be in use \u2013<\/p>\n\n\n\n<ol class=\"wp-block-list\" type=\"1\"><li>SIP Subscribe (using SIP NOTIFY message to push the config file to the phone)<\/li><li>DHCP OPTION 66 (Only in Route mode. Phone will send a DHCP discover to UCM, and UCM will return with a DHCP OFFER with the zero config path in Option 66. And the phone will download the config file through this path)<\/li><li>mDNS (Phone will send a mDNS query to get the TFTP server address, and UCM will respond with its address. The phone will then send a TFTP request to download the config file from UCM)<\/li><\/ol>\n\n\n\n<p>Since UCM is not a router, I will never encourage anyone to use UCM in route mode. Hence, most of the time, we will be using SIP Subscribe method.<\/p>\n\n\n\n<p><strong><u>How to configure Zero Config<\/u><\/strong><\/p>\n\n\n\n<p>Here is an example of how I configure two parameters through the model template \u2013<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Changing the Web UI language of my GRP2616 from English to Chinese<\/li><li>Changing the Time Format to 24 hours using P-code<\/li><\/ul>\n\n\n\n<ol class=\"wp-block-list\" type=\"1\"><li>Make sure that Enable Zero Config is checked under UCM web UI > Other Features > Zero Config > Zero Config Settings. If any other subnets will need to use zero config, make sure you insert the subnet under Subnet Whitelist.<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"826\" src=\"https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/default_zc-1024x826.png\" alt=\"\" class=\"wp-image-205\" srcset=\"https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/default_zc-1024x826.png 1024w, https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/default_zc-300x242.png 300w, https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/default_zc-768x620.png 768w, https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/default_zc-1536x1240.png 1536w, https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/default_zc.png 1565w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>2. Create a model template for GRP2616 under Zero Config > Model Templates. Make sure you set this template as Active. Click on Save and Options will be shown.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"311\" src=\"https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/model_temp_grp2616-1024x311.png\" alt=\"\" class=\"wp-image-207\" srcset=\"https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/model_temp_grp2616-1024x311.png 1024w, https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/model_temp_grp2616-300x91.png 300w, https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/model_temp_grp2616-768x234.png 768w, https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/model_temp_grp2616.png 1075w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>3. Go to Zero Config, find the GRP2616 and click on Edit. Make sure you move the newly created model template to the right-hand side.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"654\" src=\"https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/set_model_temp-1024x654.png\" alt=\"\" class=\"wp-image-210\" srcset=\"https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/set_model_temp-1024x654.png 1024w, https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/set_model_temp-300x192.png 300w, https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/set_model_temp-768x490.png 768w, https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/set_model_temp.png 1273w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>4. There are several settings in the dropdown list from Options. Since we are changing the language, we navigate to Localization, and set the Language from \u2018English\u2019 to \u2018Simplified Chinese\u2019.<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"774\" src=\"https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/localization_chinese-1024x774.png\" alt=\"\" class=\"wp-image-206\" srcset=\"https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/localization_chinese-1024x774.png 1024w, https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/localization_chinese-300x227.png 300w, https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/localization_chinese-768x580.png 768w, https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/localization_chinese.png 1117w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>5. Now we will change the time format. You can easily use the dropdown list from the Time Format field, like how we do it for Language. But let us try to use P-code. Each option in the phone\u2019s setting bears a P-code (Parameter Code). For example, P122 is the P-code for Time Display Format. And it can be configured to a value of \u20180\u2019, which represents 12 hours; or \u20181\u2019, which represents 24 hours. To find the mapping of the P-code, you can download the <a href=\"https:\/\/content.grandstream.com\/hubfs\/Grandstream_Feb_2021\/Zip%20File\/config-template.zip\" title=\"config template\">config template<\/a> here. Click Add New Field under Custom Parameters, and key in \u2018P122\u2019 as name and \u20181\u2019 under Value. Click on Save.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"653\" height=\"540\" src=\"https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/time_display_format.png\" alt=\"\" class=\"wp-image-211\" srcset=\"https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/time_display_format.png 653w, https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/time_display_format-300x248.png 300w\" sizes=\"auto, (max-width: 653px) 100vw, 653px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"719\" src=\"https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/P122-1024x719.png\" alt=\"\" class=\"wp-image-209\" srcset=\"https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/P122-1024x719.png 1024w, https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/P122-300x211.png 300w, https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/P122-768x540.png 768w, https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/P122.png 1106w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>6. Now go back to the zero-config main page and click on the \u2018Update\u2019 button for that device. Click OK on the popup page. You will see a small popup saying \u2018Sending Notify\u2026 Please wait a while.\u2019<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"272\" src=\"https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/notify-1024x272.png\" alt=\"\" class=\"wp-image-208\" srcset=\"https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/notify-1024x272.png 1024w, https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/notify-300x80.png 300w, https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/notify-768x204.png 768w, https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/notify-1536x408.png 1536w, https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/notify.png 1683w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"397\" src=\"https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/confirm_notify-1024x397.png\" alt=\"\" class=\"wp-image-204\" srcset=\"https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/confirm_notify-1024x397.png 1024w, https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/confirm_notify-300x116.png 300w, https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/confirm_notify-768x298.png 768w, https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/confirm_notify.png 1155w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>7. After a few seconds, the phone should be showing Chinese as the web UI language with a 24-hours time format.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"598\" src=\"https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/updated_webUI-1024x598.jpg\" alt=\"\" class=\"wp-image-212\" srcset=\"https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/updated_webUI-1024x598.jpg 1024w, https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/updated_webUI-300x175.jpg 300w, https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/updated_webUI-768x449.jpg 768w, https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/updated_webUI-1536x897.jpg 1536w, https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/updated_webUI-2048x1197.jpg 2048w, https:\/\/jazchye.com\/wp-content\/uploads\/2022\/04\/updated_webUI-1920x1122.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>What is Zero Config The UCM630X provides a Plug and Play mechanism to auto-provision the Grandstream SIP devices in a zero-configuration manner by generating an&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-215","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/jazchye.com\/index.php\/wp-json\/wp\/v2\/posts\/215","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jazchye.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jazchye.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jazchye.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jazchye.com\/index.php\/wp-json\/wp\/v2\/comments?post=215"}],"version-history":[{"count":1,"href":"https:\/\/jazchye.com\/index.php\/wp-json\/wp\/v2\/posts\/215\/revisions"}],"predecessor-version":[{"id":216,"href":"https:\/\/jazchye.com\/index.php\/wp-json\/wp\/v2\/posts\/215\/revisions\/216"}],"wp:attachment":[{"href":"https:\/\/jazchye.com\/index.php\/wp-json\/wp\/v2\/media?parent=215"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jazchye.com\/index.php\/wp-json\/wp\/v2\/categories?post=215"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jazchye.com\/index.php\/wp-json\/wp\/v2\/tags?post=215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}