Loading...
Searching...
No Matches
sip.h
Go to the documentation of this file.
/*
* This file is part of the Sofia-SIP package
*
* Copyright (C) 2005 Nokia Corporation.
*
* Contact: Pekka Pessi <pekka.pessi@nokia-email.address.hidden>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#ifndef SIP_H
#define SIP_H
#ifndef MSG_TYPES_H
#include <sofia-sip/msg_types.h>
#endif
#ifndef MSG_MIME_H
#include <sofia-sip/msg_mime.h>
#endif
SOFIA_BEGIN_DECLS
typedef enum {
sip_method_invalid = -1,
sip_method_unknown = 0,
sip_method_invite,
sip_method_ack,
sip_method_cancel,
sip_method_bye,
sip_method_options,
sip_method_register,
sip_method_info,
sip_method_prack,
sip_method_update,
sip_method_message,
sip_method_subscribe,
sip_method_notify,
sip_method_refer,
sip_method_publish
} sip_method_t;
#define SIP_METHOD(s) sip_method_unknown, #s
#define SIP_METHOD_ACK sip_method_ack, "ACK"
#define SIP_METHOD_CANCEL sip_method_cancel, "CANCEL"
#define SIP_METHOD_BYE sip_method_bye, "BYE"
#define SIP_METHOD_INVITE sip_method_invite, "INVITE"
#define SIP_METHOD_OPTIONS sip_method_options, "OPTIONS"
#define SIP_METHOD_REGISTER sip_method_register, "REGISTER"
#define SIP_METHOD_INFO sip_method_info, "INFO"
#define SIP_METHOD_PRACK sip_method_prack, "PRACK"
#define SIP_METHOD_UPDATE sip_method_update, "UPDATE"
#define SIP_METHOD_MESSAGE sip_method_message, "MESSAGE"
#define SIP_METHOD_SUBSCRIBE sip_method_subscribe, "SUBSCRIBE"
#define SIP_METHOD_NOTIFY sip_method_notify, "NOTIFY"
#define SIP_METHOD_REFER sip_method_refer, "REFER"
#define SIP_METHOD_PUBLISH sip_method_publish, "PUBLISH"
#define SIP_NONE ((void const *)(intptr_t)-1)
#define SIP_PROTOCOL_TAG ((void *)(uintptr_t)0x53495020) /* 'SIP ' */
enum {
SIP_DEFAULT_PORT = 5060,
#define SIP_DEFAULT_PORT SIP_DEFAULT_PORT
#define SIP_DEFAULT_SERV "5060"
SIPS_DEFAULT_PORT = 5061
#define SIPS_DEFAULT_PORT SIPS_DEFAULT_PORT
#define SIPS_DEFAULT_SERV "5061"
};
typedef msg_time_t sip_time_t;
#define SIP_TIME_MAX ((sip_time_t)MSG_TIME_MAX)
typedef struct sip_s sip_t;
typedef union sip_header_u sip_header_t;
typedef struct msg_generic_s sip_generic_t;
#define g_value g_string
typedef msg_common_t sip_common_t;
typedef msg_param_t sip_param_t;
typedef struct sip_addr_s sip_addr_t;
typedef msg_auth_t sip_auth_t;
typedef struct sip_request_s sip_request_t;
typedef struct sip_status_s sip_status_t;
typedef msg_error_t sip_error_t;
typedef msg_unknown_t sip_unknown_t;
typedef msg_separator_t sip_separator_t;
typedef msg_payload_t sip_payload_t;
typedef struct sip_accept_s sip_accept_t;
typedef msg_accept_any_t sip_accept_encoding_t;
typedef msg_accept_any_t sip_accept_language_t;
typedef struct sip_allow_s sip_allow_t;
typedef struct msg_auth_info_s sip_authentication_info_t;
typedef struct msg_auth_s sip_authorization_t;
typedef struct sip_call_id_s sip_call_id_t;
typedef struct sip_call_info_s sip_call_info_t;
typedef struct sip_contact_s sip_contact_t;
typedef struct sip_cseq_s sip_cseq_t;
typedef struct msg_generic_s sip_etag_t;
typedef struct msg_generic_s sip_if_match_t;
typedef msg_content_disposition_t sip_content_disposition_t;
typedef msg_list_t sip_content_encoding_t;
typedef msg_list_t sip_content_language_t;
typedef struct sip_content_length_s sip_content_length_t;
typedef struct msg_content_type_s sip_content_type_t;
typedef struct msg_generic_s sip_mime_version_t;
typedef struct sip_date_s sip_date_t;
typedef struct sip_error_info_s sip_error_info_t;
typedef struct sip_expires_s sip_expires_t;
typedef struct sip_addr_s sip_from_t;
typedef msg_list_t sip_in_reply_to_t;
typedef struct sip_max_forwards_s sip_max_forwards_t;
typedef struct sip_min_expires_s sip_min_expires_t;
typedef struct sip_min_se_s sip_min_se_t;
typedef struct msg_generic_s sip_organization_t;
typedef struct msg_generic_s sip_priority_t;
typedef struct msg_auth_s sip_proxy_authenticate_t;
typedef struct msg_auth_info_s sip_proxy_authentication_info_t;
typedef struct msg_auth_s sip_proxy_authorization_t;
typedef msg_list_t sip_proxy_require_t;
typedef struct sip_rack_s sip_rack_t;
typedef struct sip_reason_s sip_reason_t;
typedef struct sip_route_s sip_record_route_t;
typedef struct sip_refer_to_s sip_refer_to_t;
typedef struct sip_referred_by_s sip_referred_by_t;
typedef struct sip_replaces_s sip_replaces_t;
typedef struct sip_request_disposition_s sip_request_disposition_t;
typedef struct sip_caller_prefs_s sip_caller_prefs_t;
typedef struct sip_caller_prefs_s sip_accept_contact_t;
typedef struct sip_caller_prefs_s sip_reject_contact_t;
typedef msg_list_t sip_require_t;
typedef struct sip_retry_after_s sip_retry_after_t;
typedef struct sip_route_s sip_route_t;
typedef struct sip_rseq_s sip_rseq_t;
typedef struct msg_generic_s sip_server_t;
typedef struct sip_session_expires_s
sip_session_expires_t;
typedef struct msg_generic_s sip_subject_t;
typedef struct sip_subscription_state_s
sip_subscription_state_t;
typedef msg_list_t sip_supported_t;
typedef struct sip_timestamp_s sip_timestamp_t;
typedef struct sip_addr_s sip_to_t;
typedef msg_list_t sip_unsupported_t;
typedef struct msg_generic_s sip_user_agent_t;
typedef struct sip_via_s sip_via_t;
typedef msg_warning_t sip_warning_t;
typedef struct msg_auth_s sip_www_authenticate_t;
typedef struct sip_event_s sip_event_t;
typedef msg_list_t sip_allow_events_t;
/* RFC 3323 - @Privacy */
typedef struct sip_privacy_s sip_privacy_t;
/* RFC 3327 - @Path */
typedef struct sip_route_s sip_path_t;
/* RFC 3329 - Security Mechanism Agreement */
typedef struct sip_security_agree_s sip_security_client_t;
typedef struct sip_security_agree_s sip_security_server_t;
typedef struct sip_security_agree_s sip_security_verify_t;
/* RFC 3608 - Service Route */
typedef struct sip_route_s sip_service_route_t;
struct sip_s {
msg_common_t sip_common[1];
msg_pub_t *sip_next;
void *sip_user;
unsigned sip_size;
int sip_flags;
sip_error_t *sip_error;
/* Pseudoheaders */
sip_request_t *sip_request;
sip_status_t *sip_status;
/* === Headers start here */
sip_via_t *sip_via;
sip_route_t *sip_route;
sip_record_route_t *sip_record_route;
sip_max_forwards_t *sip_max_forwards;
sip_proxy_require_t *sip_proxy_require;
sip_from_t *sip_from;
sip_to_t *sip_to;
sip_call_id_t *sip_call_id;
sip_cseq_t *sip_cseq;
sip_contact_t *sip_contact;
sip_rseq_t *sip_rseq;
sip_rack_t *sip_rack;
/* Caller Preferences */
sip_request_disposition_t *sip_request_disposition;
sip_accept_contact_t *sip_accept_contact;
sip_reject_contact_t *sip_reject_contact;
sip_expires_t *sip_expires;
sip_date_t *sip_date;
sip_retry_after_t *sip_retry_after;
sip_timestamp_t *sip_timestamp;
sip_min_expires_t *sip_min_expires;
sip_subject_t *sip_subject;
sip_priority_t *sip_priority;
sip_call_info_t *sip_call_info;
sip_organization_t *sip_organization;
sip_server_t *sip_server;
sip_user_agent_t *sip_user_agent;
sip_in_reply_to_t *sip_in_reply_to;
sip_accept_t *sip_accept;
sip_accept_encoding_t *sip_accept_encoding;
sip_accept_language_t *sip_accept_language;
sip_allow_t *sip_allow;
sip_require_t *sip_require;
sip_supported_t *sip_supported;
sip_unsupported_t *sip_unsupported;
/* RFC 3265 */
sip_event_t *sip_event;
sip_allow_events_t *sip_allow_events;
sip_subscription_state_t *sip_subscription_state;
sip_proxy_authenticate_t *sip_proxy_authenticate;
sip_proxy_authentication_info_t *sip_proxy_authentication_info;
sip_proxy_authorization_t *sip_proxy_authorization;
sip_authorization_t *sip_authorization;
sip_www_authenticate_t *sip_www_authenticate;
sip_authentication_info_t *sip_authentication_info;
sip_error_info_t *sip_error_info;
sip_warning_t *sip_warning;
/* RFC 3515 */
sip_refer_to_t *sip_refer_to;
sip_referred_by_t *sip_referred_by;
sip_replaces_t *sip_replaces;
/* draft-ietf-sip-session-timer */
sip_session_expires_t *sip_session_expires;
sip_min_se_t *sip_min_se;
sip_path_t *sip_path;
sip_service_route_t *sip_service_route;
sip_reason_t *sip_reason;
sip_security_client_t *sip_security_client;
sip_security_server_t *sip_security_server;
sip_security_verify_t *sip_security_verify;
sip_privacy_t *sip_privacy;
sip_etag_t *sip_etag;
sip_if_match_t *sip_if_match;
/* Entity headers */
sip_mime_version_t *sip_mime_version;
sip_content_type_t *sip_content_type;
sip_content_encoding_t *sip_content_encoding;
sip_content_language_t *sip_content_language;
sip_content_disposition_t *sip_content_disposition;
sip_content_length_t *sip_content_length;
/* === Headers end here */
sip_unknown_t *sip_unknown;
sip_separator_t *sip_separator;
sip_payload_t *sip_payload;
msg_multipart_t *sip_multipart;
};
struct sip_request_s
{
sip_common_t rq_common[1];
sip_error_t *rq_next;
sip_method_t rq_method;
char const *rq_method_name;
url_t rq_url[1];
char const *rq_version;
};
struct sip_status_s
{
sip_common_t st_common[1];
sip_error_t *st_next;
char const *st_version;
int st_status;
char const *st_phrase;
};
struct sip_addr_s
{
sip_common_t a_common[1];
sip_error_t *a_next;
char const *a_display;
url_t a_url[1];
msg_param_t const *a_params;
char const *a_comment;
char const *a_tag;
};
#define a_user a_url->url_user
#define a_host a_url->url_host
struct sip_accept_s
{
sip_common_t ac_common[1];
sip_accept_t *ac_next;
char const *ac_type;
char const *ac_subtype;
msg_param_t const *ac_params;
char const *ac_q;
};
struct sip_allow_s
{
msg_common_t k_common[1];
msg_list_t *k_next;
msg_param_t *k_items;
uint32_t k_bitmap;
};
struct sip_authentication_info_s
{
sip_common_t ai_common[1];
sip_error_t *ai_next;
msg_param_t const *ai_params;
};
struct sip_call_id_s {
sip_common_t i_common[1];
sip_call_id_t *i_next;
char const *i_id;
uint32_t i_hash;
};
struct sip_call_info_s
{
sip_common_t ci_common[1];
sip_call_info_t *ci_next;
url_t ci_url[1];
msg_param_t const *ci_params;
char const *ci_purpose;
};
struct sip_cseq_s
{
sip_common_t cs_common[1];
sip_error_t *cs_next;
uint32_t cs_seq;
sip_method_t cs_method;
char const *cs_method_name;
};
struct sip_contact_s
{
sip_common_t m_common[1];
sip_contact_t *m_next;
char const *m_display;
url_t m_url[1];
msg_param_t const *m_params;
char const *m_comment;
char const *m_q;
char const *m_expires;
};
struct sip_content_length_s
{
sip_common_t l_common[1];
sip_error_t *l_next;
uint32_t l_length;
};
#if DOCUMENTATION_ONLY
struct sip_content_type_s
{
sip_common_t c_common[1];
sip_error_t *c_next;
char const *c_type;
char const *c_subtype;
msg_param_t const *c_params;
};
#endif
struct sip_date_s
{
sip_common_t d_common[1];
sip_date_t *d_next;
sip_time_t d_time;
};
struct sip_error_info_s
{
sip_common_t ei_common[1];
sip_call_info_t *ei_next;
url_t ei_url[1];
msg_param_t const *ei_params;
};
struct sip_event_s
{
sip_common_t o_common[1];
sip_error_t *o_next;
char const * o_type;
msg_param_t const *o_params;
char const *o_id;
};
struct sip_expires_s
{
sip_common_t ex_common[1];
sip_error_t *ex_next;
sip_time_t ex_date;
# define ex_time ex_date
sip_time_t ex_delta;
};
struct sip_max_forwards_s
{
sip_common_t mf_common[1];
sip_error_t *mf_next;
unsigned long mf_count;
};
struct sip_min_expires_s
{
sip_common_t me_common[1];
sip_error_t *me_next;
unsigned long me_delta;
};
struct sip_rack_s
{
sip_common_t ra_common;
sip_error_t *ra_next;
uint32_t ra_response;
uint32_t ra_cseq;
sip_method_t ra_method;
char const *ra_method_name;
};
struct sip_refer_to_s
{
sip_common_t r_common[1];
sip_error_t *r_next;
char const *r_display;
url_t r_url[1];
msg_param_t const *r_params;
};
struct sip_referred_by_s
{
sip_common_t b_common[1];
sip_error_t *b_next;
char const *b_display;
url_t b_url[1];
msg_param_t const *b_params;
char const *b_cid;
};
struct sip_replaces_s
{
sip_common_t rp_common[1];
sip_error_t *rp_next;
char const *rp_call_id;
msg_param_t const *rp_params;
char const *rp_to_tag;
char const *rp_from_tag;
unsigned rp_early_only;
};
struct sip_retry_after_s {
sip_common_t af_common[1];
sip_error_t *af_next;
sip_time_t af_delta;
char const *af_comment;
msg_param_t const *af_params;
char const *af_duration;
};
struct sip_request_disposition_s
{
sip_common_t rd_common[1];
sip_error_t *rd_next;
msg_param_t *rd_items;
};
struct sip_caller_prefs_s
{
sip_common_t cp_common[1];
sip_caller_prefs_t *cp_next;
msg_param_t const *cp_params;
char const *cp_q;
unsigned cp_require :1;
unsigned cp_explicit :1;
};
struct sip_reason_s
{
sip_common_t re_common[1];
sip_reason_t *re_next;
char const *re_protocol;
msg_param_t const *re_params;
char const *re_cause;
char const *re_text;
};
struct sip_route_s
{
sip_common_t r_common[1];
sip_route_t *r_next;
char const *r_display;
url_t r_url[1];
msg_param_t const *r_params;
};
struct sip_rseq_s
{
sip_common_t rs_common[1];
sip_error_t *rs_next;
unsigned long rs_response;
};
struct sip_session_expires_s
{
sip_common_t x_common[1];
sip_error_t *x_next;
unsigned long x_delta;
msg_param_t const *x_params;
char const *x_refresher;
};
struct sip_min_se_s
{
sip_common_t min_common[1];
sip_error_t *min_next;
unsigned long min_delta;
msg_param_t const *min_params;
};
struct sip_subscription_state_s
{
sip_common_t ss_common[1];
sip_error_t *ss_next;
char const *ss_substate;
msg_param_t const *ss_params;
char const *ss_reason;
char const *ss_expires;
char const *ss_retry_after;
};
struct sip_timestamp_s
{
sip_common_t ts_common[1];
sip_error_t *ts_next;
char const *ts_stamp;
char const *ts_delay;
};
struct sip_via_s
{
sip_common_t v_common[1];
sip_via_t *v_next;
char const *v_protocol;
char const *v_host;
char const *v_port;
msg_param_t const *v_params;
char const *v_comment;
char const *v_ttl;
char const *v_maddr;
char const *v_received;
char const *v_branch;
char const *v_rport;
char const *v_comp;
};
struct sip_security_agree_s
{
sip_common_t sa_common[1];
struct sip_security_agree_s
*sa_next;
char const *sa_mec;
msg_param_t const *sa_params;
char const *sa_q;
char const *sa_d_alg;
char const *sa_d_qop;
char const *sa_d_ver;
};
struct sip_privacy_s
{
sip_common_t priv_common[1];
sip_error_t *priv_next;
msg_param_t const *priv_values;
};
/* union representing any SIP header
* these are arrays of size 1 for easy casting
*/
union sip_header_u
{
sip_common_t sh_common[1];
struct
{
sip_common_t shn_common;
sip_header_t *shn_next;
} sh_header_next[1];
#define sh_next sh_header_next->shn_next
#define sh_class sh_common->h_class
#define sh_succ sh_common->h_succ
#define sh_prev sh_common->h_prev
#define sh_data sh_common->h_data
#define sh_len sh_common->h_len
sip_addr_t sh_addr[1];
sip_auth_t sh_auth[1];
sip_generic_t sh_generic[1];
sip_request_t sh_request[1];
sip_status_t sh_status[1];
sip_error_t sh_error[1];
sip_via_t sh_via[1];
sip_route_t sh_route[1];
sip_record_route_t sh_record_route[1];
sip_max_forwards_t sh_max_forwards[1];
sip_from_t sh_from[1];
sip_to_t sh_to[1];
sip_contact_t sh_contact[1];
sip_call_id_t sh_call_id[1];
sip_cseq_t sh_cseq[1];
sip_rseq_t sh_rseq[1];
sip_rack_t sh_rack[1];
sip_subject_t sh_subject[1];
sip_priority_t sh_priority[1];
sip_date_t sh_date[1];
sip_retry_after_t sh_retry_after[1];
sip_timestamp_t sh_timestamp[1];
sip_expires_t sh_expires[1];
sip_min_expires_t sh_min_expires[1];
sip_call_info_t sh_call_info[1];
sip_organization_t sh_organization[1];
sip_server_t sh_server[1];
sip_user_agent_t sh_user_agent[1];
sip_in_reply_to_t sh_in_reply_to[1];
sip_accept_t sh_accept[1];
sip_accept_encoding_t sh_accept_encoding[1];
sip_accept_language_t sh_accept_language[1];
sip_allow_t sh_allow[1];
sip_require_t sh_require[1];
sip_proxy_require_t sh_proxy_require[1];
sip_supported_t sh_supported[1];
sip_unsupported_t sh_unsupported[1];
sip_event_t sh_event[1];
sip_allow_events_t sh_allow_events[1];
sip_subscription_state_t sh_subscription_state[1];
sip_proxy_authenticate_t sh_proxy_authenticate[1];
sip_proxy_authentication_info_t sh_proxy_authentication_info[1];
sip_proxy_authorization_t sh_proxy_authorization[1];
sip_authorization_t sh_authorization[1];
sip_www_authenticate_t sh_www_authenticate[1];
sip_authentication_info_t sh_authentication_info[1];
sip_error_info_t sh_error_info[1];
sip_warning_t sh_warning[1];
sip_refer_to_t sh_refer_to[1];
sip_referred_by_t sh_referred_by[1];
sip_replaces_t sh_replaces[1];
/* Caller-Preferences */
sip_caller_prefs_t sh_caller_prefs[1];
sip_request_disposition_t sh_request_disposition[1];
sip_accept_contact_t sh_accept_contact[1];
sip_reject_contact_t sh_reject_contact[1];
sip_session_expires_t sh_session_expires[1];
sip_min_se_t sh_min_se[1];
sip_path_t sh_path[1];
sip_service_route_t sh_service_route[1];
sip_reason_t sh_reason[1];
sip_security_client_t sh_security_client[1];
sip_security_server_t sh_security_server[1];
sip_security_verify_t sh_security_verify[1];
sip_privacy_t sh_privacy[1];
sip_etag_t sh_etag[1];
sip_if_match_t sh_if_match[1];
/* Entity headers */
sip_mime_version_t sh_mime_version[1];
sip_content_type_t sh_content_type[1];
sip_content_encoding_t sh_content_encoding[1];
sip_content_language_t sh_content_language[1];
sip_content_length_t sh_content_length[1];
sip_content_disposition_t sh_content_disposition[1];
sip_unknown_t sh_unknown[1];
sip_separator_t sh_separator[1];
sip_payload_t sh_payload[1];
};
SOFIA_END_DECLS
#endif /* !defined(SIP_H) */
msg_content_disposition_t
struct msg_content_disposition_s msg_content_disposition_t
msg_error_t
struct msg_error_s msg_error_t
msg_payload_t
struct msg_payload_s msg_payload_t
msg_separator_t
struct msg_separator_s msg_separator_t
msg_unknown_t
struct msg_unknown_s msg_unknown_t
msg_warning_t
struct msg_warning_s msg_warning_t
sip_accept_contact_t
struct sip_caller_prefs_s sip_accept_contact_t
@
Definition sip.h:182
sip_accept_encoding_t
msg_accept_any_t sip_accept_encoding_t
@
Definition sip.h:140
sip_accept_language_t
msg_accept_any_t sip_accept_language_t
@
Definition sip.h:141
sip_accept_t
struct sip_accept_s sip_accept_t
@
Definition sip.h:139
sip_allow_events_t
msg_list_t sip_allow_events_t
@
Definition sip.h:205
sip_allow_t
struct sip_allow_s sip_allow_t
@
Definition sip.h:142
sip_authentication_info_t
struct msg_auth_info_s sip_authentication_info_t
@
Definition sip.h:143
sip_authorization_t
struct msg_auth_s sip_authorization_t
@
Definition sip.h:144
sip_call_id_t
struct sip_call_id_s sip_call_id_t
@
Definition sip.h:145
sip_call_info_t
struct sip_call_info_s sip_call_info_t
@
Definition sip.h:146
sip_contact_t
struct sip_contact_s sip_contact_t
@
Definition sip.h:147
sip_content_disposition_t
msg_content_disposition_t sip_content_disposition_t
@
Definition sip.h:151
sip_content_encoding_t
msg_list_t sip_content_encoding_t
@
Definition sip.h:152
sip_content_language_t
msg_list_t sip_content_language_t
@
Definition sip.h:153
sip_content_length_t
struct sip_content_length_s sip_content_length_t
@
Definition sip.h:154
sip_content_type_t
struct msg_content_type_s sip_content_type_t
@
Definition sip.h:155
sip_cseq_t
struct sip_cseq_s sip_cseq_t
@
Definition sip.h:148
sip_date_t
struct sip_date_s sip_date_t
@
Definition sip.h:157
sip_error_info_t
struct sip_error_info_s sip_error_info_t
@
Definition sip.h:158
sip_error_t
msg_error_t sip_error_t
@
Definition sip.h:134
sip_etag_t
struct msg_generic_s sip_etag_t
@
Definition sip.h:149
sip_event_t
struct sip_event_s sip_event_t
@
Definition sip.h:204
sip_expires_t
struct sip_expires_s sip_expires_t
@
Definition sip.h:159
sip_from_t
struct sip_addr_s sip_from_t
@
Definition sip.h:160
sip_if_match_t
struct msg_generic_s sip_if_match_t
@
Definition sip.h:150
sip_in_reply_to_t
msg_list_t sip_in_reply_to_t
@
Definition sip.h:161
sip_max_forwards_t
struct sip_max_forwards_s sip_max_forwards_t
@
Definition sip.h:162
sip_mime_version_t
struct msg_generic_s sip_mime_version_t
@
Definition sip.h:156
sip_min_expires_t
struct sip_min_expires_s sip_min_expires_t
@
Definition sip.h:163
sip_min_se_t
struct sip_min_se_s sip_min_se_t
@
Definition sip.h:164
sip_organization_t
struct msg_generic_s sip_organization_t
@
Definition sip.h:165
sip_path_t
struct sip_route_s sip_path_t
@
Definition sip.h:211
sip_payload_t
msg_payload_t sip_payload_t
@
Definition sip.h:137
sip_priority_t
struct msg_generic_s sip_priority_t
@
Definition sip.h:166
sip_privacy_t
struct sip_privacy_s sip_privacy_t
@
Definition sip.h:208
sip_proxy_authenticate_t
struct msg_auth_s sip_proxy_authenticate_t
@
Definition sip.h:167
sip_proxy_authentication_info_t
struct msg_auth_info_s sip_proxy_authentication_info_t
@
Definition sip.h:168
sip_proxy_authorization_t
struct msg_auth_s sip_proxy_authorization_t
@
Definition sip.h:169
sip_proxy_require_t
msg_list_t sip_proxy_require_t
@
Definition sip.h:170
sip_rack_t
struct sip_rack_s sip_rack_t
@
Definition sip.h:171
sip_reason_t
struct sip_reason_s sip_reason_t
@
Definition sip.h:172
sip_record_route_t
struct sip_route_s sip_record_route_t
@
Definition sip.h:173
sip_refer_to_t
struct sip_refer_to_s sip_refer_to_t
@
Definition sip.h:175
sip_referred_by_t
struct sip_referred_by_s sip_referred_by_t
@
Definition sip.h:176
sip_reject_contact_t
struct sip_caller_prefs_s sip_reject_contact_t
@
Definition sip.h:183
sip_replaces_t
struct sip_replaces_s sip_replaces_t
@
Definition sip.h:177
sip_request_disposition_t
struct sip_request_disposition_s sip_request_disposition_t
@
Definition sip.h:179
sip_request_t
struct sip_request_s sip_request_t
@
Definition sip.h:132
sip_require_t
msg_list_t sip_require_t
@
Definition sip.h:185
sip_retry_after_t
struct sip_retry_after_s sip_retry_after_t
@
Definition sip.h:186
sip_route_t
struct sip_route_s sip_route_t
@
Definition sip.h:187
sip_rseq_t
struct sip_rseq_s sip_rseq_t
@
Definition sip.h:188
sip_security_client_t
struct sip_security_agree_s sip_security_client_t
@
Definition sip.h:214
sip_security_server_t
struct sip_security_agree_s sip_security_server_t
@
Definition sip.h:215
sip_security_verify_t
struct sip_security_agree_s sip_security_verify_t
@
Definition sip.h:216
sip_separator_t
msg_separator_t sip_separator_t
@
Definition sip.h:136
sip_server_t
struct msg_generic_s sip_server_t
@
Definition sip.h:189
sip_service_route_t
struct sip_route_s sip_service_route_t
@
Definition sip.h:219
sip_session_expires_t
struct sip_session_expires_s sip_session_expires_t
@
Definition sip.h:190
sip_status_t
struct sip_status_s sip_status_t
@
Definition sip.h:133
sip_subject_t
struct msg_generic_s sip_subject_t
@
Definition sip.h:192
sip_subscription_state_t
struct sip_subscription_state_s sip_subscription_state_t
@
Definition sip.h:193
sip_supported_t
msg_list_t sip_supported_t
@
Definition sip.h:195
sip_timestamp_t
struct sip_timestamp_s sip_timestamp_t
@
Definition sip.h:196
sip_to_t
struct sip_addr_s sip_to_t
@
Definition sip.h:197
sip_unknown_t
msg_unknown_t sip_unknown_t
@
Definition sip.h:135
sip_unsupported_t
msg_list_t sip_unsupported_t
@
Definition sip.h:198
sip_user_agent_t
struct msg_generic_s sip_user_agent_t
@
Definition sip.h:199
sip_via_t
struct sip_via_s sip_via_t
@
Definition sip.h:200
sip_warning_t
msg_warning_t sip_warning_t
@
Definition sip.h:201
sip_www_authenticate_t
struct msg_auth_s sip_www_authenticate_t
@
Definition sip.h:202
msg_time_t
unsigned long msg_time_t
msg_mime.h
msg_multipart_t
struct msg_multipart_s msg_multipart_t
msg_types.h
msg_list_t
struct msg_list_s msg_list_t
msg_common_t
struct msg_common_s msg_common_t
msg_pub_t
MSG_PUB_T msg_pub_t
sip_addr_t
struct sip_addr_s sip_addr_t
To or From header.
Definition sip.h:127
sip_t
struct sip_s sip_t
Structure for accessing parsed SIP headers.
Definition sip.h:111
sip_generic_t
struct msg_generic_s sip_generic_t
Type of a generic SIP header.
Definition sip.h:117
sip_common_t
msg_common_t sip_common_t
Common part of all the header structures.
Definition sip.h:121
sip_auth_t
msg_auth_t sip_auth_t
Authorization, Proxy-Authenticate, WWW-Authenticate
Definition sip.h:130
sip_time_t
msg_time_t sip_time_t
Time in seconds since Jan 01 1900.
Definition sip.h:105
sip_param_t
msg_param_t sip_param_t
SIP parameter string.
Definition sip.h:124
sip_header_t
union sip_header_u sip_header_t
Any SIP header - union of all possible SIP headers.
Definition sip.h:114
sip_method_t
sip_method_t
IDs for well-known SIP methods.
Definition sip.h:48
sip_method_refer
@ sip_method_refer
REFER.
Definition sip.h:63
sip_method_register
@ sip_method_register
REGISTER.
Definition sip.h:56
sip_method_unknown
@ sip_method_unknown
Unknown method, use method_name.
Definition sip.h:50
sip_method_prack
@ sip_method_prack
PRACK.
Definition sip.h:58
sip_method_update
@ sip_method_update
UPDATE.
Definition sip.h:59
sip_method_message
@ sip_method_message
MESSAGE.
Definition sip.h:60
sip_method_notify
@ sip_method_notify
NOTIFY.
Definition sip.h:62
sip_method_bye
@ sip_method_bye
BYE.
Definition sip.h:54
sip_method_cancel
@ sip_method_cancel
CANCEL.
Definition sip.h:53
sip_method_subscribe
@ sip_method_subscribe
SUBSCRIBE.
Definition sip.h:61
sip_method_invite
@ sip_method_invite
INVITE.
Definition sip.h:51
sip_method_invalid
@ sip_method_invalid
Invalid method name.
Definition sip.h:49
sip_method_publish
@ sip_method_publish
PUBLISH.
Definition sip.h:64
sip_method_ack
@ sip_method_ack
ACK.
Definition sip.h:52
sip_method_options
@ sip_method_options
OPTIONS.
Definition sip.h:55
sip_method_info
@ sip_method_info
INFO.
Definition sip.h:57
msg_auth_info_s
msg_auth_s
msg_content_type_s
msg_generic_s
sip_accept_s
Structure for Accept header field.
Definition sip.h:400
sip_accept_s::ac_type
char const * ac_type
Pointer to type/subtype.
Definition sip.h:403
sip_accept_s::ac_q
char const * ac_q
Value of q parameter.
Definition sip.h:406
sip_accept_s::ac_params
msg_param_t const * ac_params
List of parameters.
Definition sip.h:405
sip_accept_s::ac_subtype
char const * ac_subtype
Points after first slash in type.
Definition sip.h:404
sip_accept_s::ac_common
sip_common_t ac_common[1]
Common fragment info.
Definition sip.h:401
sip_accept_s::ac_next
sip_accept_t * ac_next
Pointer to next Accept value.
Definition sip.h:402
sip_addr_s
Structure for From and To headers.
Definition sip.h:382
sip_addr_s::a_params
msg_param_t const * a_params
Parameter table.
Definition sip.h:387
sip_addr_s::a_url
url_t a_url[1]
URL.
Definition sip.h:386
sip_addr_s::a_common
sip_common_t a_common[1]
Common fragment info.
Definition sip.h:383
sip_addr_s::a_comment
char const * a_comment
Comment.
Definition sip.h:388
sip_addr_s::a_display
char const * a_display
Display name.
Definition sip.h:385
sip_addr_s::a_tag
char const * a_tag
Tag parameter.
Definition sip.h:390
sip_allow_s
Structure for Allow header field.
Definition sip.h:415
sip_allow_s::k_common
msg_common_t k_common[1]
Common fragment info.
Definition sip.h:416
sip_allow_s::k_bitmap
uint32_t k_bitmap
Bitmap of allowed methods.
Definition sip.h:419
sip_allow_s::k_next
msg_list_t * k_next
Link to next.
Definition sip.h:417
sip_allow_s::k_items
msg_param_t * k_items
List of allowed items.
Definition sip.h:418
sip_authentication_info_s
Structure for Authentication-Info header.
Definition sip.h:429
sip_authentication_info_s::ai_common
sip_common_t ai_common[1]
Common fragment info.
Definition sip.h:430
sip_authentication_info_s::ai_next
sip_error_t * ai_next
Dummy link to next.
Definition sip.h:431
sip_authentication_info_s::ai_params
msg_param_t const * ai_params
List of authentication info.
Definition sip.h:432
sip_call_id_s
Structure for Call-ID (and In-Reply-To) header fields.
Definition sip.h:438
sip_call_id_s::i_id
char const * i_id
ID value.
Definition sip.h:441
sip_call_id_s::i_next
sip_call_id_t * i_next
Link to next (In-Reply-To).
Definition sip.h:440
sip_call_id_s::i_hash
uint32_t i_hash
Hash value (always nonzero).
Definition sip.h:442
sip_call_id_s::i_common
sip_common_t i_common[1]
Common fragment info.
Definition sip.h:439
sip_call_info_s
Structure for Call-Info header.
Definition sip.h:449
sip_call_info_s::ci_params
msg_param_t const * ci_params
List of parameters.
Definition sip.h:453
sip_call_info_s::ci_url
url_t ci_url[1]
URI to call info.
Definition sip.h:452
sip_call_info_s::ci_next
sip_call_info_t * ci_next
Link to next Call-Info.
Definition sip.h:451
sip_call_info_s::ci_common
sip_common_t ci_common[1]
Common fragment info.
Definition sip.h:450
sip_call_info_s::ci_purpose
char const * ci_purpose
Value of purpose parameter.
Definition sip.h:454
sip_caller_prefs_s
Structure for Accept-Contact and Reject-Contact header fields.
Definition sip.h:655
sip_caller_prefs_s::cp_explicit
unsigned cp_explicit
Value of "explicit" parameter.
Definition sip.h:661
sip_caller_prefs_s::cp_require
unsigned cp_require
Value of "require" parameter.
Definition sip.h:660
sip_caller_prefs_s::cp_params
msg_param_t const * cp_params
List of parameters.
Definition sip.h:658
sip_caller_prefs_s::cp_common
sip_common_t cp_common[1]
Common fragment info.
Definition sip.h:656
sip_caller_prefs_s::cp_q
char const * cp_q
Priority
Definition sip.h:659
sip_caller_prefs_s::cp_next
sip_caller_prefs_t * cp_next
Link to next (dummy).
Definition sip.h:657
sip_contact_s
Structure for Contact header field.
Definition sip.h:473
sip_contact_s::m_next
sip_contact_t * m_next
Link to next Contact header.
Definition sip.h:475
sip_contact_s::m_expires
char const * m_expires
Expiration time.
Definition sip.h:482
sip_contact_s::m_q
char const * m_q
Priority
Definition sip.h:481
sip_contact_s::m_display
char const * m_display
Display name.
Definition sip.h:476
sip_contact_s::m_params
msg_param_t const * m_params
List of contact-params.
Definition sip.h:478
sip_contact_s::m_comment
char const * m_comment
Comment.
Definition sip.h:479
sip_contact_s::m_url
url_t m_url[1]
SIP URL.
Definition sip.h:477
sip_contact_s::m_common
sip_common_t m_common[1]
Common fragment info.
Definition sip.h:474
sip_content_length_s
Structure for Content-Length header.
Definition sip.h:489
sip_content_length_s::l_next
sip_error_t * l_next
Link to next (dummy).
Definition sip.h:491
sip_content_length_s::l_length
uint32_t l_length
Length in bytes.
Definition sip.h:492
sip_content_length_s::l_common
sip_common_t l_common[1]
Common fragment info.
Definition sip.h:490
sip_content_type_s
Structure for Content-Type header.
Definition sip.h:501
sip_content_type_s::c_params
msg_param_t const * c_params
List of parameters.
Definition sip.h:506
sip_content_type_s::c_next
sip_error_t * c_next
Dummy link to next.
Definition sip.h:503
sip_content_type_s::c_common
sip_common_t c_common[1]
Common fragment info.
Definition sip.h:502
sip_content_type_s::c_type
char const * c_type
Pointer to type/subtype.
Definition sip.h:504
sip_content_type_s::c_subtype
char const * c_subtype
Points after first slash in type.
Definition sip.h:505
sip_cseq_s
Structure for CSeq header.
Definition sip.h:461
sip_cseq_s::cs_common
sip_common_t cs_common[1]
Common fragment info.
Definition sip.h:462
sip_cseq_s::cs_method
sip_method_t cs_method
Method enum.
Definition sip.h:465
sip_cseq_s::cs_seq
uint32_t cs_seq
Sequence number.
Definition sip.h:464
sip_cseq_s::cs_method_name
char const * cs_method_name
Method name.
Definition sip.h:466
sip_cseq_s::cs_next
sip_error_t * cs_next
Link to next (dummy).
Definition sip.h:463
sip_date_s
Structure for Date header.
Definition sip.h:514
sip_date_s::d_common
sip_common_t d_common[1]
Common fragment info.
Definition sip.h:515
sip_date_s::d_time
sip_time_t d_time
Seconds since Jan 1, 1900.
Definition sip.h:517
sip_date_s::d_next
sip_date_t * d_next
Link to next (dummy).
Definition sip.h:516
sip_error_info_s
Structure for Error-Info header.
Definition sip.h:524
sip_error_info_s::ei_url
url_t ei_url[1]
URI to error description.
Definition sip.h:527
sip_error_info_s::ei_common
sip_common_t ei_common[1]
Common fragment info.
Definition sip.h:525
sip_error_info_s::ei_params
msg_param_t const * ei_params
List of parameters.
Definition sip.h:528
sip_error_info_s::ei_next
sip_call_info_t * ei_next
Link to next Error-Info.
Definition sip.h:526
sip_event_s
Structure for Event header.
Definition sip.h:535
sip_event_s::o_next
sip_error_t * o_next
Link to next (dummy).
Definition sip.h:537
sip_event_s::o_id
char const * o_id
Event ID
Definition sip.h:540
sip_event_s::o_common
sip_common_t o_common[1]
Common fragment info.
Definition sip.h:536
sip_event_s::o_params
msg_param_t const * o_params
List of parameters.
Definition sip.h:539
sip_event_s::o_type
char const * o_type
Event type
Definition sip.h:538
sip_expires_s
Structure for Expires header.
Definition sip.h:547
sip_expires_s::ex_date
sip_time_t ex_date
Seconds since Jan 1, 1900.
Definition sip.h:550
sip_expires_s::ex_delta
sip_time_t ex_delta
Delta seconds.
Definition sip.h:552
sip_expires_s::ex_next
sip_error_t * ex_next
Link to next (dummy).
Definition sip.h:549
sip_expires_s::ex_common
sip_common_t ex_common[1]
Common fragment info.
Definition sip.h:548
sip_max_forwards_s
Structure for Max-Forwards header.
Definition sip.h:559
sip_max_forwards_s::mf_common
sip_common_t mf_common[1]
Common fragment info.
Definition sip.h:560
sip_max_forwards_s::mf_next
sip_error_t * mf_next
Link to next (dummy).
Definition sip.h:561
sip_max_forwards_s::mf_count
unsigned long mf_count
Forwarding count.
Definition sip.h:562
sip_min_expires_s
Structure for Min-Expires header.
Definition sip.h:569
sip_min_expires_s::me_common
sip_common_t me_common[1]
Common fragment info.
Definition sip.h:570
sip_min_expires_s::me_delta
unsigned long me_delta
Seconds.
Definition sip.h:572
sip_min_expires_s::me_next
sip_error_t * me_next
Link to next (dummy).
Definition sip.h:571
sip_min_se_s
Structure for Min-SE header.
Definition sip.h:716
sip_min_se_s::min_params
msg_param_t const * min_params
List of extension parameters.
Definition sip.h:720
sip_min_se_s::min_delta
unsigned long min_delta
Delta-seconds.
Definition sip.h:719
sip_min_se_s::min_next
sip_error_t * min_next
Dummy link to next.
Definition sip.h:718
sip_min_se_s::min_common
sip_common_t min_common[1]
Common fragment info.
Definition sip.h:717
sip_privacy_s
Structure for Privacy header.
Definition sip.h:790
sip_privacy_s::priv_next
sip_error_t * priv_next
Dummy link.
Definition sip.h:792
sip_privacy_s::priv_common
sip_common_t priv_common[1]
Common fragment info.
Definition sip.h:791
sip_privacy_s::priv_values
msg_param_t const * priv_values
Privacy values
Definition sip.h:793
sip_rack_s
Structure for RAck header.
Definition sip.h:579
sip_rack_s::ra_response
uint32_t ra_response
Sequence number of response.
Definition sip.h:582
sip_rack_s::ra_cseq
uint32_t ra_cseq
Sequence number of request.
Definition sip.h:583
sip_rack_s::ra_common
sip_common_t ra_common
Common fragment info.
Definition sip.h:580
sip_rack_s::ra_method_name
char const * ra_method_name
Original request method name.
Definition sip.h:585
sip_rack_s::ra_method
sip_method_t ra_method
Original request method.
Definition sip.h:584
sip_rack_s::ra_next
sip_error_t * ra_next
Dummy link to next.
Definition sip.h:581
sip_reason_s
Structure for Reason header field.
Definition sip.h:668
sip_reason_s::re_cause
char const * re_cause
Value of cause parameter.
Definition sip.h:673
sip_reason_s::re_common
sip_common_t re_common[1]
Common fragment info.
Definition sip.h:669
sip_reason_s::re_params
msg_param_t const * re_params
List of reason parameters.
Definition sip.h:672
sip_reason_s::re_next
sip_reason_t * re_next
Link to next.
Definition sip.h:670
sip_reason_s::re_protocol
char const * re_protocol
Protocol.
Definition sip.h:671
sip_reason_s::re_text
char const * re_text
Value of text parameter.
Definition sip.h:674
sip_refer_to_s
Structure for Refer-To header.
Definition sip.h:592
sip_refer_to_s::r_next
sip_error_t * r_next
Link to next (dummy).
Definition sip.h:594
sip_refer_to_s::r_url
url_t r_url[1]
URI to reference.
Definition sip.h:596
sip_refer_to_s::r_common
sip_common_t r_common[1]
Common fragment info.
Definition sip.h:593
sip_refer_to_s::r_params
msg_param_t const * r_params
List of parameters.
Definition sip.h:597
sip_referred_by_s
Structure for Referred-By header.
Definition sip.h:604
sip_referred_by_s::b_next
sip_error_t * b_next
Link to next (dummy).
Definition sip.h:606
sip_referred_by_s::b_common
sip_common_t b_common[1]
Common fragment info.
Definition sip.h:605
sip_referred_by_s::b_cid
char const * b_cid
The cid parameter.
Definition sip.h:610
sip_referred_by_s::b_url
url_t b_url[1]
Referrer-URI.
Definition sip.h:608
sip_referred_by_s::b_params
msg_param_t const * b_params
List of parameters.
Definition sip.h:609
sip_replaces_s
Structure for Replaces header.
Definition sip.h:618
sip_replaces_s::rp_next
sip_error_t * rp_next
Link to next (dummy).
Definition sip.h:620
sip_replaces_s::rp_early_only
unsigned rp_early_only
early-only parameter
Definition sip.h:625
sip_replaces_s::rp_common
sip_common_t rp_common[1]
Common fragment info.
Definition sip.h:619
sip_replaces_s::rp_call_id
char const * rp_call_id
Call-ID of dialog to replace
Definition sip.h:621
sip_replaces_s::rp_from_tag
char const * rp_from_tag
Value of "from-tag" parameter.
Definition sip.h:624
sip_replaces_s::rp_to_tag
char const * rp_to_tag
Value of "to-tag" parameter.
Definition sip.h:623
sip_replaces_s::rp_params
msg_param_t const * rp_params
List of parameters.
Definition sip.h:622
sip_request_disposition_s
Structure for Request-Disposition header.
Definition sip.h:645
sip_request_disposition_s::rd_next
sip_error_t * rd_next
Link to next (dummy).
Definition sip.h:647
sip_request_disposition_s::rd_common
sip_common_t rd_common[1]
Common fragment info.
Definition sip.h:646
sip_request_disposition_s::rd_items
msg_param_t * rd_items
List of directives.
Definition sip.h:648
sip_request_s
Structure for SIP request line.
Definition sip.h:357
sip_request_s::rq_method
sip_method_t rq_method
Method enum.
Definition sip.h:360
sip_request_s::rq_common
sip_common_t rq_common[1]
Common fragment info.
Definition sip.h:358
sip_request_s::rq_next
sip_error_t * rq_next
Link to next (dummy).
Definition sip.h:359
sip_request_s::rq_method_name
char const * rq_method_name
Method name.
Definition sip.h:361
sip_request_s::rq_version
char const * rq_version
Protocol version.
Definition sip.h:363
sip_request_s::rq_url
url_t rq_url[1]
RequestURI.
Definition sip.h:362
sip_retry_after_s
Structure for Retry-After header.
Definition sip.h:632
sip_retry_after_s::af_next
sip_error_t * af_next
Link to next (dummy).
Definition sip.h:634
sip_retry_after_s::af_comment
char const * af_comment
Comment string.
Definition sip.h:636
sip_retry_after_s::af_common
sip_common_t af_common[1]
Common fragment info.
Definition sip.h:633
sip_retry_after_s::af_params
msg_param_t const * af_params
List of parameters.
Definition sip.h:637
sip_retry_after_s::af_delta
sip_time_t af_delta
Seconds to before retry.
Definition sip.h:635
sip_retry_after_s::af_duration
char const * af_duration
Value of "duration" parameter.
Definition sip.h:638
sip_route_s
Structure for Route and Record-Route header fields.
Definition sip.h:681
sip_route_s::r_display
char const * r_display
Display name.
Definition sip.h:684
sip_route_s::r_next
sip_route_t * r_next
Link to next.
Definition sip.h:683
sip_route_s::r_url
url_t r_url[1]
Route URL
Definition sip.h:685
sip_route_s::r_common
sip_common_t r_common[1]
Common fragment info.
Definition sip.h:682
sip_route_s::r_params
msg_param_t const * r_params
List of route parameters.
Definition sip.h:686
sip_rseq_s
Structure for RSeq header.
Definition sip.h:693
sip_rseq_s::rs_response
unsigned long rs_response
Sequence number of response.
Definition sip.h:696
sip_rseq_s::rs_common
sip_common_t rs_common[1]
Common fragment info.
Definition sip.h:694
sip_rseq_s::rs_next
sip_error_t * rs_next
Dummy link to next.
Definition sip.h:695
sip_s
SIP message object.
Definition sip.h:230
sip_s::sip_security_server
sip_security_server_t * sip_security_server
Security-Server.
Definition sip.h:325
sip_s::sip_from
sip_from_t * sip_from
From (f).
Definition sip.h:250
sip_s::sip_call_info
sip_call_info_t * sip_call_info
Call-Info.
Definition sip.h:273
sip_s::sip_route
sip_route_t * sip_route
Route.
Definition sip.h:245
sip_s::sip_reject_contact
sip_reject_contact_t * sip_reject_contact
Reject-Contact (j).
Definition sip.h:262
sip_s::sip_call_id
sip_call_id_t * sip_call_id
Call-ID (i).
Definition sip.h:252
sip_s::sip_security_client
sip_security_client_t * sip_security_client
Security-Client.
Definition sip.h:324
sip_s::sip_if_match
sip_if_match_t * sip_if_match
SIP-If-Match.
Definition sip.h:331
sip_s::sip_separator
sip_separator_t * sip_separator
Separator between headers and payload.
Definition sip.h:346
sip_s::sip_replaces
sip_replaces_t * sip_replaces
Replaces.
Definition sip.h:312
sip_s::sip_record_route
sip_record_route_t * sip_record_route
Record-Route.
Definition sip.h:246
sip_s::sip_cseq
sip_cseq_t * sip_cseq
CSeq.
Definition sip.h:253
sip_s::sip_retry_after
sip_retry_after_t * sip_retry_after
Retry-After.
Definition sip.h:266
sip_s::sip_mime_version
sip_mime_version_t * sip_mime_version
MIME-Version.
Definition sip.h:334
sip_s::sip_date
sip_date_t * sip_date
Date.
Definition sip.h:265
sip_s::sip_unsupported
sip_unsupported_t * sip_unsupported
Unsupported.
Definition sip.h:286
sip_s::sip_service_route
sip_service_route_t * sip_service_route
Service-Route.
Definition sip.h:320
sip_s::sip_proxy_authentication_info
sip_proxy_authentication_info_t * sip_proxy_authentication_info
Proxy-Authentication-Info.
Definition sip.h:296
sip_s::sip_size
unsigned sip_size
Size of structure.
Definition sip.h:234
sip_s::sip_accept_contact
sip_accept_contact_t * sip_accept_contact
Accept-Contact (a).
Definition sip.h:261
sip_s::sip_expires
sip_expires_t * sip_expires
Expires.
Definition sip.h:264
sip_s::sip_supported
sip_supported_t * sip_supported
Supported (k).
Definition sip.h:285
sip_s::sip_organization
sip_organization_t * sip_organization
Organization.
Definition sip.h:274
sip_s::sip_path
sip_path_t * sip_path
Path.
Definition sip.h:319
sip_s::sip_error
sip_error_t * sip_error
Erroneous headers.
Definition sip.h:237
sip_s::sip_refer_to
sip_refer_to_t * sip_refer_to
Refer-To (r).
Definition sip.h:310
sip_s::sip_next
msg_pub_t * sip_next
Dummy link to msgfrag.
Definition sip.h:232
sip_s::sip_allow_events
sip_allow_events_t * sip_allow_events
Allow-Events (u).
Definition sip.h:290
sip_s::sip_content_type
sip_content_type_t * sip_content_type
Content-Type (c).
Definition sip.h:335
sip_s::sip_timestamp
sip_timestamp_t * sip_timestamp
Timestamp.
Definition sip.h:267
sip_s::sip_via
sip_via_t * sip_via
Via (v).
Definition sip.h:244
sip_s::sip_content_length
sip_content_length_t * sip_content_length
Content-Length (l).
Definition sip.h:341
sip_s::sip_require
sip_require_t * sip_require
Require.
Definition sip.h:284
sip_s::sip_subscription_state
sip_subscription_state_t * sip_subscription_state
Subscription-State.
Definition sip.h:291
sip_s::sip_priority
sip_priority_t * sip_priority
Priority.
Definition sip.h:271
sip_s::sip_privacy
sip_privacy_t * sip_privacy
Privacy.
Definition sip.h:328
sip_s::sip_max_forwards
sip_max_forwards_t * sip_max_forwards
Max-Forwards.
Definition sip.h:247
sip_s::sip_multipart
msg_multipart_t * sip_multipart
Multipart MIME payload.
Definition sip.h:349
sip_s::sip_payload
sip_payload_t * sip_payload
Message payload.
Definition sip.h:348
sip_s::sip_content_language
sip_content_language_t * sip_content_language
Content-Language.
Definition sip.h:338
sip_s::sip_min_se
sip_min_se_t * sip_min_se
Min-SE.
Definition sip.h:317
sip_s::sip_proxy_authenticate
sip_proxy_authenticate_t * sip_proxy_authenticate
Proxy-Authenticate.
Definition sip.h:294
sip_s::sip_event
sip_event_t * sip_event
Event (o).
Definition sip.h:289
sip_s::sip_accept_language
sip_accept_language_t * sip_accept_language
Accept-Language.
Definition sip.h:281
sip_s::sip_allow
sip_allow_t * sip_allow
Allow.
Definition sip.h:283
sip_s::sip_min_expires
sip_min_expires_t * sip_min_expires
Min-Expires.
Definition sip.h:268
sip_s::sip_authorization
sip_authorization_t * sip_authorization
Authorization.
Definition sip.h:300
sip_s::sip_status
sip_status_t * sip_status
Status line.
Definition sip.h:241
sip_s::sip_in_reply_to
sip_in_reply_to_t * sip_in_reply_to
In-Reply-To.
Definition sip.h:277
sip_s::sip_subject
sip_subject_t * sip_subject
Subject (s).
Definition sip.h:270
sip_s::sip_content_disposition
sip_content_disposition_t * sip_content_disposition
Content-Disposition.
Definition sip.h:339
sip_s::sip_user
void * sip_user
Application data.
Definition sip.h:233
sip_s::sip_session_expires
sip_session_expires_t * sip_session_expires
Session-Expires (x).
Definition sip.h:315
sip_s::sip_warning
sip_warning_t * sip_warning
Warning.
Definition sip.h:307
sip_s::sip_etag
sip_etag_t * sip_etag
SIP-ETag.
Definition sip.h:330
sip_s::sip_request_disposition
sip_request_disposition_t * sip_request_disposition
Request-Disposition (d).
Definition sip.h:259
sip_s::sip_accept_encoding
sip_accept_encoding_t * sip_accept_encoding
Accept-Encoding.
Definition sip.h:280
sip_s::sip_rack
sip_rack_t * sip_rack
RAck.
Definition sip.h:256
sip_s::sip_authentication_info
sip_authentication_info_t * sip_authentication_info
Authentication-Info.
Definition sip.h:304
sip_s::sip_contact
sip_contact_t * sip_contact
Contact (m).
Definition sip.h:254
sip_s::sip_security_verify
sip_security_verify_t * sip_security_verify
Security-Verify.
Definition sip.h:326
sip_s::sip_flags
int sip_flags
Parser flags.
Definition sip.h:235
sip_s::sip_to
sip_to_t * sip_to
To (t).
Definition sip.h:251
sip_s::sip_referred_by
sip_referred_by_t * sip_referred_by
Referred-By (b).
Definition sip.h:311
sip_s::sip_proxy_require
sip_proxy_require_t * sip_proxy_require
Proxy-Require.
Definition sip.h:248
sip_s::sip_www_authenticate
sip_www_authenticate_t * sip_www_authenticate
WWW-Authenticate.
Definition sip.h:302
sip_s::sip_unknown
sip_unknown_t * sip_unknown
Unknown headers.
Definition sip.h:345
sip_s::sip_common
msg_common_t sip_common[1]
For recursive inclusion.
Definition sip.h:231
sip_s::sip_reason
sip_reason_t * sip_reason
Reason.
Definition sip.h:322
sip_s::sip_request
sip_request_t * sip_request
Request line.
Definition sip.h:240
sip_s::sip_proxy_authorization
sip_proxy_authorization_t * sip_proxy_authorization
Proxy-Authorization.
Definition sip.h:298
sip_s::sip_error_info
sip_error_info_t * sip_error_info
Error-Info.
Definition sip.h:306
sip_s::sip_content_encoding
sip_content_encoding_t * sip_content_encoding
Content-Encoding (e).
Definition sip.h:336
sip_s::sip_server
sip_server_t * sip_server
Server.
Definition sip.h:275
sip_s::sip_accept
sip_accept_t * sip_accept
Accept.
Definition sip.h:279
sip_s::sip_rseq
sip_rseq_t * sip_rseq
RSeq.
Definition sip.h:255
sip_s::sip_user_agent
sip_user_agent_t * sip_user_agent
User-Agent.
Definition sip.h:276
sip_security_agree_s
Structure for Security-Client, Security-Server, and Security-Verify headers.
Definition sip.h:774
sip_security_agree_s::sa_common
sip_common_t sa_common[1]
Common fragment info.
Definition sip.h:775
sip_security_agree_s::sa_params
msg_param_t const * sa_params
List of mechanism parameters.
Definition sip.h:779
sip_security_agree_s::sa_d_alg
char const * sa_d_alg
Value of d-alg parameter.
Definition sip.h:781
sip_security_agree_s::sa_d_ver
char const * sa_d_ver
Value of d-ver parameter.
Definition sip.h:783
sip_security_agree_s::sa_mec
char const * sa_mec
Security mechanism.
Definition sip.h:778
sip_security_agree_s::sa_next
struct sip_security_agree_s * sa_next
Link to next mechanism.
Definition sip.h:776
sip_security_agree_s::sa_q
char const * sa_q
Value of q (preference) parameter.
Definition sip.h:780
sip_security_agree_s::sa_d_qop
char const * sa_d_qop
Value of d-qop parameter.
Definition sip.h:782
sip_session_expires_s
Structure for Session-Expires header.
Definition sip.h:703
sip_session_expires_s::x_common
sip_common_t x_common[1]
Common fragment info.
Definition sip.h:704
sip_session_expires_s::x_next
sip_error_t * x_next
Dummy link to next.
Definition sip.h:705
sip_session_expires_s::x_params
msg_param_t const * x_params
List of parameters.
Definition sip.h:707
sip_session_expires_s::x_delta
unsigned long x_delta
Delta-seconds.
Definition sip.h:706
sip_session_expires_s::x_refresher
char const * x_refresher
Value of "refresher" parameter: UAS or UAC.
Definition sip.h:708
sip_status_s
Structure for SIP status line.
Definition sip.h:370
sip_status_s::st_phrase
char const * st_phrase
Status phrase.
Definition sip.h:375
sip_status_s::st_version
char const * st_version
Protocol version.
Definition sip.h:373
sip_status_s::st_status
int st_status
Status code.
Definition sip.h:374
sip_status_s::st_common
sip_common_t st_common[1]
Common fragment info.
Definition sip.h:371
sip_status_s::st_next
sip_error_t * st_next
Link to next (dummy).
Definition sip.h:372
sip_subscription_state_s
Structure for Subscription-State header.
Definition sip.h:727
sip_subscription_state_s::ss_reason
char const * ss_reason
Reason for termination.
Definition sip.h:733
sip_subscription_state_s::ss_substate
char const * ss_substate
Subscription state: "pending", "active" or "terminated".
Definition sip.h:731
sip_subscription_state_s::ss_params
msg_param_t const * ss_params
List of parameters.
Definition sip.h:732
sip_subscription_state_s::ss_common
sip_common_t ss_common[1]
Common fragment info.
Definition sip.h:728
sip_subscription_state_s::ss_retry_after
char const * ss_retry_after
Value of retry-after parameter.
Definition sip.h:735
sip_subscription_state_s::ss_next
sip_error_t * ss_next
Dummy link to next.
Definition sip.h:729
sip_subscription_state_s::ss_expires
char const * ss_expires
Subscription lifetime.
Definition sip.h:734
sip_timestamp_s
Structure for Timestamp header.
Definition sip.h:742
sip_timestamp_s::ts_stamp
char const * ts_stamp
Original timestamp.
Definition sip.h:745
sip_timestamp_s::ts_common
sip_common_t ts_common[1]
Common fragment info.
Definition sip.h:743
sip_timestamp_s::ts_delay
char const * ts_delay
Delay at UAS.
Definition sip.h:746
sip_timestamp_s::ts_next
sip_error_t * ts_next
Dummy link to next.
Definition sip.h:744
sip_via_s
Structure for Via header field.
Definition sip.h:753
sip_via_s::v_next
sip_via_t * v_next
Link to next Via header.
Definition sip.h:755
sip_via_s::v_comp
char const * v_comp
Value of "comp" parameter.
Definition sip.h:766
sip_via_s::v_port
char const * v_port
Port number.
Definition sip.h:758
sip_via_s::v_params
msg_param_t const * v_params
List of via-params.
Definition sip.h:759
sip_via_s::v_protocol
char const * v_protocol
Application and transport protocol.
Definition sip.h:756
sip_via_s::v_rport
char const * v_rport
Value of "rport" parameter.
Definition sip.h:765
sip_via_s::v_ttl
char const * v_ttl
Value of "ttl" parameter.
Definition sip.h:761
sip_via_s::v_common
sip_common_t v_common[1]
Common fragment info.
Definition sip.h:754
sip_via_s::v_comment
char const * v_comment
Comment.
Definition sip.h:760
sip_via_s::v_host
char const * v_host
Hostname.
Definition sip.h:757
sip_via_s::v_maddr
char const * v_maddr
Value of "maddr" parameter.
Definition sip.h:762
sip_via_s::v_branch
char const * v_branch
Value of "branch" parameter.
Definition sip.h:764
sip_via_s::v_received
char const * v_received
Value of "received" parameter.
Definition sip.h:763
url_t
uint32_t
SU_U32_T uint32_t

Sofia-SIP 1.12.11devel - Copyright (C) 2006 Nokia Corporation. All rights reserved. Licensed under the terms of the GNU Lesser General Public License.