]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip: add option to disable ContactStatus event when contact is updated
authorAlexei Gradinari <alex2grad@gmail.com>
Fri, 11 Jan 2019 16:34:08 +0000 (11:34 -0500)
committerAlexei Gradinari <alex2grad@gmail.com>
Fri, 11 Jan 2019 16:52:29 +0000 (11:52 -0500)
commit4a8564cafa9389802308cce36ef007078db0370a
tree917ec615749c6a7e25238e40cc9b7c309bbdd8aa
parent790626ec82134ca91132fc60fe8eabe5e38a0260
res_pjsip: add option to disable ContactStatus event when contact is updated

This patch adds a new PJSIP global configuration option
'send_contact_status_on_update_registration' to be able to have the same
performance benefits as version 16.

By default old behavior, i.e. the ContactStatus event will be sent when a
device refreshes its registration.

Change-Id: I706adf7584e7077eb6bde6d9799ca408bc82ce46
CHANGES
configs/samples/pjsip.conf.sample
contrib/ast-db-manage/config/versions/0838f8db6a61_pjsip_add_send_contact_status_on_update_.py [new file with mode: 0644]
include/asterisk/res_pjsip.h
res/res_pjsip.c
res/res_pjsip/config_global.c
res/res_pjsip/pjsip_options.c