]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Make a tweak that gets the LEDs on polycom phones to blink when an extension that
authorRussell Bryant <russell@russellbryant.com>
Thu, 13 Mar 2008 21:06:33 +0000 (21:06 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 13 Mar 2008 21:06:33 +0000 (21:06 +0000)
has been subscribed to goes on hold.  Otherwise, they just stay on like it does
when an extension is in use.

(closes issue #11263)
Reported by: russell
Patches:
      notify_hold.rev1.txt uploaded by russell (license 2)
Tested by: russell

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@108530 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 9e3b89760f90e11694bef2c07b834348ab3c49c2..a3ffab986f6b25c6976aebc2e513e673e95bb3c6 100644 (file)
@@ -7185,7 +7185,7 @@ static int transmit_state_notify(struct sip_pvt *p, int state, int full, int tim
                break;
        case AST_EXTENSION_ONHOLD:
                statestring = "confirmed";
-               local_state = NOTIFY_INUSE;
+               local_state = NOTIFY_CLOSED;
                pidfstate = "busy";
                pidfnote = "On Hold";
                break;