[Asterisk-code-review] res/res pjsip/presence xml.c: Add missing 2nd call presence ... (asterisk[13])
Richard Mudgett
asteriskteam at digium.com
Thu Jan 21 16:04:04 CST 2016
Richard Mudgett has uploaded a new change for review.
https://gerrit.asterisk.org/2061
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/61/2061/1
diff --git a/res/res_pjsip/presence_xml.c b/res/res_pjsip/presence_xml.c
index b98ea02..c991a0d 100644
--- a/res/res_pjsip/presence_xml.c
+++ b/res/res_pjsip/presence_xml.c
@@ -91,6 +91,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;
@@ -121,7 +127,7 @@
*statestring = "terminated";
*local_state = NOTIFY_OPEN;
*pidfstate = "--";
- *pidfnote ="Ready";
+ *pidfnote = "Ready";
break;
}
}
--
To view, visit https://gerrit.asterisk.org/2061
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I70634df24f8c6c3a2c66c45af61d021e4999253f
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
More information about the asterisk-code-review
mailing list