mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-15 00:41:02 +00:00
fix SIP presence (bug #3251)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4697 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -3829,6 +3829,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))
|
||||
|
Reference in New Issue
Block a user