Skip to content
Snippets Groups Projects
Commit 826ff1d7 authored by Richard Mudgett's avatar Richard Mudgett
Browse files

res/res_pjsip/presence_xml.c: Add missing 2nd call presence state case.

ASTERISK-25712 #close
Reported by: Richard Mudgett

Change-Id: I70634df24f8c6c3a2c66c45af61d021e4999253f
parent 6e18a60a
No related branches found
No related tags found
No related merge requests found
......@@ -101,6 +101,12 @@ void ast_sip_presence_exten_state_to_str(int state, char **statestring, char **p
*pidfstate = "busy";
*pidfnote = "Ringing";
break;
case (AST_EXTENSION_INUSE | AST_EXTENSION_RINGING):
*statestring = "confirmed";
*local_state = NOTIFY_INUSE;
*pidfstate = "busy";
*pidfnote = "Ringing";
break;
case AST_EXTENSION_INUSE:
*statestring = "confirmed";
*local_state = NOTIFY_INUSE;
......@@ -131,7 +137,7 @@ void ast_sip_presence_exten_state_to_str(int state, char **statestring, char **p
*statestring = "terminated";
*local_state = NOTIFY_OPEN;
*pidfstate = "--";
*pidfnote ="Ready";
*pidfnote = "Ready";
break;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment