mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 11:25:35 +00:00
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
This commit is contained in:
@@ -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(¬e, pidfnote))) {
|
||||
ast_log(LOG_WARNING, "Unable to add note to PIDF presence\n");
|
||||
|
Reference in New Issue
Block a user