{"id":2442,"date":"2020-03-17T12:27:40","date_gmt":"2020-03-17T12:27:40","guid":{"rendered":"https:\/\/www.cyber-cottage.eu\/?p=2442"},"modified":"2021-01-19T15:57:18","modified_gmt":"2021-01-19T15:57:18","slug":"disabling-router-sip-alg","status":"publish","type":"post","link":"https:\/\/www.cyber-cottage.co.uk\/?p=2442","title":{"rendered":"Disabling Router SIP ALG"},"content":{"rendered":"\n<p>With many companies asking their employees to work from home, a common problem when trying to use a sip phone on a home network is the SIP &#8216;helper&#8217; or ALG, Here is some advice on how to disable it on the more common routers that you may encounter.<\/p>\n\n\n\n<p><strong>SIP ALG<\/strong>&nbsp;(Application Layer Gateway) modifies VoIP traffic with the aim of solving NAT and firewall related problems. SIP ALG does this by inspecting SIP packets and modifying SIP Header and SDP data.<\/p>\n\n\n\n<p>Unfortunately, SIP ALG was poorly implemented in a lot of cases, which has lead to it causing more issues than it corrects and due to this, we believe that, in general, it is best disabled.<br><br>Note &#8211; Many routers will re-enable SIP ALG after being powered off and on, or sometimes after a firmware update, therefore if it has been disabled in the past, and you know that the router was recently updated and powered off and on again, then it is always a good idea to log in to the router and double check the setting.<\/p>\n\n\n\n<p><strong>Virgin SuperHub:&nbsp;<\/strong>SIP ALG cannot be disabled in the settings of SuperHubs. Please click&nbsp;<a href=\"https:\/\/teamhelp.sipgate.co.uk\/hc\/en-gb\/articles\/208202975-Virgin-SuperHubs\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>&nbsp;for advice troubleshooting issues with SuperHubs.&nbsp;<\/p>\n\n\n\n<p><strong>BT<\/strong>:&nbsp;SIP ALG cannot be disabled in the settings of BT HomeHubs, but can be disable with BT Business Hub versions 3 and higher:<\/p>\n\n\n\n<p><a href=\"http:\/\/btbusiness.custhelp.com\/app\/answers\/detail\/a_id\/34573\/~\/what-is-sip-alg-and-how-can-i-stop-it-causing-problems-on-cloud-voice%3F\" target=\"_blank\" rel=\"noreferrer noopener\">Disabling a BT Business Hub 5&#8217;s SIP ALG<\/a><\/p>\n\n\n\n<p><strong>Fritz!Box:<\/strong>&nbsp;SIP ALG&nbsp;can&#8217;t be disabled.<\/p>\n\n\n\n<p><strong>DrayTek<\/strong>&nbsp;<strong>routers<\/strong>:&nbsp;Log in to your DrayTek via Telnet using an SSH client such as Putty:&nbsp;<a href=\"http:\/\/www.putty.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/www.putty.org\/<\/a><\/p>\n\n\n\n<p>Check if SIP ALG is Enabled or Disabled:<\/p>\n\n\n\n<p>To check if SIP ALG is Enabled or Disabled enter this command: sys sip_alg ?<\/p>\n\n\n\n<p>If SIP ALG is disabled a &#8221; 0 &#8221; result will be returned.&nbsp; If SIP ALG is enabled the result will be &#8221; 1 &#8220;.<\/p>\n\n\n\n<p>Disabling SIP ALG:<\/p>\n\n\n\n<p>To Disable SIP ALG enter the following:<\/p>\n\n\n\n<p>sys sip_alg 0<br>sys commit<br>sys reboot<\/p>\n\n\n\n<p>The router will restart and save your changes.<\/p>\n\n\n\n<p>Click&nbsp;<a href=\"http:\/\/www.3cx.com\/blog\/docs\/draytek-firewall-voip\/\">here<\/a>&nbsp;for additional general information about DrayTek Firewall setup.&nbsp;<\/p>\n\n\n\n<p><strong>TP-Link<\/strong>&nbsp;routers:&nbsp;<a href=\"http:\/\/www.tp-link.com.au\/article\/?faqid=343\" target=\"_blank\" rel=\"noreferrer noopener\">How to Disable SIP ALG on&nbsp;<strong>TP-Link<\/strong>&nbsp;ADSL modem router<\/a><\/p>\n\n\n\n<p><strong>Linksys<\/strong>: Check for a &#8216;SIP ALG&#8217; option, in the &#8216;Administration&#8217; tab under &#8216;Advanced&#8217;.&nbsp;<\/p>\n\n\n\n<p>May also need to disable SPI Firewall.&nbsp;<\/p>\n\n\n\n<p><strong>Microtik<\/strong>: Disable &#8216;<a href=\"http:\/\/wiki.mikrotik.com\/wiki\/Manual:IP\/Services\" target=\"_blank\" rel=\"noreferrer noopener\">SIP Helper<\/a>&#8216;.&nbsp;<\/p>\n\n\n\n<p><strong>Netgear<\/strong>: Look for a &#8216;SIP ALG&#8217; checkbox in the &#8216;WAN&#8217; settings.<\/p>\n\n\n\n<p>Port Scan and DoS Protection should also be disabled.<\/p>\n\n\n\n<p>Disable STUN in VoIP phone&#8217;s settings.&nbsp;<\/p>\n\n\n\n<p><strong>D-Link<\/strong>: In your router&#8217;s &#8216;Advanced&#8217; settings &#8211;&gt; &#8216;Application Level Gateway (ALG) Configuration&#8217; uncheck the &#8216;SIP&#8217; option.&nbsp;<\/p>\n\n\n\n<p><strong>Huawei:&nbsp;<\/strong>Many routers support SIP ALG (usually found in the &#8216;Security&#8217; menu).&nbsp;<\/p>\n\n\n\n<p><strong>SonicWALL Firewall<\/strong>: Under the VoIP tab, the option &#8216;Enable Consistent NAT&#8217; should be enabled and&nbsp;&#8216;Enable SIP Transformations&#8217; unchecked.&nbsp;&nbsp;<\/p>\n\n\n\n<p><strong>Thomson<\/strong>:&nbsp;How to Disable SIP ALG on a Thomson Router <a href=\"https:\/\/www.cyber-cottage.eu\/?p=2462\">HERE<\/a><\/p>\n\n\n\n<p>Test with STUN disabled in your VoIP phone&#8217;s settings.<\/p>\n\n\n\n<p><strong>Adtran Netvanta:<\/strong>\u00a0Disable SIP ALG under &#8216;Firewall\/ACLs&#8217; &#8211;> &#8216;ALG Settings&#8217;.<\/p>\n\n\n\n<p>For <strong>Technicolor TG588V<\/strong> routers <a rel=\"noreferrer noopener\" href=\"https:\/\/www.cyber-cottage.co.uk\/wp-content\/uploads\/2021\/01\/TG588v_v2_Disable_SIP.pdf\" target=\"_blank\">see this document<\/a> for step by step details<\/p>\n\n\n\n<p>Even if there isn&#8217;t a SIP ALG option in your router&#8217;s settings, it may still be implemented. TelNet commands must be used to disable SIP ALG with&nbsp;<strong>Technicolor<\/strong>,&nbsp;<strong>Thomson<\/strong>,&nbsp;<strong>SpeedTouch<\/strong>, some&nbsp;<strong>Draytek<\/strong>&nbsp;and some&nbsp;<strong>ZyXEL<\/strong>&nbsp;routers.&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>With many companies asking their employees to work from home, a common problem when trying to use a sip phone on a home network is the SIP &#8216;helper&#8217; or ALG, Here is some advice on how to disable it on the more common routers that you may encounter. SIP ALG&nbsp;(Application Layer Gateway) modifies VoIP traffic [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1573,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"content-type":"","advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"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,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[88,188,104,11,187],"tags":[23,182,40,185,69,76],"class_list":["post-2442","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-astsupport","category-covid19","category-freepbx","category-knowledge","category-remote-working","tag-asterisk","tag-covid-19","tag-freepbx","tag-remote-working","tag-sip","tag-voip"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.cyber-cottage.co.uk\/wp-content\/uploads\/2016\/04\/url-pop.png?fit=117%2C125&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p5daZy-Do","jetpack_sharing_enabled":true,"jetpack_likes_enabled":false,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/www.cyber-cottage.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/2442","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cyber-cottage.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cyber-cottage.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cyber-cottage.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cyber-cottage.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2442"}],"version-history":[{"count":4,"href":"https:\/\/www.cyber-cottage.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/2442\/revisions"}],"predecessor-version":[{"id":2734,"href":"https:\/\/www.cyber-cottage.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/2442\/revisions\/2734"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cyber-cottage.co.uk\/index.php?rest_route=\/wp\/v2\/media\/1573"}],"wp:attachment":[{"href":"https:\/\/www.cyber-cottage.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2442"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cyber-cottage.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2442"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cyber-cottage.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}