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

Public Member Functions | |
| AST_DECLARE_STRING_FIELDS (AST_STRING_FIELD(callid);AST_STRING_FIELD(randdata);AST_STRING_FIELD(accountcode);AST_STRING_FIELD(realm);AST_STRING_FIELD(nonce);AST_STRING_FIELD(opaque);AST_STRING_FIELD(qop);AST_STRING_FIELD(domain);AST_STRING_FIELD(from);AST_STRING_FIELD(useragent);AST_STRING_FIELD(exten);AST_STRING_FIELD(context);AST_STRING_FIELD(subscribecontext);AST_STRING_FIELD(subscribeuri);AST_STRING_FIELD(fromdomain);AST_STRING_FIELD(fromuser);AST_STRING_FIELD(fromname);AST_STRING_FIELD(tohost);AST_STRING_FIELD(todnid);AST_STRING_FIELD(language);AST_STRING_FIELD(mohinterpret);AST_STRING_FIELD(mohsuggest);AST_STRING_FIELD(rdnis);AST_STRING_FIELD(redircause);AST_STRING_FIELD(theirtag);AST_STRING_FIELD(username);AST_STRING_FIELD(peername);AST_STRING_FIELD(authname);AST_STRING_FIELD(uri);AST_STRING_FIELD(okcontacturi);AST_STRING_FIELD(peersecret);AST_STRING_FIELD(peermd5secret);AST_STRING_FIELD(cid_num);AST_STRING_FIELD(cid_name);AST_STRING_FIELD(fullcontact);AST_STRING_FIELD(our_contact);AST_STRING_FIELD(rpid);AST_STRING_FIELD(rpid_from);AST_STRING_FIELD(url);AST_STRING_FIELD(parkinglot);) | |
Data Fields | |
| enum transfermodes | allowtransfer |
| char | alreadygone |
| int | amaflags |
| char | answered_elsewhere |
| int | authtries |
| int | autokillid |
| long | branch |
| ast_group_t | callgroup |
| int | callingpres |
| int | capability |
| struct ast_variable * | chanvars |
| int | dialogver |
| char | do_history |
| struct ast_dsp * | dsp |
| int | expiry |
| struct ast_flags | flags [2] |
| int | glareinvite |
| struct sip_history_head * | history |
| size_t | history_entries |
| unsigned int | icseq |
| int | initid |
| struct sip_request | initreq |
| long | invite_branch |
| enum invitestates | invitestate |
| int | jointcapability |
| int | jointnoncodeccapability |
| int | lastinvite |
| char | lastmsg [256] |
| time_t | lastrtprx |
| time_t | lastrtptx |
| int | laststate |
| int | maxcallbitrate |
| int | method |
| char | needdestroy |
| struct sip_pvt * | next |
| int | noncecount |
| int | noncodeccapability |
| char | notext |
| struct ast_variable * | notify_headers |
| char | novideo |
| unsigned int | ocseq |
| struct sockaddr_in | ourip |
| struct sip_proxy * | outboundproxy |
| char | outgoing_call |
| struct ast_channel * | owner |
| struct sip_pkt * | packets |
| struct sip_auth * | peerauth |
| int | peercapability |
| int | pendinginvite |
| ast_group_t | pickupgroup |
| unsigned int | portinuri:1 |
| int | prefcodec |
| struct ast_codec_pref | prefs |
| struct sockaddr_in | recv |
| int | redircodecs |
| struct sockaddr_in | redirip |
| struct sip_refer * | refer |
| struct sip_registry * | registry |
| struct sip_peer * | relatedpeer |
| unsigned int | reqsipoptions |
| struct sip_route * | route |
| int | route_persistant |
| struct ast_rtp * | rtp |
| int | rtptimeout |
| struct sockaddr_in | sa |
| int | session_modify |
| int | sessionid |
| int | sessionversion |
| int64_t | sessionversion_remote |
| unsigned int | sipoptions |
| struct sip_socket | socket |
| unsigned int | stalenonce:1 |
| int | stateid |
| enum subscriptiontype | subscribed |
| struct t38properties | t38 |
| int | t38_maxdatagram |
| int | t38id |
| char | tag [11] |
| int | timer_b |
| int | timer_t1 |
| struct sockaddr_in | tredirip |
| struct ast_rtp * | trtp |
| struct ast_udptl * | udptl |
| struct sockaddr_in | udptlredirip |
| char | via [128] |
| struct sockaddr_in | vredirip |
| struct ast_rtp * | vrtp |
| int | waitid |
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 1550 of file chan_sip.c.
| AST_DECLARE_STRING_FIELDS | ( | AST_STRING_FIELD(callid);AST_STRING_FIELD(randdata);AST_STRING_FIELD(accountcode);AST_STRING_FIELD(realm);AST_STRING_FIELD(nonce);AST_STRING_FIELD(opaque);AST_STRING_FIELD(qop);AST_STRING_FIELD(domain);AST_STRING_FIELD(from);AST_STRING_FIELD(useragent);AST_STRING_FIELD(exten);AST_STRING_FIELD(context);AST_STRING_FIELD(subscribecontext);AST_STRING_FIELD(subscribeuri);AST_STRING_FIELD(fromdomain);AST_STRING_FIELD(fromuser);AST_STRING_FIELD(fromname);AST_STRING_FIELD(tohost);AST_STRING_FIELD(todnid);AST_STRING_FIELD(language);AST_STRING_FIELD(mohinterpret);AST_STRING_FIELD(mohsuggest);AST_STRING_FIELD(rdnis);AST_STRING_FIELD(redircause);AST_STRING_FIELD(theirtag);AST_STRING_FIELD(username);AST_STRING_FIELD(peername);AST_STRING_FIELD(authname);AST_STRING_FIELD(uri);AST_STRING_FIELD(okcontacturi);AST_STRING_FIELD(peersecret);AST_STRING_FIELD(peermd5secret);AST_STRING_FIELD(cid_num);AST_STRING_FIELD(cid_name);AST_STRING_FIELD(fullcontact);AST_STRING_FIELD(our_contact);AST_STRING_FIELD(rpid);AST_STRING_FIELD(rpid_from);AST_STRING_FIELD(url);AST_STRING_FIELD(parkinglot); | ) |
REFER: restriction scheme
Definition at line 1674 of file chan_sip.c.
Referenced by create_addr_from_peer(), handle_request_refer(), sip_alloc(), and sip_show_channel().
| char alreadygone |
already destroyed by our peer
Definition at line 1608 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 |
| char answered_elsewhere |
This call is cancelled due to answer on another channel
Definition at line 1611 of file chan_sip.c.
Referenced by sip_hangup(), and transmit_request().
| int authtries |
Times we've tried to authenticate
Definition at line 1634 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(), and handle_response_subscribe().
| int autokillid |
Auto-kill ID (scheduler)
Definition at line 1672 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 1636 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 1601 of file chan_sip.c.
Referenced by check_peer_ok(), create_addr_from_peer(), and sip_new().
| int callingpres |
Calling presentation
Definition at line 1633 of file chan_sip.c.
Referenced by build_rpid(), check_peer_ok(), check_user_full(), initreqprep(), sip_call(), and sip_new().
| int capability |
Special capability (codec)
Definition at line 1620 of file chan_sip.c.
Referenced by check_peer_ok(), create_addr_from_peer(), handle_request_invite(), process_sdp(), sip_alloc(), sip_call(), sip_get_codec(), sip_new(), sip_request_call(), sip_show_channel(), and try_suggested_sip_codec().
struct ast_variable* chanvars [read] |
Channel variables to set for inbound call
Definition at line 1692 of file chan_sip.c.
Referenced by __sip_destroy(), check_peer_ok(), create_addr_from_peer(), sip_alloc(), and sip_new().
| int dialogver |
SUBSCRIBE: Version for subscription dialog-info
Definition at line 1679 of file chan_sip.c.
Referenced by handle_request_subscribe(), and transmit_state_notify().
| char do_history |
Set if we want to record history
Definition at line 1607 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().
A DSP for inband DTMF and fax CNG tone detection
Definition at line 1681 of file chan_sip.c.
Referenced by sip_dtmfmode(), sip_hangup(), sip_new(), and sip_rtp_read().
| int expiry |
How long we take to expire
Definition at line 1635 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().
SIP_ flags
Definition at line 1604 of file chan_sip.c.
Referenced by __sip_destroy(), __sip_subscribe_mwi_do(), add_codec_to_sdp(), add_sdp(), build_via(), cb_extensionstate(), check_peer_ok(), check_pendings(), check_rtp_timeout(), check_user_full(), check_via(), copy_via_headers(), create_addr(), create_addr_from_peer(), find_call_cb(), get_destination(), 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(), process_sdp_a_audio(), process_sdp_o(), register_verify(), replace_cid(), reqprep(), respprep(), send_request(), set_address_from_contact(), 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_show_channel(), sip_write(), transmit_info_with_digit(), transmit_notify_with_mwi(), transmit_refer(), transmit_register(), transmit_reinvite_with_sdp(), transmit_response_using_temp(), transmit_response_with_sdp(), and update_call_counter().
| 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 1663 of file chan_sip.c.
Referenced by handle_incoming(), and handle_request_invite().
struct sip_history_head* history [read] |
History of this SIP dialog
Definition at line 1690 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 1691 of file chan_sip.c.
Referenced by __sip_destroy().
| unsigned int icseq |
| int initid |
Auto-congest ID if appropriate (scheduler)
Definition at line 1670 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 1666 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(), 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(), 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_custom(), transmit_notify_with_mwi(), transmit_notify_with_sipfrag(), transmit_refer(), transmit_register(), and transmit_state_notify().
| long invite_branch |
The branch used when we sent the initial INVITE
Definition at line 1637 of file chan_sip.c.
Referenced by reqprep(), and transmit_invite().
| enum invitestates invitestate |
Track state of SIP_INVITEs
Definition at line 1552 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(), and transmit_request().
| int jointcapability |
Supported capability at both ends (codecs)
Definition at line 1621 of file chan_sip.c.
Referenced by add_sdp(), check_peer_ok(), handle_request_invite(), process_sdp(), sip_call(), sip_get_codec(), sip_new(), sip_request_call(), sip_rtp_read(), sip_show_channel(), and try_suggested_sip_codec().
Joint Non codec capability
Definition at line 1625 of file chan_sip.c.
Referenced by add_sdp(), check_peer_ok(), create_addr_from_peer(), process_sdp(), sip_call(), and sip_dtmfmode().
| int lastinvite |
Last Cseq of invite
Definition at line 1603 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(), and transmit_reinvite_with_sdp().
| char lastmsg[256] |
Last Message sent/received
Definition at line 1660 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 1648 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 1649 of file chan_sip.c.
Referenced by add_sdp(), check_rtp_timeout(), process_sdp(), sip_set_rtp_peer(), sip_set_udptl_peer(), and sip_write().
| int laststate |
SUBSCRIBE: Last known extension state
Definition at line 1678 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 1627 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
Definition at line 1553 of file chan_sip.c.
Referenced by __sip_autodestruct(), __sip_destroy(), __transmit_response(), dialog_needdestroy(), handle_incoming(), handle_response(), respprep(), sip_alloc(), sip_scheddestroy(), and transmit_response_using_temp().
| char needdestroy |
need to be destroyed by the monitor thread
Definition at line 1609 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 1551 of file chan_sip.c.
| int noncecount |
Nonce-count
Definition at line 1658 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 1624 of file chan_sip.c.
Referenced by check_peer_ok(), create_addr_from_peer(), process_sdp(), sip_alloc(), sip_call(), and sip_show_channel().
| char notext |
Text not supported (?)
Definition at line 1613 of file chan_sip.c.
Referenced by add_sdp(), and process_sdp().
struct ast_variable* notify_headers [read] |
Custom notify type
Definition at line 1656 of file chan_sip.c.
Referenced by __sip_destroy(), handle_response_notify(), transmit_invite(), and transmit_notify_custom().
| char novideo |
Didn't get video in invite, don't offer
Definition at line 1612 of file chan_sip.c.
Referenced by add_sdp(), process_sdp(), and sip_indicate().
| unsigned int ocseq |
Current outgoing seqno
Definition at line 1599 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_custom(), 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(), and transmit_state_notify().
struct sockaddr_in ourip [read] |
Our IP (as seen from the outside)
Definition at line 1652 of file chan_sip.c.
Referenced by __sip_subscribe_mwi_do(), add_sdp(), build_callid_pvt(), build_contact(), build_rpid(), build_via(), check_via_response(), get_our_media_address(), initreqprep(), manager_sipnotify(), sip_alloc(), sip_cli_notify(), 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 1629 of file chan_sip.c.
Referenced by __sip_ack(), get_transport_pvt(), ref_proxy(), send_request(), sip_prepare_socket(), and sip_real_dst().
| char outgoing_call |
this is an outgoing call
Definition at line 1610 of file chan_sip.c.
Referenced by get_sip_pvt_byid_locked(), handle_response_invite(), proc_session_timer(), sip_request_call(), and update_call_counter().
struct ast_channel* owner [read] |
Who owns us (if we have an owner)
Definition at line 1653 of file chan_sip.c.
Referenced by __sip_autodestruct(), __sip_destroy(), __transmit_response(), add_sdp(), auto_congest(), build_rpid(), change_t38_state(), check_rtp_timeout(), dialog_needdestroy(), dialog_unlink_all(), get_also_info(), get_rdnis(), get_refer_info(), 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_refer(), handle_response(), handle_response_invite(), handle_response_notify(), handle_response_refer(), initreqprep(), interpret_t38_parameters(), 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(), transmit_invite(), try_suggested_sip_codec(), and unload_module().
Packets scheduled for re-transmission
Definition at line 1689 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().
Realm authentication
Definition at line 1657 of file chan_sip.c.
Referenced by build_reply_digest(), and create_addr_from_peer().
| int peercapability |
Supported peer capability
Definition at line 1622 of file chan_sip.c.
Referenced by check_peer_ok(), process_sdp(), and sip_show_channel().
| int pendinginvite |
Any pending INVITE or state NOTIFY (in subscribe pvt's) ? (seqno of this)
Definition at line 1662 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_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 1602 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 1643 of file chan_sip.c.
Referenced by create_addr(), create_addr_from_peer(), and initreqprep().
| int prefcodec |
Preferred codec (outbound only)
Definition at line 1623 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 1619 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().
struct sockaddr_in recv [read] |
Received as
Definition at line 1651 of file chan_sip.c.
Referenced by __sip_subscribe_mwi_do(), acf_channel_read(), check_peer_ok(), copy_via_headers(), create_addr(), create_addr_from_peer(), function_sipchaninfo_read(), handle_request_bye(), handle_request_do(), 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 redircodecs |
struct sockaddr_in redirip [read] |
Where our RTP should be going if not to us
Definition at line 1645 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 1675 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 1685 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 1683 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 1618 of file chan_sip.c.
Referenced by handle_request_invite().
Head of linked list of routing steps (fm Record-Route)
Definition at line 1654 of file chan_sip.c.
Referenced by __sip_destroy(), build_route(), handle_response_invite(), initreqprep(), reqprep(), and sip_show_channel().
| int route_persistant |
RTP Session
Definition at line 1686 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_needdestroy(), do_setnat(), get_our_media_address(), handle_request_bye(), handle_request_invite(), handle_response_invite(), process_sdp(), process_sdp_a_audio(), register_verify(), show_chanstats_cb(), sip_alloc(), sip_answer(), sip_dtmfmode(), sip_get_rtp_peer(), sip_hangup(), sip_indicate(), sip_new(), sip_rtp_read(), sip_senddigit_begin(), sip_senddigit_end(), sip_write(), stop_media_flows(), transmit_invite(), and transmit_response_with_sdp().
| int rtptimeout |
struct sockaddr_in sa [read] |
Our peer
Definition at line 1644 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(), manager_sipnotify(), send_request(), set_address_from_contact(), set_destination(), show_chanstats_cb(), sip_alloc(), sip_cli_notify(), sip_poke_peer(), sip_real_dst(), sip_request_call(), sip_send_mwi_to_peer(), sip_show_channel(), transmit_register(), and transmit_response_using_temp().
| int session_modify |
Session modification request true/false
Definition at line 1642 of file chan_sip.c.
Referenced by handle_request_invite(), process_sdp(), process_sdp_o(), and sip_alloc().
| int sessionid |
| int sessionversion |
| int64_t sessionversion_remote |
Remote UA's SDP Session Version
Definition at line 1641 of file chan_sip.c.
Referenced by process_sdp_o(), and sip_alloc().
| unsigned int sipoptions |
Supported SIP options on the other end
Definition at line 1617 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 1598 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_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 1659 of file chan_sip.c.
Referenced by check_auth(), and set_nonce_randdata().
| int stateid |
SUBSCRIBE: ID for devicestate subscriptions
Definition at line 1677 of file chan_sip.c.
Referenced by cb_extensionstate(), dialog_unlink_all(), handle_request_subscribe(), and sip_alloc().
SUBSCRIBE: Is this dialog a subscription?
Definition at line 1676 of file chan_sip.c.
Referenced by __sip_autodestruct(), cb_extensionstate(), handle_request_subscribe(), handle_response(), handle_response_notify(), handle_response_subscribe(), 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().
struct t38properties t38 [read] |
T38 settings
Definition at line 1630 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(), process_sdp_a_image(), process_sdp_o(), sip_queryoption(), sip_write(), transmit_invite(), and transmit_response_with_sdp().
| int t38_maxdatagram |
T.38 FaxMaxDatagram override
Definition at line 1628 of file chan_sip.c.
Referenced by check_peer_ok(), create_addr_from_peer(), handle_request_invite(), process_sdp_a_image(), and sip_alloc().
| int t38id |
T.38 Response ID
Definition at line 1673 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 1638 of file chan_sip.c.
Referenced by build_rpid(), find_call_cb(), 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().
| int timer_b |
SIP timer B, ms
Definition at line 1616 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 1615 of file chan_sip.c.
Referenced by __sip_reliable_xmit(), check_peer_ok(), create_addr(), create_addr_from_peer(), sip_alloc(), and sip_scheddestroy().
struct sockaddr_in tredirip [read] |
Where our Text RTP should be going if not to us
Definition at line 1647 of file chan_sip.c.
Referenced by add_sdp(), and sip_set_rtp_peer().
Text RTP session
Definition at line 1688 of file chan_sip.c.
Referenced by __sip_destroy(), acf_channel_read(), add_sdp(), add_tcodec_to_sdp(), check_peer_ok(), create_addr_from_peer(), do_setnat(), get_our_media_address(), handle_request_bye(), process_sdp(), process_sdp_a_text(), sip_alloc(), sip_get_trtp_peer(), sip_hangup(), sip_new(), sip_rtp_read(), sip_write(), and stop_media_flows().
T.38 UDPTL session
Definition at line 1632 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(), process_sdp_a_image(), 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 1631 of file chan_sip.c.
Referenced by add_sdp(), and sip_set_udptl_peer().
| char via[128] |
Via: header
Definition at line 1597 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 1646 of file chan_sip.c.
Referenced by get_our_media_address(), and sip_set_rtp_peer().
Video RTP session
Definition at line 1687 of file chan_sip.c.
Referenced by __sip_destroy(), acf_channel_read(), add_sdp(), add_vcodec_to_sdp(), check_peer_ok(), check_rtp_timeout(), create_addr_from_peer(), dialog_needdestroy(), do_setnat(), get_our_media_address(), handle_request_bye(), handle_request_invite(), process_sdp(), sip_alloc(), 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 1671 of file chan_sip.c.
Referenced by check_pendings(), dialog_unlink_all(), handle_response_invite(), sip_alloc(), sip_hangup(), and sip_reinvite_retry().
1.6.1