[Home]

Summary:ASTERISK-14757: [patch] Backport of function DEVICE_STATE() for Asterisk 1.4
Reporter:Kai Hoerner (kaii)Labels:
Date Opened:2009-09-02 11:24:48Date Closed:2010-06-02 18:09:00
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Functions/func_devstate
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) func_devstate.c
Description:contains a backport of DEVICE_STATE() for Asterisk 1.4

extended version of backport taken from russelb's 1.4 branch.
my changes include:
- renamed DEVSTATE() to DEVICE_STATE() for dialplan compatibility with 1.6
- implemented CLI command "devstate change" that was missing

****** ADDITIONAL INFORMATION ******

props to russelb, who initially backported func_devstate.c for asterisk 1.6.
props to Ahrimanes, who triggered russelb to backport this thing some late night when russel could not sleep.
Comments:By: Kai Hoerner (kaii) 2009-09-02 11:35:18

i know this will not make it into release, but maybe into russelb's branch which is linked many times on other webpages.

HTH someone

By: Dean Yorke (deano) 2009-09-11 15:37:14

what is involved in a modification to allow for removing the ringing states.  When a device is in a ring group and the call comes in, it lights the ringing state and you no longer know if the person is on the line or not, because it flashes the light.  Thoughts?

Any update on this?



By: Leif Madsen (lmadsen) 2009-09-18 07:53:58

I'm assigning this to russell to deal with. This might be useful to apply to the existing branch: http://svncommunity.digium.com/svn/russell/asterisk-1.4/

By: Digium Subversion (svnbot) 2010-06-02 18:08:59

Repository: russell
Revision: 35

U   asterisk-1.4/func_devstate-1.4/func_devstate.c

------------------------------------------------------------------------
r35 | russell | 2010-06-02 18:08:58 -0500 (Wed, 02 Jun 2010) | 7 lines

Update DEVICE_STATE() backport.

(closes issue ASTERISK-14757)
Reported by: kaii
Patches:
     func_devstate.c uploaded by kaii (license 876)

------------------------------------------------------------------------

http://svn.digium.com/view/russell?view=rev&revision=35