diff sip-manual-out/user_cmd.c @ 202:f3164f732b84

sip-manual-out: add tfo-stop command
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 02 Apr 2023 18:05:30 -0800
parents a3d71489672f
children b3aeacc5722a
line wrap: on
line diff
--- a/sip-manual-out/user_cmd.c	Sun Apr 02 18:01:34 2023 -0800
+++ b/sip-manual-out/user_cmd.c	Sun Apr 02 18:05:30 2023 -0800
@@ -69,6 +69,8 @@
 		send_cancel_req();
 	else if (!strncmp(cp, "tfo-req", 7) && isspace(cp[7]))
 		tfo_req_cmd(cp + 8);
+	else if (!strcmp(cp, "tfo-stop"))
+		stop_tfo_out();
 	else
 		fprintf(stderr, "error: non-understood stdin command\n");
 }