we have an issue where we may want to end a call before its fully connected if the customer selects the incorrect link in the ios app say they needed department 1 but pushed department 2 button. we have found that the app errors out when we attempt to send this code:
Here is the relevant code, the code that causes the crash (in this code
self.call is a CJGuestCall object):
- (void)progressHUDTapAction: (id)sender
{
if (self.call.callState == GuestCallStateConnecting) {
[self.call endCall];
[self setCallCanceled:YES];
}
}
thank you for all your assistance