]> git.ipfire.org Git - thirdparty/asterisk.git/commit
CCSS generic agent with POTS and ISDN phones fail caller busy call-back test.
authorRichard Mudgett <rmudgett@digium.com>
Thu, 19 May 2011 16:50:48 +0000 (16:50 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 19 May 2011 16:50:48 +0000 (16:50 +0000)
commit8a81e984597bde8abbfd9bec4f24008119ac616c
tree865f26bb3d3b7fb768872cd3bbd75bd12303b8ef
parent35a3aa4601bbcf06795e267c8687884f9b185520
CCSS generic agent with POTS and ISDN phones fail caller busy call-back test.

If the following is true after a CCSS activation:
* The generic agent is for an analog phone or ISDN phone.  (Caller party)
* The called party becomes available.
* The caller party is not available.

When the caller party becomes available, the caller is not alerted to the
called party being available.  The generic agent still thinks the caller
is busy.

* Fixed the generic agent device state event subscription to look for all
device states that are considered available.

* Encapsulated the device state test for CCSS generic device available in
cc_generic_is_device_available().  Made the generic agent and monitor use
the new function instead of the manually coded inline equivalent.

JIRA AST-559
JIRA SWP-3462

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@319758 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/ccss.c