Asterisk - The Open Source Telephony Project  21.4.1
Deprecated List
globalScope> Global _XXX_AST_CONTROL_T38
This is no longer supported. Use AST_CONTROL_T38_PARAMETERS instead.
globalScope> Global ast_gethostbyname (const char *host, struct ast_hostent *hp)
Replaced by ast_sockaddr_resolve() and ast_sockaddr_resolve_first_af()
Note
To be removed in Asterisk 23.
globalScope> Global ast_netsock_set_qos (int sockfd, int tos, int cos, const char *desc)
Use ast_seq_qos in netsock2.h which properly handles IPv4 and IPv6 sockets, instead.
globalScope> Global ast_odbc_request_obj2 (name, check)
globalScope> Global ast_sched_del (struct ast_sched_context *con, int id) attribute_warn_unused_result
in favor of ast_sched_del_nonrunning which checks if the event is running and rescheduled
globalScope> Global ast_sched_del (struct ast_sched_context *con, int id) attribute_warn_unused_result
in favor of ast_sched_del_nonrunning which checks if the event is running and rescheduled
globalScope> Global ast_sched_replace (int old_id, struct ast_sched_context *con, int when, ast_sched_cb callback, const void *data) attribute_warn_unused_result
You should use the AST_SCHED_REPLACE() macro instead.
globalScope> Global ast_sched_replace (int old_id, struct ast_sched_context *con, int when, ast_sched_cb callback, const void *data) attribute_warn_unused_result
You should use the AST_SCHED_REPLACE() macro instead.
globalScope> Global ast_sched_replace_variable (int old_id, struct ast_sched_context *con, int when, ast_sched_cb callback, const void *data, int variable) attribute_warn_unused_result
You should use the AST_SCHED_REPLACE_VARIABLE() macro instead.
globalScope> Global ast_sched_replace_variable (int old_id, struct ast_sched_context *con, int when, ast_sched_cb callback, const void *data, int variable) attribute_warn_unused_result
You should use the AST_SCHED_REPLACE_VARIABLE() macro instead.
globalScope> Global ast_sip_push_task_synchronous (struct ast_taskprocessor *serializer, int(*sip_task)(void *), void *task_data)
Replaced with ast_sip_push_task_wait_servant().
Global ast_sip_transport::ciphers [SIP_TLS_MAX_CIPHERS]
Moved to ast_sip_transport_state
Version
13.7.1 deprecated Configured TLS ciphers
Global ast_sip_transport::external_address
Moved to ast_sip_transport_state
Version
13.7.1 deprecated Optional external address information
Global ast_sip_transport::external_address_refresher
Moved to ast_sip_transport_state
Version
13.7.1 deprecated DNS manager for refreshing the external address
Global ast_sip_transport::host
Moved to ast_sip_transport_state
Version
13.8.0 deprecated Address and port to bind to
Global ast_sip_transport::localnet
Moved to ast_sip_transport_state
Version
13.7.1 deprecated Optional local network information, used for NAT purposes
Global ast_sip_transport::state
Version
13.7.1 deprecated Transport state information
Global ast_sip_transport::tls
Moved to ast_sip_transport_state
Version
13.7.1 deprecated TLS settings
globalScope> Global ast_sip_transport_monitor_register (pjsip_transport *transport, ast_transport_monitor_shutdown_cb cb, void *ao2_data)
Replaced with ast_sip_transport_monitor_register_key().
Since
13.20.0
globalScope> Global ast_sip_transport_monitor_register_replace (pjsip_transport *transport, ast_transport_monitor_shutdown_cb cb, void *ao2_data, ast_transport_monitor_data_matcher matches)
Replaced with ast_sip_transport_monitor_register_replace_key().
Since
13.26.0
16.3.0
globalScope> Global ast_sip_transport_monitor_unregister (pjsip_transport *transport, ast_transport_monitor_shutdown_cb cb, void *data, ast_transport_monitor_data_matcher matches)
Replaced with ast_sip_transport_monitor_unregister_key().
Since
13.20.0
globalScope> Global ast_vm_index_to_foldername_fn )(int id)
Nothing calls it and nothing ever should.
File astobj.h
Use astobj2.h instead
File netsock.h
Use netsock2.h instead
globalScope> Global term_color (char *outbuf, const char *inbuf, int fgcolor, int bgcolor, int maxout)
Due to the necessity of pre-sizing a result buffer, new code should avoid using this function in preference to ast_term_color_code() or ast_term_color().
globalScope> Global term_color_code (char *outbuf, int fgcolor, int bgcolor, int maxout)
You should use ast_term_color_code or ast_term_color, instead.