[Asterisk-Dev] Snom Programmable button Mini Howto and ring statepatch

David Hindmarsh dave at lex.net.au
Tue Aug 31 06:21:43 MST 2004


What and where did u find the hints app

> -----Original Message-----
> From: asterisk-dev-bounces at lists.digium.com 
> [mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of 
> David Hinkle
> Sent: Tuesday, 31 August 2004 04:24
> To: asterisk-dev at lists.digium.com; Morten Kuehl; 
> asterisk-users at lists.digium.com
> Subject: [Asterisk-Dev] Snom Programmable button Mini Howto 
> and ring statepatch
> 
> 
> The snom 200 and 220 have five programmable buttons.  Each 
> button has a led that can be used to indecate if an extension 
> is idle, in use, or ringing.  A button pannel for the 220 is 
> also comming out soon that will have 20'ish programmable 
> buttons on board.  
> 
> This is a killer app for any company that has receptionists 
> handle calls, and pretty usefull for everyone else.  
> 
> As a matter of fact, Asterisk already supports phone idle/in 
> use states for the buttons, and at the bottom of this message 
> you will find a patch to enable the ring state.
> 
> Howto:
> 
> 1. Configure the programable buttons as "destination" and 
> enter the extension in the field.  After saving the page the 
> phone will convert the extension to a sip url, which is fine.
> 
> 2. Modify your asterisk dialplan to provide "hints" that map 
> a given extension to a channel.  (In asterisk, a channel can 
> be busy or ringing, but an extension is just a string of 
> numbers that activate one or more applications).  Asterisk 
> seems to provide syntax for allowing more than one channel to 
> be mapped to any particular extension with the hint system, 
> but I did not investigate that.
> 
> Example:
> 
> exten => 200,hint,SIP/RonC
> exten => 200,1,Macro(stdexten,SIP/RonC)
>                                                               
>                                                               
>  exten => 201,hint,SIP/JeanK exten => 201,1,Macro(stdexten,SIP/JeanK)
>                                                               
>                                                               
>  exten => 202,hint,SIP/JeffT exten => 202,1,Macro(stdexten,SIP/JeffT)
> 
> 3.  You must reload the dialplan and then reboot the phone 
> for it's subscriptions to take effect.  After that, you 
> should have working lights.
> 
> 4.  If you want the lights to blink on ringing, apply the 
> following patch to the asterisk code.  
> 
> You can not pick up a call by hitting the blinking button,  I 
> was going to do this work but I decided to just train the 
> receptionists to hit *8
> instead.   I have not studied this extensivly, but to implement it, i
> think it would just require asterisk to have support for sip 
> "replaces" (I don't know if asterisk supports this or not) 
> and the ringing notify needs to go out with a few more 
> fields.  (It seems that the snom phone contacts the sip 
> device listed in one of the ring notify message fields with 
> an invite including a "replaces" header to pick up a call)
> 
> I have also included a sip trace of a snom phone picking up a 
> call placed to another phone using the blinking button in 
> case anybody out there wants to tackle this problem 
> themselves (Sample trace was collected when using snom phones 
> with snom's sip proxy software). 
> Please note that it seems like we must include the extra 
> fields in the ring notify before the snom phone will procude 
> the proper "replaces" invite in order to do a standards 
> compliant call pickup.
> 
> Notes on patch:
> If this patch is not in the proper format for submissions 
> please provide me a link to the asterisk submission policies. 
>  It has been tested here at DerbyTech for about a week on our 
> live phone system.  
> 
> I submit this patch to the asterisk project under the GPL 
> with hope that it will be resubmited to CVS.
> 
> Thankyou,
> David Hinkle
> Sr. Linux Engineer
> DerbyTech
> 
> 
> 
> 
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.745 / Virus Database: 497 - Release Date: 27/08/2004
>  
>       
> 




More information about the asterisk-dev mailing list