-
- Downloads
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
Showing
- CHANGES 9 additions, 0 deletionsCHANGES
- configs/samples/pjsip.conf.sample 5 additions, 0 deletionsconfigs/samples/pjsip.conf.sample
- contrib/ast-db-manage/config/versions/0838f8db6a61_pjsip_add_send_contact_status_on_update_.py 39 additions, 0 deletions.../0838f8db6a61_pjsip_add_send_contact_status_on_update_.py
- include/asterisk/res_pjsip.h 9 additions, 0 deletionsinclude/asterisk/res_pjsip.h
- res/res_pjsip.c 3 additions, 0 deletionsres/res_pjsip.c
- res/res_pjsip/config_global.c 21 additions, 0 deletionsres/res_pjsip/config_global.c
- res/res_pjsip/pjsip_options.c 54 additions, 1 deletionres/res_pjsip/pjsip_options.c
Loading
Please register or sign in to comment