sip_pvt Struct Reference

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>

Collaboration diagram for sip_pvt:

Collaboration graph
[legend]

Data Fields

struct ast_string_field_mgr __field_mgr
struct ast_string_field_pool__field_mgr_pool
const ast_string_field accountcode
unsigned int allowed_methods
enum transfermodes allowtransfer
unsigned short alreadygone:1
int amaflags
unsigned short answered_elsewhere:1
const ast_string_field authname
int authtries
unsigned short autoframing:1
int autokillid
long branch
ast_group_t callgroup
const ast_string_field callid
int callingpres
struct ast_format_capcaps
struct ast_cc_config_paramscc_params
struct ast_variablechanvars
const ast_string_field cid_name
const ast_string_field cid_num
const ast_string_field cid_tag
const ast_string_field context
uint32_t dialogver
const ast_string_field dialstring
struct ast_acl_listdirectmediaacl
unsigned int disallowed_methods
unsigned short do_history:1
const ast_string_field domain
struct ast_dspdsp
struct ast_rtp_dtls_cfg dtls_cfg
const ast_string_field engine
struct sip_epa_entryepa_entry
int expiry
const ast_string_field exten
unsigned short final_destruction_scheduled:1
struct ast_flags flags [3]
const ast_string_field from
const ast_string_field fromdomain
int fromdomainport
const ast_string_field fromname
const ast_string_field fromuser
const ast_string_field fullcontact
uint32_t glareinvite
int hangupcause
struct sip_history_headhistory
size_t history_entries
uint32_t icseq
uint32_t init_icseq
int initid
struct sip_request initreq
const ast_string_field initviabranch
const ast_string_field initviasentby
long invite_branch
enum invitestates invitestate
struct ast_format_capjointcaps
int jointnoncodeccapability
const ast_string_field language
struct ao2_containerlast_device_state_info
const ast_string_field last_presence_message
int last_presence_state
const ast_string_field last_presence_subtype
const char * last_provisional
struct timeval last_ringing_channel_time
uint32_t lastinvite
char lastmsg [256]
time_t lastrtprx
time_t lastrtptx
int laststate
ast_callid logger_callid
int maxcallbitrate
int maxforwards
const ast_string_field messagecontext
int method
const ast_string_field mohinterpret
const ast_string_field mohsuggest
const ast_string_field msg_body
struct {
   struct sip_msg_hdr *   first
   struct sip_msg_hdr *   last
msg_headers
struct sip_subscription_mwimwi
const ast_string_field mwi_from
struct ast_namedgroups * named_callgroups
struct ast_namedgroups * named_pickupgroups
unsigned short natdetected:1
unsigned short needdestroy:1
struct sip_pvtnext
const ast_string_field nonce
int noncecount
int noncodeccapability
unsigned short notext:1
struct sip_notifynotify
unsigned short novideo:1
uint32_t ocseq
struct {
   struct offered_media *   first
   struct offered_media *   last
offered_media
const ast_string_field okcontacturi
unsigned int ongoing_reinvite:1
const ast_string_field opaque
struct sip_invite_paramoptions
const ast_string_field our_contact
struct ast_sockaddr ourip
struct sip_proxyoutboundproxy
unsigned short outgoing_call:1
struct ast_channelowner
struct sip_pktpackets
const ast_string_field parkinglot
struct sip_auth_containerpeerauth
struct ast_format_cappeercaps
const ast_string_field peermd5secret
const ast_string_field peername
const ast_string_field peersecret
uint32_t pendinginvite
ast_group_t pickupgroup
unsigned int portinuri:1
struct ast_format_capprefcaps
int provisional_keepalive_sched_id
const ast_string_field qop
const ast_string_field rdnis
const ast_string_field realm
struct ast_sockaddr recv
int red
struct ast_format_capredircaps
const ast_string_field redircause
struct ast_sockaddr redirip
struct sip_referrefer
struct sip_registryregistry
int reinviteid
struct sip_peerrelatedpeer
unsigned short req_secure_signaling:1
unsigned int reqsipoptions
struct sip_pvt::request_queue request_queue
int request_queue_sched_id
struct sip_route route
unsigned short route_persistent:1
struct ast_rtp_instancertp
int rtpholdtimeout
int rtpkeepalive
int rtptimeout
struct ast_sockaddr sa
unsigned short session_modify:1
int sessionid
int sessionversion
int64_t sessionversion_remote
unsigned int sipoptions
struct sip_socket socket
struct ast_sdp_srtpsrtp
unsigned int stalenonce:1
int stateid
struct sip_st_dlgstimer
const ast_string_field subscribecontext
enum subscriptiontype subscribed
const ast_string_field subscribeuri
struct t38properties t38
int t38_maxdatagram
int t38id
const ast_string_field tag
const ast_string_field tel_phone_context
const ast_string_field theirprovtag
const ast_string_field theirtag
int timer_b
int timer_t1
const ast_string_field todnid
const ast_string_field tohost
struct ast_sockaddr tredirip
struct ast_rtp_instancetrtp
struct ast_sdp_srtptsrtp
struct ast_udptludptl
struct ast_sockaddr udptlredirip
const ast_string_field uri
const ast_string_field url
const ast_string_field useragent
const ast_string_field username
char via [128]
struct ast_sockaddr vredirip
struct ast_rtp_instancevrtp
struct ast_sdp_srtpvsrtp
int waitid
char zone [MAX_TONEZONE_COUNTRY]

Data Structures

struct  request_queue

Detailed Description

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).

Definition at line 991 of file sip.h.


Field Documentation

Definition at line 1048 of file sip.h.

< Our contact header

< URL to be sent with next message to peer

< Parkinglot

< RTP engine to use

< The dialstring used to call this SIP endpoint

< The last presence subtype sent for a subscription.

< The last presence message for a subscription

< Text for a MESSAGE body

< The phone-context portion of a TEL URI

Definition at line 1048 of file sip.h.

Definition at line 1048 of file sip.h.

Referenced by sip_new().

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 1181 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().

REFER: restriction scheme

Definition at line 1122 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 1064 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 1131 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 1069 of file sip.h.

Referenced by sip_hangup(), and transmit_request().

int authtries

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 1074 of file sip.h.

Referenced by __sip_alloc(), check_peer_ok(), create_addr_from_peer(), process_sdp_a_audio(), and transmit_response_with_sdp().

long branch

The branch identifier of this session

Definition at line 1106 of file sip.h.

Referenced by __sip_alloc(), build_via(), forked_invite_init(), reqprep(), transmit_invite(), transmit_register(), and transmit_response_using_temp().

Call group

Definition at line 1055 of file sip.h.

Referenced by check_peer_ok(), create_addr_from_peer(), and sip_new().

struct ast_format_cap* caps [read]

struct ast_variable* chanvars [read]

Channel variables to set for inbound call

Definition at line 1165 of file sip.h.

Referenced by __sip_destroy(), check_peer_ok(), create_addr_from_peer(), and sip_new().

uint32_t dialogver

SUBSCRIBE: Version for subscription dialog-info

Definition at line 1152 of file sip.h.

Referenced by handle_request_subscribe(), state_notify_build_xml(), and transmit_state_notify().

Definition at line 1048 of file sip.h.

Referenced by sip_handle_cc(), and sip_queryoption().

struct ast_acl_list* directmediaacl [read]

Which IPs are allowed to interchange direct media with this peer - copied from sip_peer

Definition at line 1119 of file sip.h.

Referenced by __sip_destroy(), and create_addr_from_peer().

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 1186 of file sip.h.

Referenced by check_peer_ok(), create_addr_from_peer(), and set_pvt_allowed_methods().

unsigned short do_history

Definition at line 1048 of file sip.h.

Referenced by build_reply_digest(), get_destination(), reply_digest(), and sip_new().

struct ast_dsp* dsp [read]

Inband DTMF or Fax CNG tone Detection dsp

Definition at line 1154 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 [read]

Definition at line 1048 of file sip.h.

Referenced by dialog_initialize_rtp().

struct sip_epa_entry* epa_entry [read]

Definition at line 1204 of file sip.h.

Referenced by __sip_destroy(), handle_response_publish(), transmit_invite(), and transmit_publish().

int expiry

final dialog destruction is scheduled. Keep dialog around until then to handle retransmits.

Definition at line 1066 of file sip.h.

Referenced by pvt_set_needdestroy(), sip_cancel_destroy(), sip_scheddestroy(), and sip_scheddestroy_final().

struct offered_media* first [read]

Definition at line 1202 of file sip.h.

struct sip_msg_hdr* first [read]

Definition at line 1166 of file sip.h.

struct ast_flags flags[3] [read]

SIP_ flags

Definition at line 1060 of file sip.h.

Referenced by __sip_alloc(), __sip_destroy(), __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(), copy_via_headers(), create_addr_from_peer(), dialog_initialize_rtp(), do_setnat(), enable_dsp_detect(), extensionstate_update(), forked_invite_init(), get_destination(), get_rpid(), get_sip_pvt_from_replaces(), 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_o(), register_verify(), reqprep(), respprep(), retrans_pkt(), send_request(), set_address_from_contact(), 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_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(), and update_redirecting().

Domain port to show in from field

Definition at line 1205 of file sip.h.

Referenced by __sip_alloc(), create_addr_from_peer(), initreqprep(), transmit_notify_with_mwi(), transmit_register(), and transmit_response_using_temp().

Definition at line 1048 of file sip.h.

Referenced by initreqprep().

Definition at line 1048 of file sip.h.

Referenced by initreqprep().

Definition at line 1048 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 1133 of file sip.h.

Referenced by handle_incoming(), and handle_request_invite().

Storage of hangupcause copied from our owner before we disconnect from the AST channel (only used at hangup)

Definition at line 1175 of file sip.h.

Referenced by __transmit_response(), handle_response_invite(), sip_hangup(), and transmit_request_with_auth().

struct sip_history_head* history [read]

History of this SIP dialog

Definition at line 1163 of file sip.h.

Referenced by __sip_destroy(), sip_dump_history(), and sip_show_history().

Number of entires in the history

Definition at line 1164 of file sip.h.

Referenced by __sip_destroy().

uint32_t icseq

Current incoming seqno

Definition at line 1053 of file sip.h.

Referenced by handle_incoming().

uint32_t init_icseq

Initial incoming seqno from first request

Definition at line 1054 of file sip.h.

Referenced by __sip_alloc(), and match_req_to_dialog().

int initid

Auto-congest ID if appropriate (scheduler)

Definition at line 1140 of file sip.h.

Referenced by __sip_alloc(), auto_congest(), dialog_unlink_all(), handle_response_invite(), and sip_call().

struct sip_request initreq [read]

Definition at line 1048 of file sip.h.

Referenced by match_req_to_dialog().

Definition at line 1048 of file sip.h.

Referenced by match_req_to_dialog().

The branch used when we sent the initial INVITE

Definition at line 1107 of file sip.h.

Referenced by match_req_to_dialog(), reqprep(), and transmit_invite().

struct ast_format_cap* jointcaps [read]

Joint Non codec capability

Definition at line 1090 of file sip.h.

Referenced by add_sdp(), check_peer_ok(), create_addr_from_peer(), process_sdp(), sip_call(), and sip_dtmfmode().

Definition at line 1048 of file sip.h.

Referenced by sip_new().

struct offered_media* last [read]

Definition at line 1202 of file sip.h.

struct sip_msg_hdr* last [read]

Definition at line 1166 of file sip.h.

SUBSCRIBE: last known extended extension state (take care of refs)

Definition at line 1149 of file sip.h.

Referenced by __sip_destroy(), extensionstate_update(), and handle_response_notify().

Definition at line 1048 of file sip.h.

Referenced by extensionstate_update(), and handle_response_notify().

SUBSCRIBE: Last known presence state

Definition at line 1151 of file sip.h.

Referenced by extensionstate_update(), and handle_response_notify().

Definition at line 1048 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 1095 of file sip.h.

Referenced by send_provisional_keepalive_full(), and transmit_provisional_response().

struct timeval last_ringing_channel_time [read]

SUBSCRIBE: channel timestamp of the channel which caused the last early-state notification

Definition at line 1150 of file sip.h.

Referenced by extensionstate_update(), and handle_request_subscribe().

uint32_t lastinvite

char lastmsg[256]

Last Message sent/received

Definition at line 1130 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 1114 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 1115 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 1148 of file sip.h.

Referenced by extensionstate_update(), handle_request_subscribe(), handle_response_notify(), and show_channels_cb().

Identifier for call used in log messages

Definition at line 994 of file sip.h.

Referenced by forked_invite_init(), handle_request_do(), handle_request_invite(), and sip_pvt_callid_set().

Maximum Call Bitrate for Video Calls

Definition at line 1091 of file sip.h.

Referenced by __sip_alloc(), add_sdp(), check_peer_ok(), create_addr_from_peer(), and sip_show_channel().

SIP Loop prevention

Definition at line 1050 of file sip.h.

Referenced by __sip_alloc(), add_max_forwards(), check_peer_ok(), sip_call(), and sip_msg_send().

Definition at line 1048 of file sip.h.

Referenced by receive_message().

int method

SIP method that opened this dialog Global CallID The branch ID from the topmost Via header in the initial request The sent-by from the topmost Via header in the initial request Account code Authorization realm Authorization nonce Opaque nonsense Quality of Protection, since SIP wasn't complicated enough yet. Authorization domain The From: header User agent in SIP request Extension where to start Context for this call Default context for outofcall messages. Subscribecontext Subscribecontext Domain to show in the from field User to show in the user field Name to show in the user field Host we should put in the "to" field DNID of this call (overrides host) Default language for this call MOH class to use when put on hold MOH class to suggest when putting a peer on hold Referring DNIS Referring cause Their tag Provisional their tag, used when evaluating responses to invites Our tag for this session [user] name [peer] name, not set if [user] Who we use for authentication Original requested URI URI from the 200 OK on INVITE Password Caller*ID number Caller*ID name Caller*ID tag Name to place in the From header in outgoing NOTIFY requests The Contact: that the UA registers with us

Definition at line 995 of file sip.h.

Referenced by __find_call(), __sip_alloc(), __sip_autodestruct(), __sip_destroy(), __transmit_response(), dialog_initialize_rtp(), dialog_needdestroy(), handle_incoming(), match_req_to_dialog(), respprep(), sip_scheddestroy(), and transmit_response_using_temp().

Definition at line 1048 of file sip.h.

Referenced by sip_indicate().

Definition at line 1048 of file sip.h.

Referenced by process_sdp().

Definition at line 1048 of file sip.h.

Referenced by add_text().

struct { ... } msg_headers

Additional MESSAGE headers to send.

Referenced by add_msg_header(), add_text(), and destroy_msg_headers().

struct sip_subscription_mwi* mwi [read]

If this is a subscription MWI dialog, to which subscription

Definition at line 1177 of file sip.h.

Referenced by __sip_destroy(), __sip_subscribe_mwi_do(), handle_request_notify(), handle_response_subscribe(), and sip_subscribe_mwi_destroy().

Definition at line 1048 of file sip.h.

Referenced by initreqprep().

struct ast_namedgroups* named_callgroups [read]

Named call group

Definition at line 1057 of file sip.h.

Referenced by __sip_destroy(), check_peer_ok(), create_addr_from_peer(), and sip_new().

struct ast_namedgroups* named_pickupgroups [read]

Named pickup group

Definition at line 1058 of file sip.h.

Referenced by __sip_destroy(), check_peer_ok(), create_addr_from_peer(), and sip_new().

unsigned short natdetected

Whether we detected a NAT when processing the Via

Definition at line 1079 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 1065 of file sip.h.

Referenced by __sip_autodestruct(), dialog_needdestroy(), handle_request_subscribe(), pvt_set_needdestroy(), show_channels_cb(), and sip_show_channel().

struct sip_pvt* next [read]

Next dialog in chain

Definition at line 992 of file sip.h.

Nonce-count

Definition at line 1127 of file sip.h.

Referenced by build_reply_digest(), reply_digest(), transmit_register(), and transmit_response_with_auth().

DTMF RFC2833 telephony-event

Definition at line 1089 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 1071 of file sip.h.

Referenced by add_sdp(), and process_sdp().

struct sip_notify* notify [read]

Custom notify type

Definition at line 1125 of file sip.h.

Referenced by __sip_destroy(), handle_response_notify(), manager_sipnotify(), sip_cli_notify(), sip_notify_alloc(), and transmit_invite().

unsigned short novideo

Didn't get video in invite, don't offer

Definition at line 1070 of file sip.h.

Referenced by add_sdp(), process_sdp(), and sip_indicate().

uint32_t ocseq

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().

Definition at line 1048 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 1129 of file sip.h.

Referenced by __sip_autodestruct(), check_pendings(), handle_response_invite(), sip_hangup(), and transmit_reinvite_with_sdp().

Definition at line 1048 of file sip.h.

Referenced by build_reply_digest(), and reply_digest().

struct sip_invite_param* options [read]

struct ast_sockaddr ourip [read]

struct sip_proxy* outboundproxy [read]

Outbound proxy for this dialog. Use ref_proxy to set this instead of setting it directly

Definition at line 1097 of file sip.h.

Referenced by __sip_ack(), __sip_destroy(), get_transport_pvt(), ref_proxy(), send_request(), sip_prepare_socket(), and sip_real_dst().

unsigned short outgoing_call

struct ast_channel* owner [read]

struct sip_pkt* packets [read]

Definition at line 1048 of file sip.h.

Referenced by sip_new().

struct sip_auth_container* peerauth [read]

Realm authentication credentials

Definition at line 1126 of file sip.h.

Referenced by __sip_destroy(), build_reply_digest(), and create_addr_from_peer().

struct ast_format_cap* peercaps [read]

Supported peer capability

Definition at line 1086 of file sip.h.

Referenced by __sip_alloc(), __sip_destroy(), check_peer_ok(), process_sdp(), sip_get_codec(), and sip_show_channel().

Definition at line 1048 of file sip.h.

Referenced by build_reply_digest(), and check_peer_ok().

Definition at line 1048 of file sip.h.

Referenced by build_reply_digest(), and check_peer_ok().

uint32_t pendinginvite

Pickup group

Definition at line 1056 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 1109 of file sip.h.

Referenced by create_addr(), create_addr_from_peer(), and initreqprep().

struct ast_format_cap* prefcaps [read]

Preferred codec (outbound only)

Definition at line 1088 of file sip.h.

Referenced by __sip_alloc(), __sip_destroy(), add_sdp(), sip_call(), sip_new(), and sip_request_call().

Scheduler ID for provisional responses that need to be sent out to avoid cancellation

Definition at line 1094 of file sip.h.

Referenced by __sip_alloc(), dialog_unlink_all(), send_provisional_keepalive_full(), send_response(), sip_hangup(), and update_provisional_keepalive().

Definition at line 1048 of file sip.h.

Referenced by build_reply_digest(), and reply_digest().

Definition at line 1048 of file sip.h.

Referenced by sip_new().

struct ast_sockaddr recv [read]

int red

T.140 RTP Redundancy

Definition at line 1174 of file sip.h.

Referenced by process_sdp(), and sip_write().

struct ast_format_cap* redircaps [read]

Redirect codecs

Definition at line 1087 of file sip.h.

Referenced by __sip_alloc(), __sip_destroy(), add_sdp(), and sip_set_rtp_peer().

Definition at line 1048 of file sip.h.

Referenced by get_rdnis().

struct ast_sockaddr redirip [read]

Where our RTP should be going if not to us

Definition at line 1111 of file sip.h.

Referenced by add_sdp(), check_rtp_timeout(), get_our_media_address(), sip_set_rtp_peer(), and sip_show_channel().

struct sip_refer* refer [read]

struct sip_registry* registry [read]

Reinvite in case of provisional, but no final response

Definition at line 1142 of file sip.h.

Referenced by __sip_alloc(), check_pendings(), dialog_unlink_all(), handle_response_invite(), reinvite_timeout(), and sip_hangup().

struct sip_peer* relatedpeer [read]

unsigned short req_secure_signaling

Whether we are required to have secure signaling or not

Definition at line 1078 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 1083 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_destroy().

Scheduler ID of any scheduled action to process queued requests

Definition at line 1093 of file sip.h.

Referenced by __sip_alloc(), and dialog_unlink_all().

struct sip_route route [read]

List of routing steps (fm Record-Route)

Definition at line 1124 of file sip.h.

Referenced by __sip_destroy(), build_route(), create_addr_from_peer(), handle_response_invite(), initreqprep(), reqprep(), sip_poke_peer(), and sip_show_channel().

unsigned short route_persistent

Is this the "real" route?

Definition at line 1073 of file sip.h.

Referenced by build_route().

struct ast_rtp_instance* rtp [read]

RTP timeout time on hold

Definition at line 1117 of file sip.h.

Referenced by check_peer_ok(), check_user_full(), create_addr(), create_addr_from_peer(), and dialog_initialize_rtp().

RTP send packets for keepalive

Definition at line 1118 of file sip.h.

Referenced by check_peer_ok(), check_user_full(), create_addr(), create_addr_from_peer(), and dialog_initialize_rtp().

RTP timeout time

Definition at line 1116 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 [read]

unsigned short session_modify

Session modification request true/false

Definition at line 1072 of file sip.h.

Referenced by __sip_alloc(), handle_request_invite(), process_sdp(), and process_sdp_o().

int sessionid

SDP Session ID

Definition at line 1105 of file sip.h.

Referenced by add_sdp().

SDP Session Version

Definition at line 1104 of file sip.h.

Referenced by add_sdp().

Remote UA's SDP Session Version

Definition at line 1108 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 1082 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 [read]

struct ast_sdp_srtp* srtp [read]

Structure to hold Secure RTP session data for audio

Definition at line 1170 of file sip.h.

Referenced by __sip_destroy(), add_sdp(), 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 1128 of file sip.h.

Referenced by build_nonce(), and check_auth().

int stateid

SUBSCRIBE: ID for devicestate subscriptions

Definition at line 1147 of file sip.h.

Referenced by __sip_alloc(), dialog_unlink_all(), and handle_request_subscribe().

struct sip_st_dlg* stimer [read]

Definition at line 1048 of file sip.h.

Referenced by get_destination(), and handle_request_subscribe().

Definition at line 1048 of file sip.h.

Referenced by handle_request_subscribe(), and show_channels_cb().

struct t38properties t38 [read]

T.38 FaxMaxDatagram override

Definition at line 1092 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 1144 of file sip.h.

Referenced by __sip_alloc(), dialog_unlink_all(), handle_request_invite(), interpret_t38_parameters(), and sip_t38_abort().

Definition at line 1048 of file sip.h.

Referenced by sip_new().

Definition at line 1048 of file sip.h.

Referenced by handle_response_invite().

int timer_b

SIP timer B, ms

Definition at line 1081 of file sip.h.

Referenced by __sip_alloc(), check_peer_ok(), create_addr(), create_addr_from_peer(), sip_call(), and sip_scheddestroy().

int timer_t1

SIP timer T1, ms rtt

Definition at line 1080 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().

Definition at line 1048 of file sip.h.

Referenced by initreqprep().

Definition at line 1048 of file sip.h.

Referenced by create_addr_from_peer(), initreqprep(), sip_prepare_socket(), and transmit_register().

struct ast_sockaddr tredirip [read]

Where our Text RTP should be going if not to us

Definition at line 1113 of file sip.h.

Referenced by get_our_media_address(), and sip_set_rtp_peer().

struct ast_rtp_instance* trtp [read]

struct ast_sdp_srtp* tsrtp [read]

Structure to hold Secure RTP session data for text

Definition at line 1172 of file sip.h.

Referenced by __sip_destroy(), add_sdp(), dialog_initialize_rtp(), process_sdp(), and sip_call().

struct ast_udptl* udptl [read]

struct ast_sockaddr udptlredirip [read]

Where our T.38 UDPTL should be going if not to us

Definition at line 1099 of file sip.h.

Definition at line 1048 of file sip.h.

Referenced by reqprep(), and respprep().

char via[128]

Via: header

Definition at line 1049 of file sip.h.

Referenced by build_via(), initreqprep(), reqprep(), and transmit_register().

struct ast_sockaddr vredirip [read]

Where our Video RTP should be going if not to us

Definition at line 1112 of file sip.h.

Referenced by get_our_media_address(), and sip_set_rtp_peer().

struct ast_rtp_instance* vrtp [read]

struct ast_sdp_srtp* vsrtp [read]

Structure to hold Secure RTP session data for video

Definition at line 1171 of file sip.h.

Referenced by __sip_destroy(), add_sdp(), dialog_initialize_rtp(), process_sdp(), and sip_call().

int waitid

Wait ID for scheduler after 491 or other delays

Definition at line 1141 of file sip.h.

Referenced by __sip_alloc(), check_pendings(), dialog_unlink_all(), handle_request_bye(), handle_response_invite(), sip_hangup(), and sip_reinvite_retry().

char zone[MAX_TONEZONE_COUNTRY]

Default tone zone for channels created by this dialog

Definition at line 1101 of file sip.h.

Referenced by __sip_alloc(), check_peer_ok(), create_addr_from_peer(), and sip_new().


The documentation for this struct was generated from the following file:

Generated on Thu Apr 16 06:37:25 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6