From 5f58a11ff2daa1d462a1d010e827bff3509a622e Mon Sep 17 00:00:00 2001
From: Russell Bryant <russell@russellbryant.com>
Date: Thu, 13 Mar 2008 21:06:52 +0000
Subject: [PATCH] Merged revisions 108530 via svnmerge from
 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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 3d4785548f..a76ca24820 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -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;
-- 
GitLab