Asterisk - The Open Source Telephony Project
18.5.0
|
Structure used for each SIP dialog, ie. a call, a registration, a subscribe. Created and initialized by sip_alloc(), the descriptor goes into the list of descriptors (dialoglist). More...
#include <sip.h>
Data Structures | |
struct | request_queue |
Structure used for each SIP dialog, ie. a call, a registration, a subscribe. Created and initialized by sip_alloc(), the descriptor goes into the list of descriptors (dialoglist).
struct ast_string_field_pool* __field_mgr_pool |
const ast_string_field accountcode |
unsigned int allowed_methods |
The SIP methods supported by this peer. We get this information from the Allow header of the first message we receive from an endpoint during a dialog.
Definition at line 1196 of file sip.h.
Referenced by __sip_alloc(), create_addr(), handle_response(), handle_response_info(), handle_response_message(), handle_response_publish(), set_pvt_allowed_methods(), sip_sendtext(), and update_connectedline().
enum transfermodes allowtransfer |
REFER: restriction scheme
Definition at line 1137 of file sip.h.
Referenced by __sip_alloc(), check_peer_ok(), create_addr_from_peer(), handle_request_refer(), and sip_show_channel().
unsigned short alreadygone |
the peer has sent a message indicating termination of the dialog
Definition at line 1079 of file sip.h.
Referenced by __sip_autodestruct(), handle_incoming(), handle_response_invite(), sip_alreadygone(), sip_hangup(), and sip_set_rtp_peer().
int amaflags |
AMA Flags
Definition at line 1146 of file sip.h.
Referenced by check_peer_ok(), create_addr_from_peer(), and sip_new().
unsigned short answered_elsewhere |
This call is cancelled due to answer on another channel
Definition at line 1084 of file sip.h.
Referenced by sip_hangup(), and transmit_request().
const ast_string_field authname |
Who we use for authentication
Definition at line 1063 of file sip.h.
Referenced by build_reply_digest(), handle_response(), handle_response_notify(), and handle_response_refer().
int authtries |
Times we've tried to authenticate
Definition at line 1111 of file sip.h.
Referenced by do_message_auth(), do_proxy_auth(), do_register_auth(), handle_response(), handle_response_invite(), handle_response_message(), handle_response_notify(), handle_response_publish(), handle_response_refer(), handle_response_register(), handle_response_subscribe(), and handle_response_update().
unsigned short autoframing |
Whether to use our local configuration for frame sizes (off) or respect the other endpoint's request for frame sizes (on) for incoming calls
Definition at line 1089 of file sip.h.
Referenced by __sip_alloc(), check_peer_ok(), create_addr_from_peer(), and process_sdp_a_audio().
int autokillid |
Auto-kill ID (scheduler)
Definition at line 1158 of file sip.h.
Referenced by __sip_alloc(), __sip_autodestruct(), __sip_scheddestroy(), do_cancel_destroy(), do_dialog_unlink_sched_items(), and handle_request_invite().
long branch |
The branch identifier of this session
Definition at line 1121 of file sip.h.
Referenced by __sip_alloc(), build_via(), forked_invite_init(), reqprep(), transmit_invite(), transmit_register(), and transmit_response_using_temp().
ast_group_t callgroup |
Call group
Definition at line 1070 of file sip.h.
Referenced by check_peer_ok(), create_addr_from_peer(), and sip_new().
const ast_string_field callid |
Global CallID
Definition at line 1063 of file sip.h.
Referenced by __find_call(), __sip_ack(), __sip_alloc(), __sip_autodestruct(), __sip_semi_ack(), __start_session_timer(), add_cc_call_info_to_response(), build_reply_digest(), change_callid_pvt(), check_pendings(), complete_sipch(), create_addr_from_peer(), dialog_cmp_cb(), dialog_dump_func(), dialog_find_multiple(), dialog_hash_cb(), dialog_needdestroy(), do_stop_session_timer(), find_by_callid_helper(), forked_invite_init(), get_refer_info(), get_sip_pvt_from_replaces(), handle_request_bye(), handle_request_do(), handle_request_info(), handle_request_invite(), handle_request_invite_st(), handle_request_notify(), handle_request_refer(), handle_request_register(), handle_request_subscribe(), handle_response(), handle_response_invite(), handle_response_notify(), handle_response_refer(), handle_response_register(), initialize_initreq(), initreqprep(), manager_sipnotify(), match_req_to_dialog(), proc_session_timer(), process_sdp(), process_sdp_a_dtls(), process_sdp_o(), receive_message(), reqprep(), retrans_pkt(), show_channels_cb(), show_chanstats_cb(), sip_alreadygone(), sip_cc_agent_init(), sip_dump_history(), sip_fixup(), sip_hangup(), sip_new(), sip_pvt_dtor(), sip_scheddestroy_full(), sip_set_rtp_peer(), sip_show_channel(), sip_show_history(), state_notify_build_xml(), transmit_refer(), transmit_register(), transmit_request_with_auth(), transmit_response_with_sdp(), and transmit_response_with_t38_sdp().
int callingpres |
Calling presentation
Definition at line 1117 of file sip.h.
Referenced by check_peer_ok(), create_addr_from_peer(), get_pai(), get_rpid(), handle_request_invite(), handle_request_update(), handle_response_invite(), sip_call(), and sip_new().
struct ast_format_cap* caps |
Special capability (codec)
Definition at line 1099 of file sip.h.
Referenced by __sip_alloc(), add_codec_to_sdp(), check_peer_ok(), create_addr_from_peer(), dialog_initialize_rtp(), handle_request_invite(), process_sdp(), process_sdp_a_audio(), sip_call(), sip_new(), sip_pvt_dtor(), sip_request_call(), sip_show_channel(), and try_suggested_sip_codec().
struct ast_cc_config_params* cc_params |
Definition at line 1218 of file sip.h.
Referenced by __sip_alloc(), check_peer_ok(), create_addr_from_peer(), sip_handle_cc(), sip_new(), and sip_pvt_dtor().
struct ast_variable* chanvars |
Channel variables to set for inbound call
Definition at line 1180 of file sip.h.
Referenced by check_peer_ok(), create_addr_from_peer(), sip_new(), and sip_pvt_dtor().
const ast_string_field cid_name |
Caller*ID name
Definition at line 1063 of file sip.h.
Referenced by get_pai(), get_rpid(), handle_request_invite(), handle_request_update(), handle_response_invite(), sip_call(), and sip_new().
const ast_string_field cid_num |
Caller*ID number
Definition at line 1063 of file sip.h.
Referenced by get_destination(), get_pai(), get_rpid(), handle_request_invite(), handle_request_update(), handle_response_invite(), show_channels_cb(), sip_call(), sip_new(), and sip_show_channel().
const ast_string_field cid_tag |
Caller*ID tag
Definition at line 1063 of file sip.h.
Referenced by change_redirecting_information(), handle_request_invite(), handle_request_update(), handle_response_invite(), sip_call(), and sip_new().
const ast_string_field context |
Context for this call
Definition at line 1063 of file sip.h.
Referenced by get_also_info(), get_destination(), get_refer_info(), handle_request_bye(), handle_request_invite(), handle_request_options(), handle_request_refer(), handle_request_subscribe(), handle_response_notify(), receive_message(), sip_new(), and transmit_state_notify().
uint32_t dialogver |
SUBSCRIBE: Version for subscription dialog-info
Definition at line 1167 of file sip.h.
Referenced by handle_request_subscribe(), state_notify_build_xml(), and transmit_state_notify().
const ast_string_field dialstring |
The dialstring used to call this SIP endpoint
Definition at line 1063 of file sip.h.
Referenced by sip_handle_cc(), and sip_queryoption().
struct ast_acl_list* directmediaacl |
Which IPs are allowed to interchange direct media with this peer - copied from sip_peer
Definition at line 1134 of file sip.h.
Referenced by create_addr_from_peer(), and sip_pvt_dtor().
unsigned int disallowed_methods |
Some peers are not trustworthy with their Allow headers, and so we need to override their wicked ways through configuration. This is a copy of the peer's disallowed_methods, so that we can apply them to the sip_pvt at various stages of dialog establishment
Definition at line 1201 of file sip.h.
Referenced by check_peer_ok(), create_addr_from_peer(), and set_pvt_allowed_methods().
unsigned short do_history |
Set if we want to record history
Definition at line 1078 of file sip.h.
Referenced by __sip_alloc(), __sip_scheddestroy(), append_history_full(), do_message_auth(), do_register_auth(), handle_request_bye(), handle_request_do(), handle_request_invite(), send_request(), send_response(), sip_hangup(), sip_new(), sip_reregister(), sip_set_rtp_peer(), temp_pvt_init(), transmit_register(), and transmit_reinvite_with_sdp().
const ast_string_field domain |
Authorization domain
Definition at line 1063 of file sip.h.
Referenced by build_reply_digest(), get_destination(), reply_digest(), sip_new(), and Registration::write().
struct ast_dsp* dsp |
Inband DTMF or Fax CNG tone Detection dsp
Definition at line 1169 of file sip.h.
Referenced by disable_dsp_detect(), enable_dsp_detect(), sip_queryoption(), and sip_rtp_read().
struct ast_rtp_dtls_cfg dtls_cfg |
Definition at line 1222 of file sip.h.
Referenced by add_sdp(), check_peer_ok(), create_addr_from_peer(), dialog_initialize_dtls_srtp(), process_crypto(), process_sdp_a_dtls(), and sip_pvt_dtor().
const ast_string_field engine |
struct sip_epa_entry* epa_entry |
Definition at line 1219 of file sip.h.
Referenced by handle_response_publish(), sip_pvt_dtor(), transmit_invite(), and transmit_publish().
int expiry |
How long we take to expire
Definition at line 1118 of file sip.h.
Referenced by __sip_subscribe_mwi_do(), cc_handle_publish_error(), handle_request_publish(), handle_request_subscribe(), parse_register_contact(), register_verify(), respprep(), show_channels_cb(), sip_cc_monitor_request_cc(), sip_monitor_instance_destructor(), transmit_cc_notify(), transmit_invite(), transmit_notify_with_mwi(), transmit_publish(), transmit_state_notify(), and Registration::write().
const ast_string_field exten |
Extension where to start
Definition at line 1063 of file sip.h.
Referenced by build_contact(), check_user_full(), handle_incoming(), handle_request_invite(), handle_request_subscribe(), handle_response_notify(), receive_message(), sip_cc_agent_init(), sip_new(), sip_report_auth_success(), sip_report_chal_sent(), sip_report_failed_acl(), sip_report_failed_challenge_response(), sip_report_inval_password(), sip_report_inval_transport(), sip_report_invalid_peer(), sip_report_session_limit(), and transmit_state_notify().
unsigned short final_destruction_scheduled |
final dialog destruction is scheduled. Keep dialog around until then to handle retransmits.
Definition at line 1081 of file sip.h.
Referenced by pvt_set_needdestroy(), sip_cancel_destroy(), sip_scheddestroy(), and sip_scheddestroy_final().
struct sip_msg_hdr* first |
struct offered_media* first |
struct ast_flags flags[3] |
SIP_ flags
Definition at line 1075 of file sip.h.
Referenced by __sip_alloc(), __sip_subscribe_mwi_do(), __transmit_response(), add_codec_to_sdp(), add_rpid(), add_sdp(), add_supported(), build_via(), change_hold_state(), check_for_nat(), check_peer_ok(), check_pendings(), check_rtp_timeout(), check_user_full(), check_via(), configure_rtcp(), copy_via_headers(), create_addr_from_peer(), dialog_initialize_rtp(), do_setnat(), enable_dsp_detect(), extensionstate_update(), forked_invite_init(), get_destination(), get_rpid(), handle_incoming(), handle_request_bye(), handle_request_cancel(), handle_request_info(), handle_request_invite(), handle_request_refer(), handle_request_subscribe(), handle_response(), handle_response_invite(), handle_response_message(), handle_response_notify(), initialize_udptl(), initreqprep(), interpret_t38_parameters(), local_attended_transfer(), manager_sipnotify(), match_req_to_dialog(), parse_moved_contact(), parse_register_contact(), process_crypto(), process_sdp(), process_sdp_a_audio(), process_sdp_a_ice(), process_sdp_o(), register_verify(), reqprep(), respprep(), retrans_pkt(), send_request(), set_address_from_contact(), set_ice_components(), set_pvt_allowed_methods(), set_t38_capabilities(), show_channels_cb(), sip_allow_anyrtp_remote(), sip_answer(), sip_call(), sip_cc_agent_destructor(), sip_cc_agent_init(), sip_cc_agent_respond(), sip_cc_monitor_request_cc(), sip_cli_notify(), sip_dtmfmode(), sip_get_rtp_peer(), sip_get_trtp_peer(), sip_get_vrtp_peer(), sip_hangup(), sip_indicate(), sip_msg_send(), sip_nat_mode(), sip_new(), sip_poke_peer(), sip_pvt_dtor(), sip_queryoption(), sip_read(), sip_real_dst(), sip_reinvite_retry(), sip_request_call(), sip_rtp_read(), sip_send_mwi_to_peer(), sip_senddigit_begin(), sip_senddigit_end(), sip_sendhtml(), sip_set_rtp_peer(), sip_setoption(), sip_show_channel(), sip_write(), transmit_info_with_digit(), transmit_invite(), transmit_notify_with_mwi(), transmit_publish(), transmit_refer(), transmit_register(), transmit_reinvite_with_sdp(), transmit_request_with_auth(), transmit_response_using_temp(), transmit_response_with_sdp(), transmit_state_notify(), update_call_counter(), update_connectedline(), update_redirecting(), and use_reason_header().
const ast_string_field from |
The From: header
Definition at line 1063 of file sip.h.
Referenced by sip_acf_channel_read(), sip_report_chal_sent(), and sip_report_failed_challenge_response().
const ast_string_field fromdomain |
Domain to show in the from field
Definition at line 1063 of file sip.h.
Referenced by add_rpid(), build_callid_pvt(), initreqprep(), sip_new(), state_notify_build_xml(), transmit_notify_with_mwi(), and transmit_register().
int fromdomainport |
Domain port to show in from field
Definition at line 1220 of file sip.h.
Referenced by __sip_alloc(), create_addr_from_peer(), initreqprep(), transmit_notify_with_mwi(), transmit_register(), and transmit_response_using_temp().
const ast_string_field fromname |
const ast_string_field fromuser |
const ast_string_field fullcontact |
The Contact: that the UA registers with us
Definition at line 1063 of file sip.h.
Referenced by forked_invite_init(), initreqprep(), respprep(), and set_address_from_contact().
uint32_t glareinvite |
A invite received while a pending invite is already present is stored here. Its seqno is the value. Since this glare invite's seqno is not the same as the pending invite's, it must be held in order to properly process acknowledgements for our 491 response.
Definition at line 1148 of file sip.h.
Referenced by handle_incoming(), and handle_request_invite().
int hangupcause |
Storage of hangupcause copied from our owner before we disconnect from the AST channel (only used at hangup)
Definition at line 1190 of file sip.h.
Referenced by __transmit_response(), handle_response_invite(), sip_hangup(), and transmit_request_with_auth().
struct sip_history_head* history |
History of this SIP dialog
Definition at line 1178 of file sip.h.
Referenced by sip_dump_history(), sip_pvt_dtor(), and sip_show_history().
size_t history_entries |
Number of entires in the history
Definition at line 1179 of file sip.h.
Referenced by sip_pvt_dtor().
uint32_t icseq |
uint32_t init_icseq |
Initial incoming seqno from first request
Definition at line 1069 of file sip.h.
Referenced by __sip_alloc(), and match_req_to_dialog().
int initid |
Auto-congest ID if appropriate (scheduler)
Definition at line 1155 of file sip.h.
Referenced by __sip_alloc(), auto_congest(), do_dialog_unlink_sched_items(), handle_response_invite(), and sip_call().
struct sip_request initreq |
Latest request that opened a new transaction within this dialog. NOT the request that opened the dialog
Definition at line 1151 of file sip.h.
Referenced by create_addr_from_peer(), forked_invite_init(), func_header_read(), func_headers_read2(), get_also_info(), get_destination(), get_rdnis(), get_refer_info(), get_rpid(), handle_incoming(), handle_request_bye(), handle_request_cancel(), handle_request_invite(), handle_request_options(), handle_request_register(), handle_request_subscribe(), handle_response(), handle_response_invite(), handle_response_notify(), handle_response_publish(), handle_response_refer(), handle_response_register(), handle_response_subscribe(), handle_response_update(), initialize_initreq(), interpret_t38_parameters(), match_req_to_dialog(), receive_message(), register_verify(), reqprep(), send_provisional_keepalive_full(), send_response(), sip_acf_channel_read(), sip_answer(), sip_cc_agent_destructor(), sip_cc_agent_respond(), sip_hangup(), sip_indicate(), sip_pvt_dtor(), sip_sendhtml(), sip_sipredirect(), sip_t38_abort(), sip_write(), transmit_fake_auth_response(), transmit_invite(), transmit_notify_with_mwi(), transmit_notify_with_sipfrag(), transmit_refer(), transmit_register(), transmit_state_notify(), update_connectedline(), and update_redirecting().
const ast_string_field initviabranch |
The branch ID from the topmost Via header in the initial request
Definition at line 1063 of file sip.h.
Referenced by match_req_to_dialog().
const ast_string_field initviasentby |
The sent-by from the topmost Via header in the initial request
Definition at line 1063 of file sip.h.
Referenced by match_req_to_dialog().
long invite_branch |
The branch used when we sent the initial INVITE
Definition at line 1122 of file sip.h.
Referenced by match_req_to_dialog(), reqprep(), and transmit_invite().
enum invitestates invitestate |
Track state of SIP_INVITEs
Definition at line 1007 of file sip.h.
Referenced by __update_provisional_keepalive_full(), check_pendings(), forked_invite_init(), handle_incoming(), handle_request_bye(), handle_request_cancel(), handle_request_invite(), handle_response_invite(), reqprep(), retrans_pkt(), send_provisional_keepalive_full(), show_chanstats_cb(), sip_call(), sip_hangup(), sip_indicate(), sip_read(), sip_write(), transmit_request(), and update_connectedline().
struct ast_format_cap* jointcaps |
Supported capability at both ends (codecs)
Definition at line 1100 of file sip.h.
Referenced by __sip_alloc(), add_sdp(), check_peer_ok(), handle_request_invite(), process_sdp(), sip_call(), sip_new(), sip_pvt_dtor(), sip_request_call(), sip_rtp_read(), sip_show_channel(), and try_suggested_sip_codec().
int jointnoncodeccapability |
Joint Non codec capability
Definition at line 1105 of file sip.h.
Referenced by add_sdp(), check_peer_ok(), create_addr_from_peer(), process_sdp(), sip_call(), and sip_dtmfmode().
const ast_string_field language |
struct sip_msg_hdr* last |
struct offered_media* last |
struct ao2_container* last_device_state_info |
SUBSCRIBE: last known extended extension state (take care of refs)
Definition at line 1164 of file sip.h.
Referenced by extensionstate_update(), handle_response_notify(), and sip_pvt_dtor().
const ast_string_field last_presence_message |
The last presence message for a subscription
Definition at line 1063 of file sip.h.
Referenced by extensionstate_update(), and handle_response_notify().
int last_presence_state |
SUBSCRIBE: Last known presence state
Definition at line 1166 of file sip.h.
Referenced by extensionstate_update(), and handle_response_notify().
const ast_string_field last_presence_subtype |
The last presence subtype sent for a subscription.
Definition at line 1063 of file sip.h.
Referenced by extensionstate_update(), and handle_response_notify().
const char* last_provisional |
The last successfully transmitted provisonal response message
Definition at line 1110 of file sip.h.
Referenced by send_provisional_keepalive_full(), and transmit_provisional_response().
struct timeval last_ringing_channel_time |
SUBSCRIBE: channel timestamp of the channel which caused the last early-state notification
Definition at line 1165 of file sip.h.
Referenced by extensionstate_update(), and handle_request_subscribe().
uint32_t lastinvite |
Last seqno of invite
Definition at line 1074 of file sip.h.
Referenced by check_pendings(), handle_incoming(), handle_request_cancel(), handle_request_invite(), handle_request_notify(), handle_request_options(), handle_request_publish(), handle_request_subscribe(), process_sdp(), sip_hangup(), transmit_invite(), transmit_reinvite_with_sdp(), and update_connectedline().
char lastmsg[256] |
Last Message sent/received
Definition at line 1145 of file sip.h.
Referenced by __sip_autodestruct(), handle_incoming(), initreqprep(), reqprep(), show_channels_cb(), and sip_show_channel().
time_t lastrtprx |
Last RTP received
Definition at line 1129 of file sip.h.
Referenced by add_sdp(), check_rtp_timeout(), process_sdp(), sip_read(), and sip_set_rtp_peer().
time_t lastrtptx |
Last RTP sent
Definition at line 1130 of file sip.h.
Referenced by add_sdp(), check_rtp_timeout(), process_sdp(), sip_set_rtp_peer(), and sip_write().
int laststate |
SUBSCRIBE: Last known extension state
Definition at line 1163 of file sip.h.
Referenced by extensionstate_update(), handle_request_subscribe(), handle_response_notify(), and show_channels_cb().
ast_callid logger_callid |
Identifier for call used in log messages
Definition at line 1008 of file sip.h.
Referenced by forked_invite_init(), handle_request_do(), handle_request_invite(), and sip_pvt_callid_set().
int maxcallbitrate |
Maximum Call Bitrate for Video Calls
Definition at line 1106 of file sip.h.
Referenced by __sip_alloc(), add_sdp(), check_peer_ok(), create_addr_from_peer(), and sip_show_channel().
int maxforwards |
SIP Loop prevention
Definition at line 1065 of file sip.h.
Referenced by __sip_alloc(), add_max_forwards(), check_peer_ok(), sip_call(), and sip_msg_send().
const ast_string_field messagecontext |
Default context for outofcall messages.
Definition at line 1063 of file sip.h.
Referenced by receive_message().
int method |
SIP method that opened this dialog
Definition at line 1009 of file sip.h.
Referenced by __find_call(), __sip_alloc(), __sip_autodestruct(), __transmit_response(), dialog_initialize_rtp(), dialog_needdestroy(), handle_incoming(), match_req_to_dialog(), respprep(), send_check_user_failure_response(), sip_pvt_dtor(), sip_scheddestroy_full(), and transmit_response_using_temp().
const ast_string_field mohinterpret |
MOH class to use when put on hold
Definition at line 1063 of file sip.h.
Referenced by sip_indicate().
const ast_string_field mohsuggest |
MOH class to suggest when putting a peer on hold
Definition at line 1063 of file sip.h.
Referenced by process_sdp().
const ast_string_field msg_body |
struct { ... } msg_headers |
Additional MESSAGE headers to send.
Referenced by add_msg_header(), add_text(), and destroy_msg_headers().
struct sip_subscription_mwi* mwi |
If this is a subscription MWI dialog, to which subscription
Definition at line 1192 of file sip.h.
Referenced by __sip_subscribe_mwi_do(), handle_request_notify(), handle_response_subscribe(), sip_pvt_dtor(), and sip_subscribe_mwi_destroy().
const ast_string_field mwi_from |
Name to place in the From header in outgoing NOTIFY requests
Definition at line 1063 of file sip.h.
Referenced by initreqprep().
struct ast_namedgroups* named_callgroups |
Named call group
Definition at line 1072 of file sip.h.
Referenced by check_peer_ok(), create_addr_from_peer(), sip_new(), and sip_pvt_dtor().
struct ast_namedgroups* named_pickupgroups |
Named pickup group
Definition at line 1073 of file sip.h.
Referenced by check_peer_ok(), create_addr_from_peer(), sip_new(), and sip_pvt_dtor().
unsigned short natdetected |
Whether we detected a NAT when processing the Via
Definition at line 1094 of file sip.h.
Referenced by check_for_nat(), check_peer_ok(), set_peer_nat(), and sip_request_call().
unsigned short needdestroy |
this dialog needs to be destroyed by the monitor thread
Definition at line 1080 of file sip.h.
Referenced by __sip_autodestruct(), dialog_needdestroy(), handle_request_subscribe(), pvt_set_needdestroy(), show_channels_cb(), and sip_show_channel().
const ast_string_field nonce |
Authorization nonce
Definition at line 1063 of file sip.h.
Referenced by build_nonce(), build_reply_digest(), check_auth(), handle_incoming(), reply_digest(), sip_report_chal_sent(), sip_report_failed_challenge_response(), sip_report_inval_password(), and transmit_fake_auth_response().
int noncecount |
Nonce-count
Definition at line 1142 of file sip.h.
Referenced by build_reply_digest(), reply_digest(), transmit_register(), and transmit_response_with_auth().
int noncodeccapability |
DTMF RFC2833 telephony-event
Definition at line 1104 of file sip.h.
Referenced by __sip_alloc(), check_peer_ok(), create_addr_from_peer(), process_sdp(), sip_call(), and sip_show_channel().
unsigned short notext |
Text not supported (?)
Definition at line 1086 of file sip.h.
Referenced by add_sdp(), and process_sdp().
struct sip_notify* notify |
Custom notify type
Definition at line 1140 of file sip.h.
Referenced by handle_response_notify(), manager_sipnotify(), sip_cli_notify(), sip_notify_alloc(), sip_pvt_dtor(), and transmit_invite().
unsigned short novideo |
Didn't get video in invite, don't offer
Definition at line 1085 of file sip.h.
Referenced by add_sdp(), process_sdp(), and sip_indicate().
uint32_t ocseq |
Current outgoing seqno
Definition at line 1067 of file sip.h.
Referenced by __sip_alloc(), forked_invite_init(), handle_incoming(), initreqprep(), reqprep(), sipinfo_send(), transmit_cc_notify(), transmit_info_with_aoc(), transmit_info_with_digit(), transmit_info_with_vidupdate(), transmit_invite(), transmit_message(), transmit_notify_with_mwi(), transmit_notify_with_sipfrag(), transmit_register(), transmit_reinvite_with_sdp(), transmit_request(), transmit_request_with_auth(), transmit_response_using_temp(), transmit_state_notify(), and update_connectedline().
struct { ... } offered_media |
When receiving an SDP offer, it is important to take note of what media types were offered. By doing this, even if we don't want to answer a particular media stream with something meaningful, we can still put an m= line in our answer with the port set to 0.
The reason for the length being 4 (OFFERED_MEDIA_COUNT) is that in this branch of Asterisk, the only media types supported are image, audio, text, and video. Therefore we need to keep track of which types of media were offered. Note that secure RTP defines new types of SDP media.
If we wanted to be 100% correct, we would keep a list of all media streams offered. That way we could respond even to unknown media types, and we could respond to multiple streams of the same type. Such large-scale changes are not a good idea for released branches, though, so we're compromising by just making sure that for the common cases: audio and video, audio and T.38, and audio and text, we give the appropriate response to both media streams.
The large-scale changes would be a good idea for implementing during an SDP rewrite.
Referenced by __sip_alloc(), add_sdp(), has_media_stream(), offered_media_list_destroy(), and process_sdp().
const ast_string_field okcontacturi |
URI from the 200 OK on INVITE
Definition at line 1063 of file sip.h.
Referenced by reqprep(), and update_connectedline().
unsigned int ongoing_reinvite |
There is a reinvite in progress that might need to be cleaned up
Definition at line 1144 of file sip.h.
Referenced by __sip_autodestruct(), check_pendings(), handle_response_invite(), sip_hangup(), and transmit_reinvite_with_sdp().
const ast_string_field opaque |
Opaque nonsense
Definition at line 1063 of file sip.h.
Referenced by build_reply_digest(), and reply_digest().
struct sip_invite_param* options |
Options for INVITE
Definition at line 1183 of file sip.h.
Referenced by do_message_auth(), do_proxy_auth(), handle_response(), handle_response_invite(), handle_response_publish(), handle_response_subscribe(), handle_response_update(), initreqprep(), obproxy_get(), sip_call(), sip_pvt_dtor(), sip_request_call(), transmit_invite(), and transmit_request_with_auth().
const ast_string_field our_contact |
Our contact header
Definition at line 1063 of file sip.h.
Referenced by check_user_full(), forked_invite_init(), handle_response_register(), initreqprep(), reqprep(), respprep(), transmit_refer(), and transmit_register().
struct ast_sockaddr ourip |
Our IP (as seen from the outside)
Definition at line 1136 of file sip.h.
Referenced by __sip_alloc(), __sip_subscribe_mwi_do(), add_diversion(), add_rpid(), add_sdp(), build_callid_pvt(), build_contact(), build_via(), generate_uri(), get_our_media_address(), initreqprep(), manager_sipnotify(), sip_cc_monitor_request_cc(), sip_cli_notify(), sip_msg_send(), sip_poke_peer(), sip_report_auth_success(), sip_report_chal_sent(), sip_report_failed_acl(), sip_report_failed_challenge_response(), sip_report_inval_password(), sip_report_inval_transport(), sip_report_invalid_peer(), sip_report_session_limit(), sip_request_call(), sip_send_mwi_to_peer(), sip_set_rtp_peer(), sip_show_channel(), transmit_notify_with_mwi(), transmit_publish(), transmit_register(), and transmit_response_using_temp().
struct sip_proxy* outboundproxy |
Outbound proxy for this dialog. Use ref_proxy to set this instead of setting it directly
Definition at line 1112 of file sip.h.
Referenced by __sip_ack(), get_transport_pvt(), ref_proxy(), send_request(), sip_prepare_socket(), sip_pvt_dtor(), and sip_real_dst().
unsigned short outgoing_call |
this is an outgoing call
Definition at line 1083 of file sip.h.
Referenced by add_rpid(), handle_response_invite(), sip_queryoption(), sip_request_call(), sip_set_rtp_peer(), try_suggested_sip_codec(), and update_call_counter().
struct ast_channel* owner |
Who owns us (if we have an owner)
Definition at line 1138 of file sip.h.
Referenced by __transmit_response(), add_diversion(), add_rpid(), add_sdp(), AST_TEST_DEFINE(), auto_congest(), change_t38_state(), check_pendings(), check_rtp_timeout(), configure_rtcp(), dialog_needdestroy(), get_also_info(), get_destination(), get_pai(), get_rdnis(), get_refer_info(), get_rpid(), handle_incoming(), handle_invite_replaces(), handle_request_bye(), handle_request_cancel(), handle_request_do(), handle_request_info(), handle_request_invite(), handle_request_notify(), handle_request_refer(), handle_request_update(), handle_response(), handle_response_invite(), handle_response_notify(), handle_response_refer(), initialize_udptl(), initreqprep(), interpret_t38_parameters(), parse_moved_contact(), proc_session_timer(), process_sdp(), receive_message(), show_channels_cb(), show_chanstats_cb(), sip_fixup(), sip_handle_cc(), sip_hangup(), sip_indicate(), sip_peer_hold(), sip_pvt_dtor(), sip_pvt_lock_full(), sip_queue_hangup_cause(), sip_rtp_read(), sip_set_owner(), sip_set_rtp_peer(), sip_show_channel(), sip_sipredirect(), transmit_invite(), transmit_reinvite_with_sdp(), try_suggested_sip_codec(), unload_module(), update_connectedline(), update_redirecting(), and use_reason_header().
struct sip_pkt* packets |
Packets scheduled for re-transmission
Definition at line 1177 of file sip.h.
Referenced by __sip_ack(), __sip_autodestruct(), __sip_pretend_ack(), __sip_reliable_xmit(), __sip_semi_ack(), dialog_needdestroy(), do_dialog_unlink_sched_items(), handle_request_cancel(), retrans_pkt(), and sip_hangup().
const ast_string_field parkinglot |
struct sip_auth_container* peerauth |
Realm authentication credentials
Definition at line 1141 of file sip.h.
Referenced by build_reply_digest(), create_addr_from_peer(), and sip_pvt_dtor().
struct ast_format_cap* peercaps |
Supported peer capability
Definition at line 1101 of file sip.h.
Referenced by __sip_alloc(), check_peer_ok(), process_sdp(), sip_pvt_dtor(), and sip_show_channel().
const ast_string_field peermd5secret |
Definition at line 1063 of file sip.h.
Referenced by build_reply_digest(), and check_peer_ok().
const ast_string_field peername |
[peer] name, not set if [user]
Definition at line 1063 of file sip.h.
Referenced by build_reply_digest(), handle_request_invite(), handle_response_register(), receive_message(), sip_acf_channel_read(), sip_handle_cc(), sip_request_call(), sip_show_channel(), and update_call_counter().
const ast_string_field peersecret |
Password
Definition at line 1063 of file sip.h.
Referenced by build_reply_digest(), and check_peer_ok().
uint32_t pendinginvite |
Any pending INVITE or state NOTIFY (in subscribe pvt's) ? (seqno of this)
Definition at line 1147 of file sip.h.
Referenced by __sip_ack(), __sip_reliable_xmit(), check_pendings(), extensionstate_update(), handle_incoming(), handle_request_bye(), handle_request_invite(), handle_response(), handle_response_invite(), interpret_t38_parameters(), retrans_pkt(), sip_hangup(), sip_sendhtml(), sip_set_rtp_peer(), transmit_response_with_sdp(), transmit_response_with_t38_sdp(), transmit_state_notify(), and update_connectedline().
ast_group_t pickupgroup |
Pickup group
Definition at line 1071 of file sip.h.
Referenced by check_peer_ok(), create_addr_from_peer(), and sip_new().
unsigned int portinuri |
Non zero if a port has been specified, will also disable srv lookups
Definition at line 1124 of file sip.h.
Referenced by create_addr(), create_addr_from_peer(), and initreqprep().
struct ast_format_cap* prefcaps |
Preferred codec (outbound only)
Definition at line 1103 of file sip.h.
Referenced by __sip_alloc(), add_sdp(), sip_call(), sip_new(), sip_pvt_dtor(), and sip_request_call().
int provisional_keepalive_sched_id |
Scheduler ID for provisional responses that need to be sent out to avoid cancellation
Definition at line 1109 of file sip.h.
Referenced by __sip_alloc(), __stop_provisional_keepalive(), __update_provisional_keepalive_full(), do_dialog_unlink_sched_items(), and send_provisional_keepalive_full().
const ast_string_field qop |
Quality of Protection struct ast_string_field_mgr __field_mgr since SIP wasn't complicated enough yet.
Definition at line 1063 of file sip.h.
Referenced by build_reply_digest(), and reply_digest().
const ast_string_field rdnis |
const ast_string_field realm |
Authorization realm
Definition at line 1063 of file sip.h.
Referenced by build_reply_digest(), check_auth(), get_realm(), reply_digest(), transmit_request_with_auth(), and transmit_response_with_auth().
struct ast_sockaddr recv |
Received as
Definition at line 1135 of file sip.h.
Referenced by __sip_alloc(), __sip_subscribe_mwi_do(), check_for_nat(), check_peer_ok(), check_via(), copy_via_headers(), create_addr(), create_addr_from_peer(), handle_incoming(), handle_request_bye(), handle_request_do(), handle_request_invite(), handle_request_notify(), handle_response(), handle_response_notify(), handle_response_refer(), parse_register_contact(), receive_message(), respprep(), send_request(), set_address_from_contact(), sip_acf_channel_read(), sip_poke_peer(), sip_real_dst(), sip_show_channel(), transmit_register(), and transmit_response_using_temp().
int red |
T.140 RTP Redundancy
Definition at line 1189 of file sip.h.
Referenced by process_sdp(), and sip_write().
struct ast_format_cap* redircaps |
Redirect codecs
Definition at line 1102 of file sip.h.
Referenced by __sip_alloc(), add_sdp(), sip_pvt_dtor(), and sip_set_rtp_peer().
const ast_string_field redircause |
struct ast_sockaddr redirip |
Where our RTP should be going if not to us
Definition at line 1126 of file sip.h.
Referenced by add_sdp(), check_rtp_timeout(), get_our_media_address(), process_sdp(), sip_set_rtp_peer(), sip_show_channel(), and transmit_reinvite_with_sdp().
struct sip_refer* refer |
REFER: SIP transfer data structure
Definition at line 1160 of file sip.h.
Referenced by __sip_autodestruct(), get_also_info(), get_refer_info(), handle_request_bye(), handle_request_refer(), handle_response_notify(), handle_response_refer(), local_attended_transfer(), show_channels_cb(), sip_refer_alloc(), sip_refer_destroy(), transmit_invite(), and transmit_refer().
struct sip_registry* registry |
If this is a REGISTER dialog, to which registry
Definition at line 1173 of file sip.h.
Referenced by dialog_unlink_all(), do_register_auth(), handle_response(), handle_response_register(), reply_digest(), sip_pvt_dtor(), sip_reg_timeout(), sip_registry_destroy(), and transmit_register().
int reinviteid |
Reinvite in case of provisional, but no final response
Definition at line 1157 of file sip.h.
Referenced by __sip_alloc(), __stop_reinviteid(), check_pendings(), do_dialog_unlink_sched_items(), reinvite_timeout(), and sip_hangup().
struct sip_peer* relatedpeer |
If this dialog is related to a peer, which one Used in peerpoke, mwi subscriptions
Definition at line 1171 of file sip.h.
Referenced by build_reply_digest(), create_addr(), dialog_unlink_all(), handle_request_info(), handle_request_invite(), handle_request_subscribe(), handle_response(), handle_response_info(), handle_response_invite(), handle_response_message(), handle_response_peerpoke(), initialize_udptl(), show_channels_cb(), sip_allow_anyrtp_remote(), sip_new(), sip_peer_hold(), sip_poke_peer(), sip_pvt_dtor(), sip_request_call(), st_get_mode(), st_get_refresher(), st_get_se(), and update_call_counter().
unsigned short req_secure_signaling |
Whether we are required to have secure signaling or not
Definition at line 1093 of file sip.h.
Referenced by sip_call(), sip_queryoption(), and sip_setoption().
unsigned int reqsipoptions |
Required SIP options on the other end
Definition at line 1098 of file sip.h.
Referenced by handle_request_invite(), and handle_request_invite_st().
Requests that arrived but could not be processed immediately
Referenced by __sip_alloc(), and sip_pvt_dtor().
int request_queue_sched_id |
Scheduler ID of any scheduled action to process queued requests
Definition at line 1108 of file sip.h.
Referenced by __sip_alloc(), and do_dialog_unlink_sched_items().
struct sip_route route |
List of routing steps (fm Record-Route)
Definition at line 1139 of file sip.h.
Referenced by build_route(), create_addr_from_peer(), handle_response_invite(), initreqprep(), reqprep(), sip_poke_peer(), sip_pvt_dtor(), and sip_show_channel().
unsigned short route_persistent |
struct ast_rtp_instance* rtp |
RTP Session
Definition at line 1174 of file sip.h.
Referenced by __sip_alloc(), add_codec_to_sdp(), add_noncodec_to_sdp(), add_sdp(), AST_TEST_DEFINE(), check_peer_ok(), check_rtp_timeout(), create_addr_from_peer(), dialog_checkrtp_cb(), dialog_clean_rtp(), dialog_initialize_rtp(), dialog_needdestroy(), do_setnat(), enable_dsp_detect(), get_our_media_address(), handle_request_bye(), handle_request_invite(), handle_response_invite(), process_sdp(), show_chanstats_cb(), sip_acf_channel_read(), sip_answer(), sip_call(), sip_dtmfmode(), sip_get_rtp_peer(), sip_hangup(), sip_indicate(), sip_new(), sip_rtp_read(), sip_senddigit_begin(), sip_senddigit_end(), sip_set_owner(), sip_set_rtp_peer(), sip_setoption(), sip_show_channel(), sip_write(), stop_media_flows(), transmit_invite(), transmit_reinvite_with_sdp(), and transmit_response_with_sdp().
int rtpholdtimeout |
RTP timeout time on hold
Definition at line 1132 of file sip.h.
Referenced by check_peer_ok(), check_user_full(), create_addr(), create_addr_from_peer(), and dialog_initialize_rtp().
int rtpkeepalive |
RTP send packets for keepalive
Definition at line 1133 of file sip.h.
Referenced by check_peer_ok(), check_user_full(), create_addr(), create_addr_from_peer(), and dialog_initialize_rtp().
int rtptimeout |
RTP timeout time
Definition at line 1131 of file sip.h.
Referenced by check_peer_ok(), check_user_full(), create_addr(), create_addr_from_peer(), and dialog_initialize_rtp().
struct ast_sockaddr sa |
Our peer
Definition at line 1125 of file sip.h.
Referenced by __sip_alloc(), __sip_subscribe_mwi_do(), build_reply_digest(), check_via(), create_addr(), create_addr_from_peer(), do_message_auth(), handle_incoming(), handle_request_subscribe(), handle_response(), handle_response_info(), handle_response_message(), initreqprep(), manager_sipnotify(), process_via(), respprep(), send_request(), set_address_from_contact(), set_destination(), show_chanstats_cb(), sip_acf_channel_read(), sip_cc_monitor_request_cc(), sip_cli_notify(), sip_msg_send(), sip_poke_peer(), sip_real_dst(), sip_report_auth_success(), sip_report_chal_sent(), sip_report_failed_acl(), sip_report_failed_challenge_response(), sip_report_inval_password(), sip_report_inval_transport(), sip_report_invalid_peer(), sip_report_session_limit(), sip_request_call(), sip_send_mwi_to_peer(), sip_show_channel(), transmit_publish(), transmit_register(), and transmit_response_using_temp().
unsigned short session_modify |
Session modification request true/false
Definition at line 1087 of file sip.h.
Referenced by __sip_alloc(), handle_request_invite(), process_sdp(), and process_sdp_o().
const ast_string_field sessionunique_remote |
Remote UA's SDP Session unique parts
Definition at line 1063 of file sip.h.
Referenced by process_sdp_o().
int sessionversion |
int64_t sessionversion_remote |
Remote UA's SDP Session Version
Definition at line 1123 of file sip.h.
Referenced by __sip_alloc(), and process_sdp_o().
unsigned int sipoptions |
Supported SIP options on the other end
Definition at line 1097 of file sip.h.
Referenced by check_peer_ok(), handle_request_invite(), handle_request_invite_st(), parse_register_contact(), and sip_show_channel().
struct sip_socket socket |
The socket used for this dialog
Definition at line 1066 of file sip.h.
Referenced by __sip_alloc(), __sip_reliable_xmit(), __sip_subscribe_mwi_do(), __sip_xmit(), ast_sip_ouraddrfor(), build_contact(), build_reply_digest(), check_peer_ok(), create_addr(), create_addr_from_peer(), generate_uri(), get_transport_pvt(), handle_request_do(), handle_request_notify(), initreqprep(), parse_moved_contact(), parse_register_contact(), process_via(), receive_message(), reqprep(), security_event_get_transport(), set_address_from_contact(), set_destination(), sip_acf_channel_read(), sip_call(), sip_poke_peer(), sip_prepare_socket(), sip_pvt_dtor(), sip_report_security_event(), sip_request_call(), sip_send_mwi_to_peer(), sip_show_channel(), transmit_notify_with_mwi(), transmit_register(), and transmit_response_using_temp().
struct ast_sdp_srtp* srtp |
Structure to hold Secure RTP session data for audio
Definition at line 1185 of file sip.h.
Referenced by add_sdp(), dialog_clean_rtp(), dialog_initialize_rtp(), handle_request_invite(), process_sdp(), sip_acf_channel_read(), sip_call(), sip_get_rtp_peer(), and sip_show_channel().
unsigned int stalenonce |
Marks the current nonce as responded too
Definition at line 1143 of file sip.h.
Referenced by build_nonce(), and check_auth().
int stateid |
SUBSCRIBE: ID for devicestate subscriptions
Definition at line 1162 of file sip.h.
Referenced by __sip_alloc(), dialog_unlink_all(), and handle_request_subscribe().
struct sip_st_dlg* stimer |
SIP Session-Timers
Definition at line 1184 of file sip.h.
Referenced by __sip_alloc(), __sip_scheddestroy(), __start_session_timer(), do_dialog_unlink_sched_items(), do_stop_session_timer(), handle_request_bye(), handle_request_invite(), handle_request_invite_st(), handle_response_invite(), proc_422_rsp(), proc_session_timer(), reqprep(), respprep(), restart_session_timer(), sip_answer(), sip_hangup(), sip_pvt_dtor(), sip_show_channel(), sip_st_alloc(), st_get_mode(), st_get_refresher(), st_get_se(), start_session_timer(), stop_session_timer(), and transmit_invite().
const ast_string_field subscribecontext |
Subscribecontext
Definition at line 1063 of file sip.h.
Referenced by get_destination(), and handle_request_subscribe().
enum subscriptiontype subscribed |
SUBSCRIBE: Is this dialog a subscription?
Definition at line 1161 of file sip.h.
Referenced by __sip_alloc(), __sip_autodestruct(), __sip_subscribe_mwi_do(), extensionstate_update(), handle_cc_subscribe(), handle_request_subscribe(), handle_response_notify(), handle_response_subscribe(), show_channels_cb(), show_chanstats_cb(), sip_cc_monitor_request_cc(), sip_dump_history(), sip_show_channel(), sip_show_history(), transmit_invite(), transmit_notify_with_mwi(), and transmit_state_notify().
const ast_string_field subscribeuri |
Subscribecontext
Definition at line 1063 of file sip.h.
Referenced by handle_request_subscribe(), and show_channels_cb().
struct t38properties t38 |
T38 settings
Definition at line 1113 of file sip.h.
Referenced by add_sdp(), change_t38_state(), check_pendings(), check_rtp_timeout(), handle_request_invite(), handle_response_invite(), interpret_t38_parameters(), proc_session_timer(), process_sdp(), process_sdp_a_image(), process_sdp_o(), sip_acf_channel_read(), sip_get_rtp_peer(), sip_queryoption(), sip_t38_abort(), sip_write(), transmit_invite(), and transmit_response_with_sdp().
int t38_maxdatagram |
T.38 FaxMaxDatagram override
Definition at line 1107 of file sip.h.
Referenced by check_peer_ok(), initialize_udptl(), and process_sdp_a_image().
int t38id |
T.38 Response ID
Definition at line 1159 of file sip.h.
Referenced by __sip_alloc(), __start_t38_abort_timer(), __stop_t38_abort_timer(), do_dialog_unlink_sched_items(), and sip_t38_abort().
const ast_string_field tag |
Our tag for this session
Definition at line 1063 of file sip.h.
Referenced by forked_invite_init(), get_refer_info(), handle_request_subscribe(), initreqprep(), match_req_to_dialog(), reqprep(), respprep(), sip_show_channel(), state_notify_build_xml(), and transmit_register().
const ast_string_field tel_phone_context |
const ast_string_field theirprovtag |
Provisional their tag, used when evaluating responses to invites
Definition at line 1063 of file sip.h.
Referenced by handle_response_invite().
const ast_string_field theirtag |
Their tag
Definition at line 1063 of file sip.h.
Referenced by __find_call(), get_refer_info(), handle_incoming(), handle_response(), handle_response_invite(), initreqprep(), match_req_to_dialog(), reqprep(), respprep(), sip_show_channel(), state_notify_build_xml(), and transmit_register().
int timer_b |
SIP timer B, ms
Definition at line 1096 of file sip.h.
Referenced by __sip_alloc(), check_peer_ok(), create_addr(), create_addr_from_peer(), sip_call(), and sip_scheddestroy_full().
int timer_t1 |
SIP timer T1, ms rtt
Definition at line 1095 of file sip.h.
Referenced by __sip_alloc(), __sip_reliable_xmit(), check_peer_ok(), create_addr(), create_addr_from_peer(), sip_hangup(), and sip_scheddestroy_full().
const ast_string_field todnid |
DNID of this call (overrides host)
Definition at line 1063 of file sip.h.
Referenced by initreqprep().
const ast_string_field tohost |
Host we should put in the "to" field
Definition at line 1063 of file sip.h.
Referenced by create_addr_from_peer(), initreqprep(), sip_prepare_socket(), and transmit_register().
struct ast_sockaddr tredirip |
Where our Text RTP should be going if not to us
Definition at line 1128 of file sip.h.
Referenced by get_our_media_address(), and sip_set_rtp_peer().
struct ast_rtp_instance* trtp |
Text RTP session
Definition at line 1176 of file sip.h.
Referenced by add_sdp(), add_tcodec_to_sdp(), dialog_clean_rtp(), dialog_initialize_rtp(), do_setnat(), get_our_media_address(), handle_request_bye(), process_sdp(), process_sdp_a_text(), sip_acf_channel_read(), sip_call(), sip_get_trtp_peer(), sip_hangup(), sip_new(), sip_rtp_read(), sip_set_owner(), sip_write(), and stop_media_flows().
struct ast_sdp_srtp* tsrtp |
Structure to hold Secure RTP session data for text
Definition at line 1187 of file sip.h.
Referenced by add_sdp(), dialog_clean_rtp(), dialog_initialize_rtp(), process_sdp(), and sip_call().
struct ast_udptl* udptl |
T.38 UDPTL session
Definition at line 1115 of file sip.h.
Referenced by add_sdp(), change_t38_state(), check_peer_ok(), do_setnat(), handle_response_invite(), initialize_udptl(), interpret_t38_parameters(), process_sdp(), process_sdp_a_image(), set_t38_capabilities(), sip_new(), sip_pvt_dtor(), sip_rtp_read(), sip_show_channel(), sip_write(), stop_media_flows(), transmit_invite(), and transmit_response_with_t38_sdp().
struct ast_sockaddr udptlredirip |
const ast_string_field uri |
Original requested URI
Definition at line 1063 of file sip.h.
Referenced by build_reply_digest(), forked_invite_init(), initreqprep(), reqprep(), sip_acf_channel_read(), sip_new(), and sip_show_channel().
const ast_string_field url |
URL to be sent with next message to peer
Definition at line 1063 of file sip.h.
Referenced by reqprep(), and respprep().
const ast_string_field useragent |
User agent in SIP request
Definition at line 1063 of file sip.h.
Referenced by allow_notify_user_presence(), handle_request_subscribe(), sip_acf_channel_read(), sip_show_channel(), and sipinfo_send().
const ast_string_field username |
[user] name
Definition at line 1063 of file sip.h.
Referenced by build_reply_digest(), extensionstate_update(), handle_request_invite(), handle_request_subscribe(), handle_response_register(), initreqprep(), show_channels_cb(), sip_call(), sip_hangup(), sip_poke_peer(), sip_show_channel(), transmit_response_with_auth(), and update_call_counter().
char via[128] |
Via: header
Definition at line 1063 of file sip.h.
Referenced by build_via(), initreqprep(), reqprep(), and transmit_register().
struct ast_sockaddr vredirip |
Where our Video RTP should be going if not to us
Definition at line 1127 of file sip.h.
Referenced by get_our_media_address(), and sip_set_rtp_peer().
struct ast_rtp_instance* vrtp |
Video RTP session
Definition at line 1175 of file sip.h.
Referenced by add_sdp(), add_vcodec_to_sdp(), check_rtp_timeout(), dialog_checkrtp_cb(), dialog_clean_rtp(), dialog_initialize_rtp(), dialog_needdestroy(), do_setnat(), get_our_media_address(), handle_request_bye(), process_sdp(), sip_acf_channel_read(), sip_call(), sip_get_vrtp_peer(), sip_hangup(), sip_indicate(), sip_new(), sip_rtp_read(), sip_set_owner(), sip_set_rtp_peer(), sip_show_channel(), sip_write(), and stop_media_flows().
struct ast_sdp_srtp* vsrtp |
Structure to hold Secure RTP session data for video
Definition at line 1186 of file sip.h.
Referenced by add_sdp(), dialog_initialize_rtp(), process_sdp(), sip_call(), and sip_pvt_dtor().
int waitid |
Wait ID for scheduler after 491 or other delays
Definition at line 1156 of file sip.h.
Referenced by __sip_alloc(), __stop_reinvite_retry(), check_pendings(), do_dialog_unlink_sched_items(), handle_response_invite(), and sip_reinvite_retry().
char zone[MAX_TONEZONE_COUNTRY] |
Default tone zone for channels created by this dialog
Definition at line 1116 of file sip.h.
Referenced by __sip_alloc(), check_peer_ok(), create_addr_from_peer(), and sip_new().