diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-01-05 23:18:00 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-01-05 23:18:00 +0000 |
commit | 8bcd10628646160c12248e05b15d0762991c8a56 (patch) | |
tree | 3efb55019738c15c24ff15235418de92ec123e78 /channels | |
parent | aa8687a3adff88b5f7367a25e5dd9ed125381419 (diff) |
Fix compliance of SIP presence (bug #3251)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4686 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rwxr-xr-x | channels/chan_sip.c | 2 |
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)) |