{"id":483,"date":"2011-02-15T23:49:28","date_gmt":"2011-02-16T07:49:28","guid":{"rendered":"http:\/\/www.adrianandgenese.com\/blogger\/?p=483"},"modified":"2013-05-10T22:57:51","modified_gmt":"2013-05-11T06:57:51","slug":"how-to-configure-blf-with-a-linksys-spa942-and-asterisk-1-4","status":"publish","type":"post","link":"https:\/\/www.adrianandgenese.com\/blogger\/2011\/02\/15\/how-to-configure-blf-with-a-linksys-spa942-and-asterisk-1-4\/","title":{"rendered":"How to configure BLF with a Linksys SPA942 and Asterisk 1.4"},"content":{"rendered":"<p>Here is my guide for setting up BLF (Busy Lamp Field) on asterisk 1.4 using a linksys SPA-942 voip phone. I must say that trying to find the right information took a little bit of time&#8230;In fact it took me about 2 hours to successfully set up the unused lines on my <a href=\"http:\/\/www.amazon.com\/gp\/product\/B000F37TWE\/ref=as_li_ss_tl?ie=UTF8&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B000F37TWE&amp;linkCode=as2&amp;tag=realjuic-20\" target=\"_blank\">SPA942<\/a> to be used as indicators because I could not find enough detailed information in one location. Hence this post.<\/p>\n<div id=\"attachment_530\" style=\"width: 210px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.adrianandgenese.com\/blogger\/wp-content\/uploads\/2011\/02\/linksys_spa942_big-e1297894012781.gif\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-530\" class=\"size-full wp-image-530\" title=\"Linksys SPA-942\" alt=\"Linksys SPA-942\" src=\"https:\/\/i0.wp.com\/www.adrianandgenese.com\/blogger\/wp-content\/uploads\/2011\/02\/linksys_spa942_big-e1297894012781.gif?resize=200%2C184&#038;ssl=1\" width=\"200\" height=\"184\" data-recalc-dims=\"1\" \/><\/a><p id=\"caption-attachment-530\" class=\"wp-caption-text\">Linksys SPA-942<\/p><\/div>\n<p>Asterisk does not easily work with shared line appearances unless the phones are made specifically for it. However, you should be able to get BLF working instead of SLA and have almost the same functionality. Below is what you will need to do to enable BLF on asterisk 1.4 using a linksys spa942 (this should also work on any Linksys\/Sipura Phone that supports BLF and extended functions).<\/p>\n<p>Edit your SIP.CONF file and enable these features (these MUST be enabled for hints to work correctly):<\/p>\n<p style=\"padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;\">allowsubscribe=yes<br \/>\nlimitonpeers=yes<br \/>\nnotifyringing=yes<br \/>\nnotifyhold=yes<\/p>\n<p>In your SIP.CONF\/USERS.CONF file, edit your users to contain the following code:<\/p>\n<p style=\"padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;\">qualify=yes (im not sure this is necessary as I tested it without this setting and BLF still functioned correctly)<br \/>\ncall-limit=100 (this can be anything, but 100 will keep you from denying any\u00c2\u00a0new calls)<\/p>\n<p>In your EXTENSIONS.CONF file, you just have to enable hints by putting this in your default context (change the extension numbers with your extension numbers):<\/p>\n<p style=\"padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;\">exten =&gt; 1000,hint,SIP\/1000<br \/>\nexten =&gt; 2000,hint,SIP\/2000<br \/>\nexten =&gt; 3000,hint,SIP\/3000<br \/>\nexten =&gt; 4000,hint,SIP\/4000<\/p>\n<p>This enables BLF on your asterisk server. In order to configure your linksys spa-942, all\u00c2\u00a0you have\u00c2\u00a0to do is enter a few settings on the phone itself. But you must be sure you are currently running the newest version of the phones firmware (it is currently at <span style=\"color: darkblue;\">6.1.5(a)), <\/span>BLF will not work without first running the newest firmware release! After you have confirmed this, use your web browser and enter the ip adrress of your phone.\u00c2\u00a0Click on\u00c2\u00a0<em>admin login<\/em>\u00c2\u00a0and then\u00c2\u00a0on <em>advanced<\/em>.<\/p>\n<p>Under the <em>Phone<\/em> tab type the following:<\/p>\n<p style=\"padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;\">Short Name: Anything you want to show up next to the LED to remind you which line it is you are monitoring.<br \/>\nExtended Function: fnc=blf+sd+cp;sub=5000@$PROXY;ext=5000@$PROXY<\/p>\n<div id=\"attachment_484\" style=\"width: 738px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.adrianandgenese.com\/blogger\/wp-content\/uploads\/2011\/02\/blf.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-484\" class=\"size-full wp-image-484\" title=\"asterisk 1.4 BLF\" alt=\"SPA942 settings for blf\" src=\"https:\/\/i0.wp.com\/www.adrianandgenese.com\/blogger\/wp-content\/uploads\/2011\/02\/blf.jpg?resize=625%2C150&#038;ssl=1\" width=\"625\" height=\"150\" srcset=\"https:\/\/i0.wp.com\/www.adrianandgenese.com\/blogger\/wp-content\/uploads\/2011\/02\/blf.jpg?w=728&amp;ssl=1 728w, https:\/\/i0.wp.com\/www.adrianandgenese.com\/blogger\/wp-content\/uploads\/2011\/02\/blf.jpg?resize=300%2C72&amp;ssl=1 300w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" data-recalc-dims=\"1\" \/><\/a><p id=\"caption-attachment-484\" class=\"wp-caption-text\">Just enter the line under extended function<\/p><\/div>\n<p>Above, I have two extensions; 5000 and 6000 which I am monitoring which show up on my phone\u00c2\u00a0line buttons\u00c2\u00a02 and 3. After these settings are entered, scroll down to Line Key Extended Function and enter these settings:<\/p>\n<div id=\"attachment_485\" style=\"width: 757px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.adrianandgenese.com\/blogger\/wp-content\/uploads\/2011\/02\/asteriskblf.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-485\" class=\"size-full wp-image-485\" title=\"asteriskblf\" alt=\"Line key extended functions\" src=\"https:\/\/i0.wp.com\/www.adrianandgenese.com\/blogger\/wp-content\/uploads\/2011\/02\/asteriskblf.jpg?resize=625%2C74&#038;ssl=1\" width=\"625\" height=\"74\" srcset=\"https:\/\/i0.wp.com\/www.adrianandgenese.com\/blogger\/wp-content\/uploads\/2011\/02\/asteriskblf.jpg?w=747&amp;ssl=1 747w, https:\/\/i0.wp.com\/www.adrianandgenese.com\/blogger\/wp-content\/uploads\/2011\/02\/asteriskblf.jpg?resize=300%2C35&amp;ssl=1 300w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" data-recalc-dims=\"1\" \/><\/a><p id=\"caption-attachment-485\" class=\"wp-caption-text\">Line Key Extended Functions<\/p><\/div>\n<p style=\"padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;\">Server Type: Asterisk (*this is important!).<\/p>\n<p>You do not have to enable line keys in the <em>Ext.<\/em> tabs \u00c2\u00a0for this to work. Just click &#8216;submit all&#8217; and wait for the phone to reboot. Youre done! Hopefully this will save someone lots of time searching google for consolidated information! If youre looking for more SPA-942&#8217;s you can get them for a decent price on ebay or <a href=\"http:\/\/www.amazon.com\/gp\/product\/B000F37TWE\/ref=as_li_ss_tl?ie=UTF8&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B000F37TWE&amp;linkCode=as2&amp;tag=realjuic-20\" target=\"_blank\">here<\/a>.<\/p>\n<div id=\"wp_fb_like_button\" style=\"margin:5px 0;float:none;height:100px;\"><script src=\"https:\/\/connect.facebook.net\/en_US\/all.js#xfbml=1\"><\/script><fb:like href=\"https:\/\/www.adrianandgenese.com\/blogger\/2011\/02\/15\/how-to-configure-blf-with-a-linksys-spa942-and-asterisk-1-4\/\" send=\"true\" layout=\"standard\" width=\"450\" show_faces=\"true\" font=\"arial\" action=\"like\" colorscheme=\"light\"><\/fb:like><\/div>","protected":false},"excerpt":{"rendered":"<p>How to setup BLF with a linksys spa942 and Asterisk 1.4 instead of using SLA<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":[]},"categories":[25,20],"tags":[100,61,99,96,64,101,103,98,102],"class_list":["post-483","post","type-post","status-publish","format-standard","hentry","category-computers","category-hack","tag-1-4","tag-asterisk","tag-blf","tag-extensions-conf","tag-linksys","tag-sip-conf","tag-spa-942","tag-spa942","tag-users-conf"],"jetpack_publicize_connections":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/preRH-7N","_links":{"self":[{"href":"https:\/\/www.adrianandgenese.com\/blogger\/wp-json\/wp\/v2\/posts\/483","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.adrianandgenese.com\/blogger\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.adrianandgenese.com\/blogger\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.adrianandgenese.com\/blogger\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.adrianandgenese.com\/blogger\/wp-json\/wp\/v2\/comments?post=483"}],"version-history":[{"count":21,"href":"https:\/\/www.adrianandgenese.com\/blogger\/wp-json\/wp\/v2\/posts\/483\/revisions"}],"predecessor-version":[{"id":897,"href":"https:\/\/www.adrianandgenese.com\/blogger\/wp-json\/wp\/v2\/posts\/483\/revisions\/897"}],"wp:attachment":[{"href":"https:\/\/www.adrianandgenese.com\/blogger\/wp-json\/wp\/v2\/media?parent=483"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.adrianandgenese.com\/blogger\/wp-json\/wp\/v2\/categories?post=483"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.adrianandgenese.com\/blogger\/wp-json\/wp\/v2\/tags?post=483"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}