jolly submitted this change.
ASCI: Notify talker in the VTY that he cannot leave the call while talking
Related: OS#5364
Change-Id: I497efc5bddc122cd5744de531917aad415ac1654
---
M src/host/layer23/src/mobile/gsm44068_gcc_bcc.c
1 file changed, 12 insertions(+), 0 deletions(-)
diff --git a/src/host/layer23/src/mobile/gsm44068_gcc_bcc.c b/src/host/layer23/src/mobile/gsm44068_gcc_bcc.c
index 65e016d..3a4db3a 100644
--- a/src/host/layer23/src/mobile/gsm44068_gcc_bcc.c
+++ b/src/host/layer23/src/mobile/gsm44068_gcc_bcc.c
@@ -1855,6 +1855,8 @@
trans->gcc.fi->state == VGCS_GCC_ST_U2sl_GROUP_CALL_ACTIVE ||
trans->gcc.fi->state == VGCS_GCC_ST_U5_TERMINATION_REQUESTED) {
LOG_GCC(trans, LOGL_NOTICE, "Cannot leave (abort), in this state.\n");
+ if (trans->gcc.fi->state == VGCS_GCC_ST_U2sl_GROUP_CALL_ACTIVE)
+ vgcs_vty_notify(trans, "Cannot leave while talking\n");
return -EINVAL;
}
To view, visit change 34906. To unsubscribe, or for help writing mail filters, visit settings.