[Asterisk-Dev] Snom Programmable button Mini Howto and ring
statepatch
Andre Bierwirth
asterisk at kmb.de
Tue Aug 31 15:24:57 MST 2004
The Ringstate patch is very old(2003), i have written the Subscribe
Subsystem and the hints for Asterisk, Mark has applied the Source to CVS,
but three days later, i send the Ringstate Patch to Mark. I didn't know why
the Ringstate Patch was never be applied to CVS?? Digium has a disclaimer
for the Source !!
Regards
Andre
My old Mail to Mark
----SNIP----
If One or more Devices from a extension in Ringing state, the extension is
handeled as Ringing. The "Ringing" state has
priority before the "inuse" state. So a extension that is "inuse" and gets a
second call the new state is "ringing" for the time between the call is
taken or gone.
----SNIP----
----- Original Message -----
From: "David Hinkle" <hinkle at derbyworks.com>
To: <asterisk-dev at lists.digium.com>; "Morten Kuehl" <mck at mck.li>;
<asterisk-users at lists.digium.com>
Sent: Monday, August 30, 2004 8:23 PM
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
>
>
>
>
----------------------------------------------------------------------------
----
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: asterisk-ringingstate.patch
Type: application/octet-stream
Size: 4929 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-dev/attachments/20040831/0c72336e/asterisk-ringingstate.obj
More information about the asterisk-dev
mailing list