
Definition at line 1688 of file chan_sip.c.
struct ast_string_field_mgr __field_mgr [read] |
Definition at line 1734 of file chan_sip.c.
struct ast_string_field_pool* __field_mgr_pool [read] |
< Our contact header
< URL to be sent with next message to peer
< Parkinglot
< RTP engine to use
Definition at line 1734 of file chan_sip.c.
| 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 1848 of file chan_sip.c.
Referenced by create_addr(), handle_response(), set_pvt_allowed_methods(), sip_alloc(), sip_sendtext(), and update_connectedline().
REFER: restriction scheme
Definition at line 1798 of file chan_sip.c.
Referenced by create_addr_from_peer(), handle_request_refer(), sip_alloc(), and sip_show_channel().
| unsigned short alreadygone |
already destroyed by our peer
Definition at line 1746 of file chan_sip.c.
Referenced by __sip_autodestruct(), handle_incoming(), handle_response_invite(), sip_alreadygone(), sip_hangup(), and sip_set_rtp_peer().
| int amaflags |
| unsigned short answered_elsewhere |
This call is cancelled due to answer on another channel
Definition at line 1749 of file chan_sip.c.
Referenced by sip_hangup(), and transmit_request().
| const ast_string_field authname |
Definition at line 1734 of file chan_sip.c.
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 1776 of file chan_sip.c.
Referenced by do_proxy_auth(), do_register_auth(), handle_response(), handle_response_invite(), handle_response_notify(), 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 1754 of file chan_sip.c.
Referenced by check_peer_ok(), create_addr_from_peer(), process_sdp(), sip_alloc(), and transmit_response_with_sdp().
| int autokillid |
Auto-kill ID (scheduler)
Definition at line 1817 of file chan_sip.c.
Referenced by __sip_autodestruct(), cb_extensionstate(), dialog_unlink_all(), handle_request_invite(), handle_request_subscribe(), sip_alloc(), sip_cancel_destroy(), sip_hangup(), and sip_scheddestroy().
| long branch |
The branch identifier of this session
Definition at line 1785 of file chan_sip.c.
Referenced by build_via(), reqprep(), sip_alloc(), transmit_invite(), transmit_register(), and transmit_response_using_temp().
Call group
Definition at line 1739 of file chan_sip.c.
Referenced by check_peer_ok(), create_addr_from_peer(), and sip_new().
| const ast_string_field callid |
Definition at line 1734 of file chan_sip.c.
Referenced by __sip_ack(), __sip_autodestruct(), __sip_destroy(), __sip_semi_ack(), build_callid_pvt(), build_callid_registry(), build_reply_digest(), check_pendings(), complete_sipch(), create_addr_from_peer(), dialog_cmp_cb(), dialog_dump_func(), dialog_hash_cb(), dialog_needdestroy(), find_call(), get_sip_pvt_byid_locked(), handle_request_bye(), handle_request_do(), handle_request_info(), handle_request_invite(), handle_request_notify(), handle_request_refer(), handle_request_register(), handle_request_subscribe(), handle_response(), handle_response_invite(), handle_response_refer(), handle_response_register(), initialize_initreq(), initreqprep(), local_attended_transfer(), proc_session_timer(), process_request_queue(), process_sdp(), receive_message(), reqprep(), restart_session_timer(), retrans_pkt(), show_channels_cb(), show_chanstats_cb(), sip_alloc(), sip_alreadygone(), sip_destroy(), sip_dump_history(), sip_fixup(), sip_hangup(), sip_new(), sip_request_call(), sip_scheddestroy(), sip_set_rtp_peer(), sip_set_udptl_peer(), sip_show_channel(), sip_show_history(), start_session_timer(), state_notify_build_xml(), stop_session_timer(), 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 1781 of file chan_sip.c.
Referenced by check_peer_ok(), get_pai(), get_rpid(), handle_request_invite(), handle_request_update(), handle_response_invite(), sip_call(), and sip_new().
| int capability |
Special capability (codec)
Definition at line 1764 of file chan_sip.c.
Referenced by check_peer_ok(), create_addr_from_peer(), dialog_initialize_rtp(), handle_request_invite(), process_sdp(), sip_alloc(), sip_call(), sip_get_codec(), sip_new(), sip_show_channel(), and try_suggested_sip_codec().
struct ast_variable* chanvars [read] |
Channel variables to set for inbound call
Definition at line 1836 of file chan_sip.c.
Referenced by __sip_destroy(), check_peer_ok(), create_addr_from_peer(), and sip_new().
| const ast_string_field cid_name |
Definition at line 1734 of file chan_sip.c.
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 |
Definition at line 1734 of file chan_sip.c.
Referenced by get_destination(), get_pai(), get_rpid(), handle_request_invite(), handle_request_update(), handle_response_invite(), show_channels_cb(), sip_new(), and sip_show_channel().
| const ast_string_field context |
Definition at line 1734 of file chan_sip.c.
Referenced by find_calling_channel(), 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(), handle_response_notify(), sip_new(), and transmit_state_notify().
| int dialogver |
SUBSCRIBE: Version for subscription dialog-info
Definition at line 1823 of file chan_sip.c.
Referenced by handle_request_subscribe(), state_notify_build_xml(), and transmit_state_notify().
| 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 1853 of file chan_sip.c.
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 1745 of file chan_sip.c.
Referenced by append_history_full(), do_register_auth(), handle_request_bye(), handle_request_do(), handle_request_invite(), send_request(), send_response(), sip_alloc(), sip_hangup(), sip_new(), sip_reregister(), sip_scheddestroy(), sip_set_rtp_peer(), temp_pvt_init(), transmit_register(), and transmit_reinvite_with_sdp().
| const ast_string_field domain |
Definition at line 1734 of file chan_sip.c.
Referenced by build_reply_digest(), get_destination(), reply_digest(), and sip_new().
Inband DTMF Detection dsp
Definition at line 1825 of file chan_sip.c.
Referenced by disable_digit_detect(), enable_digit_detect(), sip_queryoption(), and sip_rtp_read().
| const ast_string_field engine |
| int expiry |
How long we take to expire
Definition at line 1782 of file chan_sip.c.
Referenced by handle_request_subscribe(), parse_register_contact(), register_verify(), respprep(), show_channels_cb(), transmit_notify_with_mwi(), and transmit_state_notify().
| const ast_string_field exten |
Definition at line 1734 of file chan_sip.c.
Referenced by build_contact(), check_user_full(), find_calling_channel(), get_destination(), handle_request_invite(), handle_request_subscribe(), handle_response(), handle_response_notify(), sip_new(), and transmit_state_notify().
SIP_ flags
Definition at line 1742 of file chan_sip.c.
Referenced by __sip_destroy(), __sip_subscribe_mwi_do(), __transmit_response(), add_codec_to_sdp(), add_rpid(), add_sdp(), build_via(), cb_extensionstate(), change_t38_state(), 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(), find_call(), get_rpid(), handle_invite_replaces(), 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_notify(), initreqprep(), interpret_t38_parameters(), local_attended_transfer(), manager_sipnotify(), parse_moved_contact(), process_sdp(), register_verify(), reqprep(), respprep(), send_request(), set_address_from_contact(), set_pvt_allowed_methods(), set_t38_capabilities(), show_channels_cb(), sip_alloc(), sip_answer(), sip_call(), sip_cli_notify(), sip_dtmfmode(), sip_get_rtp_peer(), sip_get_trtp_peer(), sip_get_udptl_peer(), sip_get_vrtp_peer(), sip_hangup(), sip_indicate(), sip_nat_mode(), sip_new(), sip_poke_peer(), sip_queryoption(), sip_read(), sip_real_dst(), sip_reinvite_retry(), sip_rtp_read(), sip_send_mwi_to_peer(), sip_senddigit_begin(), sip_senddigit_end(), sip_sendhtml(), sip_set_rtp_peer(), sip_set_udptl_peer(), sip_setoption(), sip_show_channel(), sip_write(), transmit_info_with_digit(), transmit_invite(), transmit_notify_with_mwi(), transmit_refer(), transmit_register(), transmit_reinvite_with_sdp(), transmit_response_using_temp(), transmit_response_with_sdp(), update_call_counter(), update_connectedline(), and update_redirecting().
| const ast_string_field from |
Definition at line 1734 of file chan_sip.c.
Referenced by acf_channel_read(), find_call(), and function_sipchaninfo_read().
| const ast_string_field fromdomain |
Definition at line 1734 of file chan_sip.c.
Referenced by add_rpid(), build_callid_pvt(), initreqprep(), sip_alloc(), sip_new(), state_notify_build_xml(), transmit_notify_with_mwi(), and transmit_response_using_temp().
| const ast_string_field fromname |
| const ast_string_field fromuser |
| const ast_string_field fullcontact |
Definition at line 1734 of file chan_sip.c.
Referenced by handle_response_invite(), initreqprep(), respprep(), set_address_from_contact(), sip_new(), sip_poke_peer(), and sip_request_call().
| int 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 1808 of file chan_sip.c.
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 1842 of file chan_sip.c.
Referenced by sip_hangup(), and transmit_request_with_auth().
struct sip_history_head* history [read] |
History of this SIP dialog
Definition at line 1834 of file chan_sip.c.
Referenced by __sip_destroy(), sip_dump_history(), and sip_show_history().
| size_t history_entries |
Number of entires in the history
Definition at line 1835 of file chan_sip.c.
Referenced by __sip_destroy().
| unsigned int icseq |
| int initid |
Auto-congest ID if appropriate (scheduler)
Definition at line 1815 of file chan_sip.c.
Referenced by auto_congest(), dialog_unlink_all(), handle_response_invite(), sip_alloc(), and sip_call().
struct sip_request initreq [read] |
Latest request that opened a new transaction within this dialog. NOT the request that opened the dialog
Definition at line 1811 of file chan_sip.c.
Referenced by __sip_destroy(), create_addr_from_peer(), func_header_read(), 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_register(), handle_request_subscribe(), handle_response(), handle_response_invite(), handle_response_notify(), handle_response_refer(), handle_response_register(), handle_response_subscribe(), handle_response_update(), initialize_initreq(), interpret_t38_parameters(), register_verify(), reqprep(), send_provisional_keepalive_full(), send_response(), sip_answer(), sip_hangup(), sip_indicate(), 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().
| long invite_branch |
The branch used when we sent the initial INVITE
Definition at line 1786 of file chan_sip.c.
Referenced by reqprep(), and transmit_invite().
| enum invitestates invitestate |
Track state of SIP_INVITEs
Definition at line 1690 of file chan_sip.c.
Referenced by check_pendings(), handle_incoming(), handle_request_bye(), handle_request_cancel(), handle_request_invite(), handle_response_invite(), send_provisional_keepalive_full(), show_chanstats_cb(), sip_call(), sip_hangup(), sip_indicate(), sip_read(), sip_write(), transmit_request(), and update_connectedline().
| int jointcapability |
Supported capability at both ends (codecs)
Definition at line 1765 of file chan_sip.c.
Referenced by add_sdp(), check_peer_ok(), handle_request_invite(), process_sdp(), sip_call(), sip_new(), sip_request_call(), sip_rtp_read(), sip_show_channel(), and try_suggested_sip_codec().
Joint Non codec capability
Definition at line 1769 of file chan_sip.c.
Referenced by add_sdp(), check_peer_ok(), create_addr_from_peer(), process_sdp(), sip_call(), and sip_dtmfmode().
| const ast_string_field language |
| const char* last_provisional |
The last successfully transmitted provisonal response message
Definition at line 1775 of file chan_sip.c.
Referenced by send_provisional_keepalive_full(), and transmit_provisional_response().
| int lastinvite |
Last Cseq of invite
Definition at line 1741 of file chan_sip.c.
Referenced by check_pendings(), handle_incoming(), handle_request_cancel(), handle_request_invite(), handle_request_notify(), handle_request_options(), 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 1805 of file chan_sip.c.
Referenced by __sip_autodestruct(), handle_incoming(), initreqprep(), reqprep(), show_channels_cb(), and sip_show_channel().
| time_t lastrtprx |
Last RTP received
Definition at line 1793 of file chan_sip.c.
Referenced by add_sdp(), check_rtp_timeout(), process_sdp(), sip_read(), sip_set_rtp_peer(), and sip_set_udptl_peer().
| time_t lastrtptx |
Last RTP sent
Definition at line 1794 of file chan_sip.c.
Referenced by add_sdp(), process_sdp(), sip_set_rtp_peer(), sip_set_udptl_peer(), and sip_write().
| int laststate |
SUBSCRIBE: Last known extension state
Definition at line 1822 of file chan_sip.c.
Referenced by cb_extensionstate(), handle_request_subscribe(), handle_response(), handle_response_notify(), and show_channels_cb().
| int maxcallbitrate |
Maximum Call Bitrate for Video Calls
Definition at line 1771 of file chan_sip.c.
Referenced by add_sdp(), check_peer_ok(), create_addr_from_peer(), sip_alloc(), and sip_show_channel().
| int method |
SIP method that opened this dialog Global CallID Random data 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 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 [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 Name to place in the From header in outgoing NOTIFY requests The Contact: that the UA registers with us
Definition at line 1691 of file chan_sip.c.
Referenced by __sip_autodestruct(), __sip_destroy(), __transmit_response(), dialog_initialize_rtp(), dialog_needdestroy(), handle_incoming(), handle_response(), respprep(), sip_alloc(), sip_scheddestroy(), and transmit_response_using_temp().
| const ast_string_field mohinterpret |
| const ast_string_field mohsuggest |
struct sip_subscription_mwi* mwi [read] |
If this is a subscription MWI dialog, to which subscription
Definition at line 1844 of file chan_sip.c.
Referenced by __sip_destroy(), __sip_subscribe_mwi_do(), handle_request_notify(), handle_response_subscribe(), and sip_subscribe_mwi_destroy().
| const ast_string_field mwi_from |
| unsigned short needdestroy |
need to be destroyed by the monitor thread
Definition at line 1747 of file chan_sip.c.
Referenced by __sip_autodestruct(), dialog_needdestroy(), handle_request_subscribe(), pvt_set_needdestroy(), show_channels_cb(), sip_hangup(), and sip_show_channel().
Next dialog in chain
Definition at line 1689 of file chan_sip.c.
| const ast_string_field nonce |
| int noncecount |
Nonce-count
Definition at line 1803 of file chan_sip.c.
Referenced by build_reply_digest(), reply_digest(), transmit_register(), and transmit_response_with_auth().
DTMF RFC2833 telephony-event
Definition at line 1768 of file chan_sip.c.
Referenced by check_peer_ok(), create_addr_from_peer(), process_sdp(), sip_alloc(), sip_call(), and sip_show_channel().
| unsigned short notext |
Text not supported (?)
Definition at line 1751 of file chan_sip.c.
Referenced by add_sdp(), and process_sdp().
struct sip_notify* notify [read] |
Custom notify type
Definition at line 1801 of file chan_sip.c.
Referenced by __sip_destroy(), handle_response_notify(), manager_sipnotify(), sip_cli_notify(), sip_notify_allocate(), and transmit_invite().
| unsigned short novideo |
Didn't get video in invite, don't offer
Definition at line 1750 of file chan_sip.c.
Referenced by add_sdp(), process_sdp(), and sip_indicate().
| unsigned int ocseq |
Current outgoing seqno
Definition at line 1737 of file chan_sip.c.
Referenced by handle_incoming(), initreqprep(), reqprep(), sip_alloc(), transmit_info_with_digit(), transmit_info_with_vidupdate(), transmit_invite(), transmit_message_with_text(), transmit_notify_with_mwi(), transmit_notify_with_sipfrag(), transmit_refer(), 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 offered_media[OFFERED_MEDIA_COUNT] [read] |
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.
Definition at line 1869 of file chan_sip.c.
Referenced by add_sdp(), process_sdp(), transmit_invite(), and transmit_reinvite_with_sdp().
| const ast_string_field okcontacturi |
| const ast_string_field opaque |
struct sip_invite_param* options [read] |
Options for INVITE
Definition at line 1838 of file chan_sip.c.
Referenced by __sip_destroy(), do_proxy_auth(), handle_response(), handle_response_invite(), handle_response_subscribe(), handle_response_update(), initreqprep(), sip_call(), sip_request_call(), transmit_invite(), and transmit_request_with_auth().
| const ast_string_field our_contact |
Definition at line 1734 of file chan_sip.c.
Referenced by check_user_full(), handle_response_register(), initreqprep(), reqprep(), respprep(), transmit_refer(), and transmit_register().
struct sockaddr_in ourip [read] |
Our IP (as seen from the outside)
Definition at line 1797 of file chan_sip.c.
Referenced by __sip_subscribe_mwi_do(), add_diversion_header(), add_rpid(), add_sdp(), build_callid_pvt(), build_contact(), build_via(), check_via_response(), get_our_media_address(), initreqprep(), sip_alloc(), sip_poke_peer(), sip_request_call(), sip_send_mwi_to_peer(), sip_set_rtp_peer(), sip_set_udptl_peer(), sip_show_channel(), transmit_notify_with_mwi(), transmit_register(), and transmit_response_using_temp().
struct sip_proxy* outboundproxy [read] |
Outbound proxy for this dialog. Use ref_proxy to set this instead of setting it directly
Definition at line 1777 of file chan_sip.c.
Referenced by __sip_ack(), get_transport_pvt(), ref_proxy(), send_request(), sip_prepare_socket(), and sip_real_dst().
| unsigned short outgoing_call |
this is an outgoing call
Definition at line 1748 of file chan_sip.c.
Referenced by change_t38_state(), get_sip_pvt_byid_locked(), handle_response_invite(), proc_session_timer(), sip_request_call(), try_suggested_sip_codec(), and update_call_counter().
struct ast_channel* owner [read] |
Who owns us (if we have an owner)
Definition at line 1799 of file chan_sip.c.
Referenced by __sip_autodestruct(), __sip_destroy(), __transmit_response(), add_diversion_header(), add_rpid(), add_sdp(), auto_congest(), change_t38_state(), check_rtp_timeout(), dialog_needdestroy(), dialog_unlink_all(), get_also_info(), get_pai(), get_rdnis(), get_refer_info(), get_rpid(), get_sip_pvt_byid_locked(), 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(), initreqprep(), local_attended_transfer(), parse_moved_contact(), proc_session_timer(), process_sdp(), receive_message(), retrans_pkt(), scheduler_process_request_queue(), show_channels_cb(), show_chanstats_cb(), sip_fixup(), sip_hangup(), sip_new(), sip_request_call(), sip_rtp_read(), sip_show_channel(), sip_sipredirect(), transmit_invite(), try_suggested_sip_codec(), unload_module(), update_connectedline(), and update_redirecting().
Packets scheduled for re-transmission
Definition at line 1833 of file chan_sip.c.
Referenced by __sip_ack(), __sip_autodestruct(), __sip_pretend_ack(), __sip_reliable_xmit(), __sip_semi_ack(), dialog_needdestroy(), dialog_unlink_all(), handle_request_cancel(), retrans_pkt(), and sip_hangup().
| const ast_string_field parkinglot |
Realm authentication
Definition at line 1802 of file chan_sip.c.
Referenced by build_reply_digest(), create_addr_from_peer(), and transmit_register().
| int peercapability |
Supported peer capability
Definition at line 1766 of file chan_sip.c.
Referenced by check_peer_ok(), process_sdp(), sip_get_codec(), and sip_show_channel().
Definition at line 1734 of file chan_sip.c.
Referenced by build_reply_digest(), and check_peer_ok().
| const ast_string_field peername |
Definition at line 1734 of file chan_sip.c.
Referenced by acf_channel_read(), build_reply_digest(), function_sipchaninfo_read(), handle_request_invite(), handle_response(), handle_response_invite(), handle_response_register(), sip_peer_hold(), sip_request_call(), sip_show_channel(), st_get_mode(), st_get_refresher(), st_get_se(), and update_call_counter().
| const ast_string_field peersecret |
Definition at line 1734 of file chan_sip.c.
Referenced by build_reply_digest(), and check_peer_ok().
| int pendinginvite |
Any pending INVITE or state NOTIFY (in subscribe pvt's) ? (seqno of this)
Definition at line 1807 of file chan_sip.c.
Referenced by __sip_ack(), __sip_reliable_xmit(), cb_extensionstate(), check_pendings(), handle_incoming(), handle_request_bye(), handle_request_invite(), handle_response(), handle_response_invite(), interpret_t38_parameters(), sip_hangup(), sip_read(), sip_sendhtml(), sip_set_rtp_peer(), sip_set_udptl_peer(), transmit_response_with_sdp(), transmit_response_with_t38_sdp(), and transmit_state_notify().
Pickup group
Definition at line 1740 of file chan_sip.c.
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 1788 of file chan_sip.c.
Referenced by create_addr(), create_addr_from_peer(), and initreqprep().
| int prefcodec |
Preferred codec (outbound only)
Definition at line 1767 of file chan_sip.c.
Referenced by add_sdp(), sip_call(), sip_new(), and sip_request_call().
struct ast_codec_pref prefs [read] |
codec prefs
Definition at line 1763 of file chan_sip.c.
Referenced by add_sdp(), check_peer_ok(), create_addr_from_peer(), process_sdp(), sip_alloc(), sip_new(), and transmit_response_with_sdp().
Scheduler ID for provisional responses that need to be sent out to avoid cancellation
Definition at line 1774 of file chan_sip.c.
Referenced by dialog_unlink_all(), send_response(), sip_alloc(), and update_provisional_keepalive().
| const ast_string_field qop |
| const ast_string_field randdata |
Definition at line 1734 of file chan_sip.c.
Referenced by check_auth(), handle_incoming(), set_nonce_randdata(), and transmit_fake_auth_response().
| const ast_string_field rdnis |
| const ast_string_field realm |
Definition at line 1734 of file chan_sip.c.
Referenced by build_reply_digest(), check_auth(), get_realm(), reply_digest(), transmit_request_with_auth(), and transmit_response_with_auth().
struct sockaddr_in recv [read] |
Received as
Definition at line 1796 of file chan_sip.c.
Referenced by __sip_subscribe_mwi_do(), acf_channel_read(), check_peer_ok(), check_via(), copy_via_headers(), create_addr(), create_addr_from_peer(), function_sipchaninfo_read(), handle_request_bye(), handle_request_do(), handle_request_notify(), handle_response(), handle_response_notify(), handle_response_refer(), parse_register_contact(), process_request_queue(), send_request(), set_address_from_contact(), sip_alloc(), 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 1841 of file chan_sip.c.
Referenced by process_sdp(), and sip_write().
| const ast_string_field redircause |
| int redircodecs |
struct sockaddr_in redirip [read] |
Where our RTP should be going if not to us
Definition at line 1790 of file chan_sip.c.
Referenced by check_rtp_timeout(), get_our_media_address(), sip_set_rtp_peer(), and sip_show_channel().
REFER: SIP transfer data structure
Definition at line 1819 of file chan_sip.c.
Referenced by __sip_autodestruct(), __sip_destroy(), get_also_info(), get_refer_info(), handle_invite_replaces(), handle_request_bye(), handle_request_invite(), handle_request_refer(), handle_response(), handle_response_notify(), handle_response_refer(), local_attended_transfer(), show_channels_cb(), sip_hangup(), sip_refer_allocate(), transmit_invite(), and transmit_refer().
struct sip_registry* registry [read] |
If this is a REGISTER dialog, to which registry
Definition at line 1829 of file chan_sip.c.
Referenced by __sip_destroy(), dialog_unlink_all(), do_register_auth(), handle_response(), handle_response_register(), reply_digest(), sip_reg_timeout(), sip_registry_destroy(), and transmit_register().
struct sip_peer* relatedpeer [read] |
If this dialog is related to a peer, which one Used in peerpoke, mwi subscriptions
Definition at line 1827 of file chan_sip.c.
Referenced by __sip_autodestruct(), __sip_destroy(), dialog_unlink_all(), handle_request_subscribe(), handle_response(), handle_response_peerpoke(), show_channels_cb(), and sip_poke_peer().
| unsigned int reqsipoptions |
Required SIP options on the other end
Definition at line 1762 of file chan_sip.c.
Referenced by handle_request_invite().
Requests that arrived but could not be processed immediately
Referenced by __sip_destroy(), handle_request_do(), process_request_queue(), queue_request(), scheduler_process_request_queue(), and sip_alloc().
Scheduler ID of any scheduled action to process queued requests
Definition at line 1773 of file chan_sip.c.
Referenced by dialog_unlink_all(), handle_request_do(), queue_request(), scheduler_process_request_queue(), and sip_alloc().
Head of linked list of routing steps (fm Record-Route)
Definition at line 1800 of file chan_sip.c.
Referenced by __sip_destroy(), build_route(), handle_response_invite(), initreqprep(), reqprep(), and sip_show_channel().
| unsigned short route_persistent |
struct ast_rtp_instance* rtp [read] |
RTP Session
Definition at line 1830 of file chan_sip.c.
Referenced by __sip_destroy(), acf_channel_read(), add_codec_to_sdp(), add_noncodec_to_sdp(), add_sdp(), check_peer_ok(), check_rtp_timeout(), create_addr_from_peer(), dialog_initialize_rtp(), dialog_needdestroy(), do_setnat(), get_our_media_address(), handle_request_bye(), handle_request_invite(), process_sdp(), show_chanstats_cb(), sip_alloc(), 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_setoption(), sip_write(), stop_media_flows(), transmit_invite(), and transmit_response_with_sdp().
| int rtptimeout |
struct sockaddr_in sa [read] |
Our peer
Definition at line 1789 of file chan_sip.c.
Referenced by __sip_subscribe_mwi_do(), acf_channel_read(), build_reply_digest(), check_via(), create_addr(), create_addr_from_peer(), function_sipchaninfo_read(), handle_incoming(), handle_request_subscribe(), handle_response(), initreqprep(), send_request(), set_address_from_contact(), set_destination(), show_chanstats_cb(), sip_alloc(), sip_poke_peer(), sip_real_dst(), sip_request_call(), sip_send_mwi_to_peer(), sip_show_channel(), transmit_register(), and transmit_response_using_temp().
| unsigned short session_modify |
Session modification request true/false
Definition at line 1752 of file chan_sip.c.
Referenced by handle_request_invite(), process_sdp(), and sip_alloc().
| int sessionid |
| int sessionversion |
| int64_t sessionversion_remote |
Remote UA's SDP Session Version
Definition at line 1787 of file chan_sip.c.
Referenced by process_sdp(), and sip_alloc().
| unsigned int sipoptions |
Supported SIP options on the other end
Definition at line 1761 of file chan_sip.c.
Referenced by check_peer_ok(), handle_request_invite(), parse_register_contact(), parse_sip_options(), and sip_show_channel().
struct sip_socket socket [read] |
The socket used for this dialog
Definition at line 1736 of file chan_sip.c.
Referenced by __sip_destroy(), __sip_reliable_xmit(), __sip_subscribe_mwi_do(), __sip_xmit(), ast_sip_ouraddrfor(), build_contact(), check_peer_ok(), create_addr(), create_addr_from_peer(), get_transport_pvt(), handle_request_do(), handle_request_notify(), handle_response(), initreqprep(), parse_moved_contact(), parse_register_contact(), set_address_from_contact(), sip_alloc(), sip_poke_peer(), sip_prepare_socket(), sip_request_call(), sip_send_mwi_to_peer(), transmit_notify_with_mwi(), transmit_register(), and transmit_response_using_temp().
| unsigned int stalenonce |
Marks the current nonce as responded too
Definition at line 1804 of file chan_sip.c.
Referenced by check_auth(), and set_nonce_randdata().
| int stateid |
SUBSCRIBE: ID for devicestate subscriptions
Definition at line 1821 of file chan_sip.c.
Referenced by cb_extensionstate(), dialog_unlink_all(), handle_request_subscribe(), and sip_alloc().
struct sip_st_dlg* stimer [read] |
SIP Session-Timers
Definition at line 1839 of file chan_sip.c.
Referenced by __sip_destroy(), handle_request_invite(), handle_response_invite(), proc_422_rsp(), proc_session_timer(), reqprep(), respprep(), restart_session_timer(), sip_alloc(), sip_hangup(), sip_scheddestroy(), sip_show_channel(), sip_st_alloc(), st_get_mode(), st_get_refresher(), st_get_se(), start_session_timer(), stop_session_timer(), and transmit_invite().
Definition at line 1734 of file chan_sip.c.
Referenced by get_destination(), and handle_request_subscribe().
SUBSCRIBE: Is this dialog a subscription?
Definition at line 1820 of file chan_sip.c.
Referenced by __sip_autodestruct(), cb_extensionstate(), handle_request_subscribe(), handle_response(), handle_response_notify(), show_channels_cb(), show_chanstats_cb(), sip_alloc(), sip_dump_history(), sip_show_channel(), sip_show_history(), transmit_notify_with_mwi(), and transmit_state_notify().
| const ast_string_field subscribeuri |
Definition at line 1734 of file chan_sip.c.
Referenced by handle_request_subscribe(), and show_channels_cb().
struct t38properties t38 [read] |
T38 settings
Definition at line 1778 of file chan_sip.c.
Referenced by acf_channel_read(), add_sdp(), change_t38_state(), check_pendings(), check_rtp_timeout(), function_sipchaninfo_read(), handle_request_invite(), handle_response_invite(), interpret_t38_parameters(), process_sdp(), sip_queryoption(), sip_read(), sip_write(), transmit_invite(), and transmit_response_with_sdp().
| int t38_maxdatagram |
T.38 FaxMaxDatagram override
Definition at line 1772 of file chan_sip.c.
Referenced by check_peer_ok(), create_addr_from_peer(), handle_request_invite(), process_sdp(), and sip_alloc().
| int t38id |
T.38 Response ID
Definition at line 1818 of file chan_sip.c.
Referenced by dialog_unlink_all(), handle_request_invite(), interpret_t38_parameters(), sip_alloc(), and sip_t38_abort().
| char tag[11] |
Our tag for this session
Definition at line 1758 of file chan_sip.c.
Referenced by find_call(), get_sip_pvt_byid_locked(), handle_request_invite(), handle_request_subscribe(), initreqprep(), reqprep(), respprep(), sip_alloc(), sip_show_channel(), transmit_refer(), transmit_register(), and transmit_response_using_temp().
| const ast_string_field theirtag |
Definition at line 1734 of file chan_sip.c.
Referenced by find_call(), get_sip_pvt_byid_locked(), handle_incoming(), handle_response(), initreqprep(), reqprep(), respprep(), sip_show_channel(), transmit_refer(), and transmit_register().
| int timer_b |
SIP timer B, ms
Definition at line 1760 of file chan_sip.c.
Referenced by check_peer_ok(), create_addr(), create_addr_from_peer(), sip_alloc(), sip_call(), and sip_scheddestroy().
| int timer_t1 |
SIP timer T1, ms rtt
Definition at line 1759 of file chan_sip.c.
Referenced by __sip_reliable_xmit(), check_peer_ok(), create_addr(), create_addr_from_peer(), sip_alloc(), and sip_scheddestroy().
| const ast_string_field todnid |
| const ast_string_field tohost |
Definition at line 1734 of file chan_sip.c.
Referenced by create_addr_from_peer(), initreqprep(), sip_poke_peer(), and sip_prepare_socket().
struct sockaddr_in tredirip [read] |
Where our Text RTP should be going if not to us
Definition at line 1792 of file chan_sip.c.
Referenced by get_our_media_address(), and sip_set_rtp_peer().
struct ast_rtp_instance* trtp [read] |
Text RTP session
Definition at line 1832 of file chan_sip.c.
Referenced by __sip_destroy(), acf_channel_read(), add_sdp(), add_tcodec_to_sdp(), create_addr_from_peer(), dialog_initialize_rtp(), do_setnat(), get_our_media_address(), handle_request_bye(), process_sdp(), sip_get_trtp_peer(), sip_hangup(), sip_new(), sip_rtp_read(), sip_write(), and stop_media_flows().
T.38 UDPTL session
Definition at line 1780 of file chan_sip.c.
Referenced by __sip_destroy(), add_sdp(), change_t38_state(), check_peer_ok(), create_addr_from_peer(), do_setnat(), handle_request_invite(), handle_response_invite(), interpret_t38_parameters(), process_sdp(), set_t38_capabilities(), sip_alloc(), sip_get_udptl_peer(), sip_new(), sip_rtp_read(), sip_show_channel(), sip_write(), stop_media_flows(), transmit_invite(), and transmit_response_with_t38_sdp().
struct sockaddr_in udptlredirip [read] |
Where our T.38 UDPTL should be going if not to us
Definition at line 1779 of file chan_sip.c.
Referenced by add_sdp(), and sip_set_udptl_peer().
| const ast_string_field uri |
Definition at line 1734 of file chan_sip.c.
Referenced by acf_channel_read(), build_reply_digest(), function_sipchaninfo_read(), initreqprep(), reqprep(), sip_new(), and sip_show_channel().
| const ast_string_field url |
| const ast_string_field useragent |
Definition at line 1734 of file chan_sip.c.
Referenced by acf_channel_read(), function_sipchaninfo_read(), handle_incoming(), handle_request_subscribe(), and sip_show_channel().
| const ast_string_field username |
Definition at line 1734 of file chan_sip.c.
Referenced by build_reply_digest(), cb_extensionstate(), handle_request_invite(), handle_request_subscribe(), handle_response(), 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 1735 of file chan_sip.c.
Referenced by build_via(), initreqprep(), reqprep(), and transmit_register().
struct sockaddr_in vredirip [read] |
Where our Video RTP should be going if not to us
Definition at line 1791 of file chan_sip.c.
Referenced by get_our_media_address(), and sip_set_rtp_peer().
struct ast_rtp_instance* vrtp [read] |
Video RTP session
Definition at line 1831 of file chan_sip.c.
Referenced by __sip_destroy(), acf_channel_read(), add_sdp(), add_vcodec_to_sdp(), check_rtp_timeout(), create_addr_from_peer(), dialog_initialize_rtp(), dialog_needdestroy(), do_setnat(), get_our_media_address(), handle_request_bye(), handle_request_invite(), process_sdp(), sip_get_vrtp_peer(), sip_hangup(), sip_indicate(), sip_new(), sip_rtp_read(), sip_show_channel(), sip_write(), and stop_media_flows().
| int waitid |
Wait ID for scheduler after 491 or other delays
Definition at line 1816 of file chan_sip.c.
Referenced by check_pendings(), dialog_unlink_all(), handle_response_invite(), sip_alloc(), sip_hangup(), and sip_reinvite_retry().
1.5.6