RTP session description. More...

RTP session description.
Definition at line 188 of file res_rtp_asterisk.c.
| struct ast_sockaddr alt_rtp_address |
Alternate remote address information
Definition at line 251 of file res_rtp_asterisk.c.
Referenced by ast_rtp_alt_remote_address_set(), and ast_rtp_read().
Definition at line 258 of file res_rtp_asterisk.c.
Referenced by ast_rtp_new(), and ast_rtp_read().
Who we are Packet bridged to
Definition at line 247 of file res_rtp_asterisk.c.
Referenced by bridge_p2p_rtp_write().
Whether this is a new or existing connection
Definition at line 293 of file res_rtp_asterisk.c.
Referenced by __rtp_recvfrom(), ast_rtp_dtls_get_connection(), ast_rtp_dtls_reset(), and ast_rtp_dtls_set_configuration().
| unsigned int cycles |
Shifted count of sequence number cycles
Definition at line 209 of file res_rtp_asterisk.c.
Referenced by ast_rtcp_write_rr(), ast_rtcp_write_sr(), and ast_rtp_read().
| void* data |
Definition at line 245 of file res_rtp_asterisk.c.
| double drxcore |
The double representation of the first received packet
Definition at line 236 of file res_rtp_asterisk.c.
Referenced by calc_rxstamp().
| unsigned int dtls_failure |
Failure occurred during DTLS negotiation
Definition at line 294 of file res_rtp_asterisk.c.
Referenced by __rtp_recvfrom(), and dtls_info_callback().
Current setup state
Definition at line 289 of file res_rtp_asterisk.c.
Referenced by __rtp_recvfrom(), ast_rtp_dtls_get_setup(), ast_rtp_dtls_set_configuration(), ast_rtp_dtls_set_setup(), and dtls_srtp_setup().
| unsigned int dtmf_duration |
Total duration in samples since the digit start event
Definition at line 223 of file res_rtp_asterisk.c.
Referenced by ast_rtp_read(), and process_dtmf_rfc2833().
| unsigned int dtmf_timeout |
When this timestamp is reached we consider END frame lost and forcibly abort digit
Definition at line 224 of file res_rtp_asterisk.c.
Referenced by ast_rtp_read(), process_dtmf_cisco(), and process_dtmf_rfc2833().
The current DTMF mode of the RTP stream
Definition at line 226 of file res_rtp_asterisk.c.
Referenced by ast_rtp_dtmf_mode_get(), and ast_rtp_dtmf_mode_set().
| struct timeval dtmfmute |
Definition at line 238 of file res_rtp_asterisk.c.
Referenced by ast_rtp_dtmf_begin(), ast_rtp_dtmf_end_with_duration(), ast_rtp_sendcng(), and create_dtmf_frame().
| unsigned int dtmfsamples |
Definition at line 225 of file res_rtp_asterisk.c.
Referenced by create_dtmf_frame(), process_dtmf_cisco(), and process_dtmf_rfc2833().
Definition at line 190 of file res_rtp_asterisk.c.
Referenced by ast_rtcp_read(), ast_rtcp_write_rr(), ast_rtcp_write_sr(), ast_rtp_dtmf_end_with_duration(), ast_rtp_read(), calc_rxstamp(), create_dtmf_frame(), and process_cn_rfc3389().
| unsigned int flags |
Definition at line 233 of file res_rtp_asterisk.c.
Referenced by process_dtmf_cisco().
| struct io_context* io |
Definition at line 244 of file res_rtp_asterisk.c.
| int* ioid |
Definition at line 240 of file res_rtp_asterisk.c.
| unsigned int last_end_timestamp |
The last known timestamp received from an END packet
Definition at line 222 of file res_rtp_asterisk.c.
Referenced by ast_rtp_read(), and process_dtmf_rfc2833().
| unsigned int last_seqno |
The last known sequence number for any DTMF packet
Definition at line 221 of file res_rtp_asterisk.c.
Referenced by ast_rtp_read(), and process_dtmf_rfc2833().
| unsigned int lastdigitts |
Definition at line 228 of file res_rtp_asterisk.c.
Referenced by ast_rtp_dtmf_begin(), ast_rtp_dtmf_continuation(), ast_rtp_dtmf_end_with_duration(), ast_rtp_raw_write(), and ast_rtp_sendcng().
| unsigned int lasteventseqn |
Definition at line 201 of file res_rtp_asterisk.c.
| unsigned int lastitexttimestamp |
Definition at line 199 of file res_rtp_asterisk.c.
Referenced by ast_rtp_read().
| unsigned int lastividtimestamp |
Definition at line 197 of file res_rtp_asterisk.c.
Referenced by ast_rtp_read().
| unsigned int lastotexttimestamp |
Definition at line 200 of file res_rtp_asterisk.c.
Referenced by ast_rtp_raw_write().
| unsigned int lastovidtimestamp |
Definition at line 198 of file res_rtp_asterisk.c.
Referenced by ast_rtp_raw_write().
| struct timeval lastrx |
timeval when we last received a packet
Definition at line 237 of file res_rtp_asterisk.c.
| struct ast_format lastrxformat |
Definition at line 213 of file res_rtp_asterisk.c.
Referenced by ast_rtp_read(), process_cn_rfc3389(), and process_dtmf_cisco().
| int lastrxseqno |
Last received sequence number
Definition at line 202 of file res_rtp_asterisk.c.
Referenced by ast_rtcp_write_rr(), ast_rtcp_write_sr(), and ast_rtp_read().
| unsigned int lastrxts |
Definition at line 196 of file res_rtp_asterisk.c.
Referenced by ast_rtp_read().
| unsigned int lastts |
Definition at line 195 of file res_rtp_asterisk.c.
Referenced by ast_rtcp_write_sr(), ast_rtp_change_source(), ast_rtp_dtmf_begin(), ast_rtp_dtmf_continuation(), ast_rtp_dtmf_end_with_duration(), ast_rtp_raw_write(), and ast_rtp_sendcng().
| struct ast_format lasttxformat |
Definition at line 212 of file res_rtp_asterisk.c.
Referenced by ast_rtp_write().
| char local_fingerprint[160] |
Fingerprint of our certificate
Definition at line 291 of file res_rtp_asterisk.c.
Referenced by ast_rtp_dtls_get_fingerprint(), and ast_rtp_dtls_set_configuration().
| unsigned char rawdata[8192+AST_FRIENDLY_OFFSET] |
Definition at line 191 of file res_rtp_asterisk.c.
Referenced by ast_rtp_read(), and process_cn_rfc3389().
| BIO* read_bio |
Memory buffer for reading
Definition at line 287 of file res_rtp_asterisk.c.
Referenced by __rtp_recvfrom(), and ast_rtp_dtls_set_configuration().
Definition at line 260 of file res_rtp_asterisk.c.
Referenced by ast_rtp_destroy(), ast_rtp_stop(), ast_rtp_write(), red_write(), rtp_red_buffer(), and rtp_red_init().
| unsigned int rekey |
Interval at which to renegotiate and rekey
Definition at line 295 of file res_rtp_asterisk.c.
Referenced by ast_rtp_dtls_set_configuration(), and dtls_srtp_setup().
| int rekeyid |
Scheduled item id for rekeying
Definition at line 296 of file res_rtp_asterisk.c.
Referenced by ast_rtp_new(), ast_rtp_stop(), dtls_srtp_renegotiate(), and dtls_srtp_setup().
| unsigned char remote_fingerprint[EVP_MAX_MD_SIZE] |
Fingerprint of the peer certificate
Definition at line 292 of file res_rtp_asterisk.c.
Referenced by ast_rtp_dtls_set_fingerprint(), and dtls_srtp_setup().
| char resp |
The current digit being processed
Definition at line 220 of file res_rtp_asterisk.c.
Referenced by ast_rtp_read(), create_dtmf_frame(), process_dtmf_cisco(), and process_dtmf_rfc2833().
Definition at line 246 of file res_rtp_asterisk.c.
Referenced by __rtp_recvfrom(), __rtp_sendto(), ast_rtcp_read(), ast_rtcp_write(), ast_rtcp_write_rr(), ast_rtcp_write_sr(), ast_rtp_destroy(), ast_rtp_fd(), ast_rtp_get_stat(), ast_rtp_prop_set(), ast_rtp_raw_write(), ast_rtp_read(), ast_rtp_remote_address_set(), ast_rtp_stop(), and calc_rxstamp().
Definition at line 257 of file res_rtp_asterisk.c.
Referenced by ast_rtp_new(), ast_rtp_read(), and ast_rtp_remote_address_set().
| int rtpholdtimeout |
RTP timeout when on hold (negative or zero means disabled, negative value means temporarily disabled).
Definition at line 216 of file res_rtp_asterisk.c.
| int rtpkeepalive |
Send RTP comfort noice packets for keepalive
Definition at line 217 of file res_rtp_asterisk.c.
| int rtptimeout |
RTP timeout time (negative or zero means disabled, negative value means temporarily disabled)
Definition at line 215 of file res_rtp_asterisk.c.
| struct timeval rxcore |
Definition at line 234 of file res_rtp_asterisk.c.
Referenced by calc_rxstamp().
| unsigned int rxcount |
How many packets have we received?
Definition at line 205 of file res_rtp_asterisk.c.
Referenced by ast_rtcp_write_rr(), ast_rtcp_write_sr(), ast_rtp_get_stat(), and ast_rtp_read().
| double rxjitter |
Interarrival jitter at the moment in seconds
Definition at line 210 of file res_rtp_asterisk.c.
Referenced by ast_rtcp_write_rr(), ast_rtcp_write_sr(), ast_rtp_get_stat(), and calc_rxstamp().
| unsigned int rxoctetcount |
How many octets have we received? should be rxcount *160
Definition at line 206 of file res_rtp_asterisk.c.
| unsigned short rxseqno |
Definition at line 242 of file res_rtp_asterisk.c.
Referenced by ast_rtp_read(), and ast_rtp_remote_address_set().
| unsigned int rxssrc |
Definition at line 194 of file res_rtp_asterisk.c.
Referenced by ast_rtp_read().
| double rxtransit |
Relative transit time for previous packet
Definition at line 211 of file res_rtp_asterisk.c.
Referenced by calc_rxstamp().
| int s |
Definition at line 189 of file res_rtp_asterisk.c.
Referenced by __rtp_recvfrom(), __rtp_sendto(), ast_rtp_destroy(), ast_rtp_fd(), ast_rtp_new(), ast_rtp_qos_set(), ast_rtp_read(), and ast_rtp_stun_request().
| struct ast_sched_context* sched |
Definition at line 243 of file res_rtp_asterisk.c.
Referenced by ast_rtp_destroy(), ast_rtp_new(), ast_rtp_prop_set(), ast_rtp_raw_write(), ast_rtp_read(), ast_rtp_stop(), dtls_srtp_setup(), and rtp_red_init().
| unsigned short seedrxseqno |
What sequence number did they start with?
Definition at line 203 of file res_rtp_asterisk.c.
Referenced by ast_rtcp_write_rr(), ast_rtcp_write_sr(), and ast_rtp_read().
| unsigned int seedrxts |
What RTP timestamp did they start with?
Definition at line 204 of file res_rtp_asterisk.c.
Referenced by calc_rxstamp().
| char send_digit |
digit we are sending
Definition at line 230 of file res_rtp_asterisk.c.
Referenced by ast_rtp_dtmf_begin(), ast_rtp_dtmf_continuation(), and ast_rtp_dtmf_end_with_duration().
| int send_duration |
Definition at line 232 of file res_rtp_asterisk.c.
Referenced by ast_rtp_dtmf_begin(), ast_rtp_dtmf_continuation(), and ast_rtp_dtmf_end_with_duration().
| int send_payload |
Definition at line 231 of file res_rtp_asterisk.c.
Referenced by ast_rtp_dtmf_begin(), ast_rtp_dtmf_continuation(), and ast_rtp_dtmf_end_with_duration().
| char sending_digit |
boolean - are we sending digits
Definition at line 229 of file res_rtp_asterisk.c.
Referenced by ast_rtp_dtmf_begin(), ast_rtp_dtmf_end_with_duration(), ast_rtp_raw_write(), and ast_rtp_read().
| unsigned short seqno |
Sequence number, RFC 3550, page 13.
Definition at line 241 of file res_rtp_asterisk.c.
Referenced by ast_rtp_dtmf_begin(), ast_rtp_dtmf_continuation(), ast_rtp_dtmf_end_with_duration(), ast_rtp_new(), ast_rtp_raw_write(), ast_rtp_remote_address_set(), and ast_rtp_sendcng().
| struct ast_smoother* smoother |
Definition at line 239 of file res_rtp_asterisk.c.
Referenced by ast_rtp_destroy(), and ast_rtp_write().
| SSL* ssl |
SSL session
Definition at line 286 of file res_rtp_asterisk.c.
Referenced by __rtp_recvfrom(), ast_rtp_activate(), ast_rtp_destroy(), ast_rtp_dtls_reset(), ast_rtp_dtls_set_configuration(), ast_rtp_dtls_set_setup(), ast_rtp_dtls_stop(), dtls_srtp_renegotiate(), and dtls_srtp_setup().
| SSL_CTX* ssl_ctx |
SSL context
Definition at line 285 of file res_rtp_asterisk.c.
Referenced by ast_rtp_destroy(), ast_rtp_dtls_active(), ast_rtp_dtls_set_configuration(), ast_rtp_dtls_stop(), and dtls_srtp_setup().
| unsigned int ssrc |
Synchronization source, RFC 3550, page 10.
Definition at line 192 of file res_rtp_asterisk.c.
Referenced by ast_rtcp_write_rr(), ast_rtcp_write_sr(), ast_rtp_change_source(), ast_rtp_dtmf_begin(), ast_rtp_dtmf_continuation(), ast_rtp_dtmf_end_with_duration(), ast_rtp_get_stat(), ast_rtp_new(), ast_rtp_raw_write(), and ast_rtp_sendcng().
| struct ast_sockaddr strict_rtp_address |
Remote address information for strict RTP purposes
Definition at line 250 of file res_rtp_asterisk.c.
Referenced by ast_rtp_read().
Current state that strict RTP protection is in
Definition at line 249 of file res_rtp_asterisk.c.
Referenced by ast_rtp_new(), ast_rtp_read(), and ast_rtp_remote_address_set().
| enum ast_srtp_suite suite |
SRTP crypto suite
Definition at line 290 of file res_rtp_asterisk.c.
Referenced by ast_rtp_dtls_set_configuration(), and dtls_srtp_setup().
| unsigned int themssrc |
Their SSRC
Definition at line 193 of file res_rtp_asterisk.c.
Referenced by ast_rtcp_write_rr(), ast_rtcp_write_sr(), ast_rtp_get_stat(), and ast_rtp_read().
| struct timeval txcore |
Definition at line 235 of file res_rtp_asterisk.c.
Referenced by calc_txstamp().
| unsigned int txcount |
How many packets have we sent?
Definition at line 207 of file res_rtp_asterisk.c.
Referenced by ast_rtcp_write(), ast_rtcp_write_sr(), ast_rtp_get_stat(), and ast_rtp_raw_write().
| unsigned int txoctetcount |
How many octets have we sent? (txcount*160)
Definition at line 208 of file res_rtp_asterisk.c.
Referenced by ast_rtcp_write_sr(), and ast_rtp_raw_write().
| BIO* write_bio |
Memory buffer for writing
Definition at line 288 of file res_rtp_asterisk.c.
Referenced by ast_rtp_dtls_set_configuration(), and dtls_srtp_check_pending().