Merged revisions 108530 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Thu, 13 Mar 2008 21:06:52 +0000 (21:06 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 13 Mar 2008 21:06:52 +0000 (21:06 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r108530 | russell | 2008-03-13 16:06:33 -0500 (Thu, 13 Mar 2008) | 10 lines

Make a tweak that gets the LEDs on polycom phones to blink when an extension that
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/trunk@108531 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 3d47855..a76ca24 100644 (file)
@@ -8834,7 +8834,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;