jolly has submitted this change. ( https://gerrit.osmocom.org/c/osmocom-bb/+/34906?usp=email )
Change subject: ASCI: Notify talker in the VTY that he cannot leave the call while talking ......................................................................
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(-)
Approvals: laforge: Looks good to me, but someone else must approve Jenkins Builder: Verified pespin: Looks good to me, approved
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; }