aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels/chan_sip.c')
-rwxr-xr-xchannels/chan_sip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index ac46b9220..61f25dbe0 100755
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -3917,6 +3917,8 @@ static int transmit_state_notify(struct sip_pvt *p, int state, int full)
}
mto = c;
+ add_header(&req, "Event", "presence");
+ add_header(&req, "Subscription-State", "active");
add_header(&req, "Content-Type", "application/xpidf+xml");
if ((state==AST_EXTENSION_UNAVAILABLE) || (state==AST_EXTENSION_BUSY))