summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Jordan <mjordan@digium.com>2016-01-21 17:25:26 -0600
committerGerrit Code Review <gerrit2@gerrit.digium.api>2016-01-21 17:25:26 -0600
commit6cdb85ed81c64ac8097d14a4189ba480da8d4c04 (patch)
treea9879b2eefcb9754acacdcbcd8d653336d4a62a8
parent1943561691827dbb6027482c9b55eab1a2e89555 (diff)
parent04078f43b5e2970455307e22010ecd873a70e061 (diff)
Merge "res/res_pjsip/presence_xml.c: Add missing 2nd call presence state case."
-rw-r--r--res/res_pjsip/presence_xml.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/res/res_pjsip/presence_xml.c b/res/res_pjsip/presence_xml.c
index b98ea0237..c991a0d68 100644
--- a/res/res_pjsip/presence_xml.c
+++ b/res/res_pjsip/presence_xml.c
@@ -91,6 +91,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;
@@ -121,7 +127,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;
}
}