FreeCalypso > hg > themwi-system-sw
comparison sip-manual-out/rtp_tx.c @ 212:b3aeacc5722a
sip-manual-out: add pcm-fill command
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 21 May 2023 15:45:52 -0800 |
parents | fbfa72b114e8 |
children |
comparison
equal
deleted
inserted
replaced
211:fbfa72b114e8 | 212:b3aeacc5722a |
---|---|
102 sendto(rtp_udp_fd, &pkt, RTP_PACKET_SIZE_PSTN, 0, | 102 sendto(rtp_udp_fd, &pkt, RTP_PACKET_SIZE_PSTN, 0, |
103 (struct sockaddr *) &rtp_remote_addr, addrlen); | 103 (struct sockaddr *) &rtp_remote_addr, addrlen); |
104 } | 104 } |
105 | 105 |
106 void | 106 void |
107 set_pcm_fill_octet(oct) | |
108 unsigned oct; | |
109 { | |
110 pcm_fill_octet = oct; | |
111 } | |
112 | |
113 void | |
107 send_tfo_req(sig, codec) | 114 send_tfo_req(sig, codec) |
108 unsigned sig, codec; | 115 unsigned sig, codec; |
109 { | 116 { |
110 tfo_req_buf[0] = 0x15A; | 117 tfo_req_buf[0] = 0x15A; |
111 tfo_req_buf[1] = 0x1A9; | 118 tfo_req_buf[1] = 0x1A9; |