Merged revisions 49925 via svnmerge from
authorOlle Johansson <oej@edvina.net>
Mon, 8 Jan 2007 08:57:35 +0000 (08:57 +0000)
committerOlle Johansson <oej@edvina.net>
Mon, 8 Jan 2007 08:57:35 +0000 (08:57 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49925 | oej | 2007-01-08 09:55:03 +0100 (Mon, 08 Jan 2007) | 2 lines

Issue 8735: Terminate state when extension is unavailable for subscription

........

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

channels/chan_sip.c

index f51ea94..ba54690 100644 (file)
@@ -6918,7 +6918,7 @@ static int transmit_state_notify(struct sip_pvt *p, int state, int full, int tim
                pidfnote = "On the phone";
                break;
        case AST_EXTENSION_UNAVAILABLE:
-               statestring = "confirmed";
+               statestring = "terminated";
                local_state = NOTIFY_CLOSED;
                pidfstate = "away";
                pidfnote = "Unavailable";