FreeCalypso > hg > themwi-system-sw
comparison 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 |
comparison
equal
deleted
inserted
replaced
201:d3c99b41fb04 | 202:f3164f732b84 |
---|---|
67 send_bye_req(); | 67 send_bye_req(); |
68 else if (!strcmp(cp, "c") || !strcasecmp(cp, "cancel")) | 68 else if (!strcmp(cp, "c") || !strcasecmp(cp, "cancel")) |
69 send_cancel_req(); | 69 send_cancel_req(); |
70 else if (!strncmp(cp, "tfo-req", 7) && isspace(cp[7])) | 70 else if (!strncmp(cp, "tfo-req", 7) && isspace(cp[7])) |
71 tfo_req_cmd(cp + 8); | 71 tfo_req_cmd(cp + 8); |
72 else if (!strcmp(cp, "tfo-stop")) | |
73 stop_tfo_out(); | |
72 else | 74 else |
73 fprintf(stderr, "error: non-understood stdin command\n"); | 75 fprintf(stderr, "error: non-understood stdin command\n"); |
74 } | 76 } |