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 12:08:27 -0400
commita6e4899612ca71bc3c9180dadea0c0117e8ae462 (patch)
treeb4d153f03e4215e2f07924873acd3d6e6491c222 /res/res_pjsip_pidf_body_generator.c
parent85dff8e26ee9bbe3ce781eefb9b1037e1fb9217a (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 d3be8c131..7d84ded5b 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");