[Home]

Summary:ASTERISK-11614: app_page devicestate AST_DEVICE_UNKNOWN
Reporter:Mitch Sharp (bluecrow76)Labels:
Date Opened:2008-03-11 14:49:59Date Closed:2008-03-11 15:33:07
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Applications/app_page
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) asterisk-svn-app_page.c.devicestate_unknown.diff
Description:The app_page devicestate handling feature currently only allows calling devices that report a devicestate.  If you want to use the new Page s option to have                    the Page application check device states, if a device reports AST_DEVICE_UNKNOWN because it does not provide device state data, that channel cannot be called.  For instance, if you are calling X SIP phones and the OSS channel for an overhead page, the overhead speaker will never be called because it does not report a device state.

This patch allows channels that report AST_DEVICE_UNKNOWN to still be dialed instead of excluded from the page list.  Only devices that support device states will be excluded when they report something other than AST_DEVICE_NOT_INUSE.

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

This has been tested in trunk, 1.6.0-beta5 and 1.4.18.  The uploaded patch is for trunk.
Comments:By: Digium Subversion (svnbot) 2008-03-11 15:32:13

Repository: asterisk
Revision: 107710

U   trunk/apps/app_page.c

------------------------------------------------------------------------
r107710 | file | 2008-03-11 15:32:11 -0500 (Tue, 11 Mar 2008) | 6 lines

Dial a device even if it's state is unknown.
(closes issue ASTERISK-11614)
Reported by: bluecrow76
Patches:
     asterisk-svn-app_page.c.devicestate_unknown.diff uploaded by bluecrow76 (license 270)

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

http://svn.digium.com/view/asterisk?view=rev&revision=107710

By: Digium Subversion (svnbot) 2008-03-11 15:33:07

Repository: asterisk
Revision: 107711

_U  branches/1.6.0/
U   branches/1.6.0/apps/app_page.c

------------------------------------------------------------------------
r107711 | file | 2008-03-11 15:33:07 -0500 (Tue, 11 Mar 2008) | 14 lines

Merged revisions 107710 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r107710 | file | 2008-03-11 17:36:14 -0300 (Tue, 11 Mar 2008) | 6 lines

Dial a device even if it's state is unknown.
(closes issue ASTERISK-11614)
Reported by: bluecrow76
Patches:
     asterisk-svn-app_page.c.devicestate_unknown.diff uploaded by bluecrow76 (license 270)

........

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

http://svn.digium.com/view/asterisk?view=rev&revision=107711