[Asterisk-code-review] res/res pjsip/presence xml.c: Add missing 2nd call presence ... (asterisk[certified/13.1])
Richard Mudgett
asteriskteam at digium.com
Thu Jan 21 16:07:11 CST 2016
Richard Mudgett has uploaded a new change for review.
https://gerrit.asterisk.org/2063
Change subject: res/res_pjsip/presence_xml.c: Add missing 2nd call presence state case.
......................................................................
res/res_pjsip/presence_xml.c: Add missing 2nd call presence state case.
ASTERISK-25712 #close
Reported by: Richard Mudgett
Change-Id: I70634df24f8c6c3a2c66c45af61d021e4999253f
---
M res/res_pjsip/presence_xml.c
1 file changed, 7 insertions(+), 1 deletion(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/63/2063/1
diff --git a/res/res_pjsip/presence_xml.c b/res/res_pjsip/presence_xml.c
index 267af54..86fbca9 100644
--- a/res/res_pjsip/presence_xml.c
+++ b/res/res_pjsip/presence_xml.c
@@ -101,6 +101,12 @@
*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 @@
*statestring = "terminated";
*local_state = NOTIFY_OPEN;
*pidfstate = "--";
- *pidfnote ="Ready";
+ *pidfnote = "Ready";
break;
}
}
--
To view, visit https://gerrit.asterisk.org/2063
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I70634df24f8c6c3a2c66c45af61d021e4999253f
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: certified/13.1
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
More information about the asterisk-code-review
mailing list