summaryrefslogtreecommitdiff
path: root/include/asterisk/res_pjsip.h
diff options
context:
space:
mode:
authorAlexei Gradinari <alex2grad@gmail.com>2016-04-07 17:33:49 -0400
committerAlexei Gradinari <alex2grad@gmail.com>2016-05-03 16:38:30 -0500
commita4cfcda0367e282d7ff9d937676c7f83d0ce8521 (patch)
tree55dcac9223abc5b4916df2d642abe84d2246078f /include/asterisk/res_pjsip.h
parentc339d4c6edafcc007c7de345a5f97388f5de84de (diff)
res_pjsip/AMI: add contact.updated event
With the old SIP module AMI sends PeerStatus event on every successfully REGISTER requests, ie, on start registration, update registration and stop registration. With PJSIP AMI sends ContactStatus only when status is changed. Regarding registration: on start registration - Created on stop registration - Removed but on update registration nothing This patch added contact.updated event. ASTERISK-25904 Change-Id: I8fad8aae9305481469c38d2146e1ba3a56d3108f
Diffstat (limited to 'include/asterisk/res_pjsip.h')
-rw-r--r--include/asterisk/res_pjsip.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asterisk/res_pjsip.h b/include/asterisk/res_pjsip.h
index b6684ae56..05f8100cf 100644
--- a/include/asterisk/res_pjsip.h
+++ b/include/asterisk/res_pjsip.h
@@ -263,6 +263,7 @@ enum ast_sip_contact_status_type {
UNKNOWN,
CREATED,
REMOVED,
+ UPDATED,
};
/*!