mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 11:25:35 +00:00
res_pjsip: add option to enable ContactStatus event when contact is updated
The commit I2f97ebfa79969a36a97bb7b9afd5b6268cf1a07d removed sending out the ContactStatus AMI event when a contact is updated. Thist change broke things which rely on old behavior. This patch adds a new PJSIP global configuration option 'send_contact_status_on_update_registration' to be able to preserve old ContactStatus behavior. By default new behavior, i.e. the ContactStatus event will not be sent when a device refreshes its registration. Change-Id: I706adf7584e7077eb6bde6d9799ca408bc82ce46
This commit is contained in:
@@ -1145,6 +1145,11 @@
|
||||
; from incoming SIP URI user fields are always truncated at the
|
||||
; first semicolon.
|
||||
|
||||
;send_contact_status_on_update_registration=no ; Enable sending AMI ContactStatus
|
||||
; event when a device refreshes its registration
|
||||
; (default: "no")
|
||||
|
||||
|
||||
; MODULE PROVIDING BELOW SECTION(S): res_pjsip_acl
|
||||
;==========================ACL SECTION OPTIONS=========================
|
||||
;[acl]
|
||||
|
Reference in New Issue
Block a user