FreeCalypso > hg > themwi-system-sw
diff sip-manual-out/bye_in.c @ 192:f8a33603288f
sip-manual-out: generate outgoing RTP stream with PCM silence
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 17 Mar 2023 13:45:31 -0800 |
parents | 94b5831c017f |
children |
line wrap: on
line diff
--- a/sip-manual-out/bye_in.c Fri Mar 17 12:07:17 2023 -0800 +++ b/sip-manual-out/bye_in.c Fri Mar 17 13:45:31 2023 -0800 @@ -14,6 +14,7 @@ #include "../libsip/out_msg.h" extern char call_id[]; +extern int rtp_out_enable; static void bye_correct_call(req, ess, sin) @@ -25,6 +26,7 @@ int rc; printf("Received BYE for our call, responding with 200\n"); + rtp_out_enable = 0; start_response_out_msg(&resp, "200 OK"); rc = add_resp_basic_headers(&resp, ess, req->req_method); if (rc < 0) {