summaryrefslogtreecommitdiff
path: root/res/res_pjsip_pidf_body_generator.c
diff options
context:
space:
mode:
authorAlexei Gradinari <alex2grad@gmail.com>2017-06-12 10:23:56 -0400
committerAlexei Gradinari <alex2grad@gmail.com>2017-06-16 11:25:07 -0500
commit7a46309d3df85a893b67a8ab9aa043e0c8f53805 (patch)
treef8941d7ffa5c62db7b02795637be7a46a0730877 /res/res_pjsip_pidf_body_generator.c
parent322a1c322227407b52160a3b11f8648ccd6ac16b (diff)
res_pjsip: New endpoint option "notify_early_inuse_ringing"
This option was added to control whether to notify dialog-info state 'early' or 'confirmed' on Ringing when already INUSE. The value "yes" is useful for some SIP phones (Cisco SPA) to be able to indicate and pick up ringing devices. ASTERISK-26919 #close Change-Id: Ie050bc30023543c7dfb4365c5be3ce58c738c711
Diffstat (limited to 'res/res_pjsip_pidf_body_generator.c')
-rw-r--r--res/res_pjsip_pidf_body_generator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_pjsip_pidf_body_generator.c b/res/res_pjsip_pidf_body_generator.c
index 25f063915..cc10082ad 100644
--- a/res/res_pjsip_pidf_body_generator.c
+++ b/res/res_pjsip_pidf_body_generator.c
@@ -58,7 +58,7 @@ static int pidf_generate_body_content(void *body, void *data)
struct ast_sip_exten_state_data *state_data = data;
ast_sip_presence_exten_state_to_str(state_data->exten_state, &statestring,
- &pidfstate, &pidfnote, &local_state);
+ &pidfstate, &pidfnote, &local_state, 0);
if (!pjpidf_pres_add_note(state_data->pool, pres, pj_cstr(&note, pidfnote))) {
ast_log(LOG_WARNING, "Unable to add note to PIDF presence\n");