2 .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved.
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH LIBSIP 3LIB "Jan 11, 2008"
8 libsip \- Session Initiation Protocol (SIP) library
12 cc [ \fIflag\fR... ] \fIfile\fR... \fB-lsip\fR [ \fIlibrary \fR... ]
13 #include <\fBsip.h\fR>
19 \fBSIP\fR is a control protocol that can establish, modify, and terminate
20 multimedia sessions, conferences, such as Internet telephony calls. Functions
21 in \fBlibsip\fR provide interfaces to write \fBSIP\fR components and
26 The shared object \fBlibsip.so.1\fR provides the public interfaces defined
27 below. See \fBIntro\fR(3) for additional information on shared object
35 \fBsip_add_accept\fR \fBsip_add_accept_enc\fR
36 \fBsip_add_accept_lang\fR \fBsip_add_alert_info\fR
37 \fBsip_add_allow\fR \fBsip_add_allow_events\fR
38 \fBsip_add_authen_info\fR \fBsip_add_author\fR
39 \fBsip_add_branchid_to_via\fR \fBsip_add_call_info\fR
40 \fBsip_add_callid\fR \fBsip_add_contact\fR
41 \fBsip_add_content\fR \fBsip_add_content_disp\fR
42 \fBsip_add_content_enc\fR \fBsip_add_content_lang\fR
43 \fBsip_add_content_type\fR \fBsip_add_cseq\fR
44 \fBsip_add_date\fR \fBsip_add_error_info\fR
45 \fBsip_add_event\fR \fBsip_add_expires\fR
46 \fBsip_add_from\fR \fBsip_add_header\fR
47 \fBsip_add_in_reply_to\fR \fBsip_add_maxforward\fR
48 \fBsip_add_mime_version\fR \fBsip_add_min_expires\fR
49 \fBsip_add_org\fR \fBsip_add_param\fR
50 \fBsip_add_passertedid\fR \fBsip_add_ppreferredid\fR
51 \fBsip_add_priority\fR \fBsip_add_privacy\fR
52 \fBsip_add_proxy_authen\fR \fBsip_add_proxy_author\fR
53 \fBsip_add_proxy_require\fR \fBsip_add_rack\fR
54 \fBsip_add_record_route\fR \fBsip_add_reply_to\fR
55 \fBsip_add_request_line\fR \fBsip_add_require\fR
56 \fBsip_add_response_line\fR \fBsip_add_retry_after\fR
57 \fBsip_add_route\fR \fBsip_add_rseq\fR
58 \fBsip_add_server\fR \fBsip_add_subject\fR
59 \fBsip_add_substate\fR \fBsip_add_supported\fR
60 \fBsip_add_to\fR \fBsip_add_tstamp\fR
61 \fBsip_add_unsupported\fR \fBsip_add_user_agent\fR
62 \fBsip_add_via\fR \fBsip_add_warning\fR
63 \fBsip_add_www_authen\fR \fBsip_branchid\fR
64 \fBsip_clear_stale_data\fR \fBsip_clone_msg\fR
65 \fBsip_conn_destroyed\fR \fBsip_copy_all_headers\fR
66 \fBsip_copy_header\fR \fBsip_copy_header_by_name\fR
67 \fBsip_copy_start_line\fR \fBsip_create_dialog_req\fR
68 \fBsip_create_dialog_req_nocontact\fR \fBsip_create_OKack\fR
69 \fBsip_create_response\fR \fBsip_delete_dialog\fR
70 \fBsip_delete_header\fR \fBsip_delete_header_by_name\fR
71 \fBsip_delete_start_line\fR \fBsip_delete_value\fR
72 \fBsip_disable_counters\fR \fBsip_disable_dialog_logging\fR
73 \fBsip_disable_trans_logging\fR \fBsip_enable_counters\fR
74 \fBsip_enable_dialog_logging\fR \fBsip_enable_trans_logging\fR
75 \fBsip_free_msg\fR \fBsip_free_parsed_uri\fR
76 \fBsip_get_accept_enc\fR \fBsip_get_accept_lang\fR
77 \fBsip_get_accept_sub_type\fR \fBsip_get_accept_type\fR
78 \fBsip_get_alert_info_uri\fR \fBsip_get_allow_events\fR
79 \fBsip_get_allow_method\fR \fBsip_get_authen_info\fR
80 \fBsip_get_author_param\fR \fBsip_get_author_scheme\fR
81 \fBsip_get_branchid\fR \fBsip_get_call_info_uri\fR
82 \fBsip_get_callid\fR \fBsip_get_callseq_method\fR
83 \fBsip_get_callseq_num\fR \fBsip_get_contact_display_name\fR
84 \fBsip_get_contact_uri_str\fR \fBsip_get_content_disp\fR
85 \fBsip_get_content_enc\fR \fBsip_get_content_lang\fR
86 \fBsip_get_content_length\fR \fBsip_get_content_sub_type\fR
87 \fBsip_get_content_type\fR \fBsip_get_content\fR
88 \fBsip_get_counter_value\fR \fBsip_get_cseq\fR
89 \fBsip_get_date_day\fR \fBsip_get_date_month\fR
90 \fBsip_get_date_time\fR \fBsip_get_date_timezone\fR
91 \fBsip_get_date_wkday\fR \fBsip_get_date_year\fR
92 \fBsip_get_dialog_callid\fR \fBsip_get_dialog_local_cseq\fR
93 \fBsip_get_dialog_local_tag\fR \fBsip_get_dialog_local_uri\fR
94 \fBsip_get_dialog_local_contact_uri\fR \fBsip_get_dialog_method\fR
95 \fBsip_get_dialog_msgcnt\fR \fBsip_get_dialog_remote_cseq\fR
96 \fBsip_get_dialog_remote_tag\fR \fBsip_get_dialog_remote_target_uri\fR
97 \fBsip_get_dialog_remote_uri\fR \fBsip_get_dialog_route_set\fR
98 \fBsip_get_dialog_state\fR \fBsip_get_dialog_type\fR
99 \fBsip_get_error_info_uri\fR \fBsip_get_event\fR
100 \fBsip_get_expires\fR \fBsip_get_from_display_name\fR
101 \fBsip_get_from_tag\fR \fBsip_get_from_uri_str\fR
102 \fBsip_get_header\fR \fBsip_get_header_value\fR
103 \fBsip_get_in_reply_to\fR \fBsip_get_maxforward\fR
104 \fBsip_get_mime_version\fR \fBsip_get_min_expires\fR
105 \fBsip_get_msg_len\fR \fBsip_get_next_value\fR
106 \fBsip_get_num_via\fR \fBsip_get_org\fR
107 \fBsip_get_param_value\fR \fBsip_get_params\fR
108 \fBsip_get_passertedid_display_name\fR \fBsip_get_passertedid_uri_str\fR
109 \fBsip_get_ppreferredid_display_name\fR \fBsip_get_ppreferredid_uri_str\fR
110 \fBsip_get_priority\fR \fBsip_get_priv_value\fR
111 \fBsip_get_proxy_authen_param\fR \fBsip_get_proxy_authen_scheme\fR
112 \fBsip_get_proxy_author_param\fR \fBsip_get_proxy_author_scheme\fR
113 \fBsip_get_proxy_require\fR \fBsip_get_rack_cseq_num\fR
114 \fBsip_get_rack_method\fR \fBsip_get_rack_resp_num\fR
115 \fBsip_get_replyto_display_name\fR \fBsip_get_replyto_uri_str\fR
116 \fBsip_get_request_method\fR \fBsip_get_request_uri_str\fR
117 \fBsip_get_require\fR \fBsip_get_resp_desc\fR
118 \fBsip_get_response_code\fR \fBsip_get_response_phrase\fR
119 \fBsip_get_retry_after_cmts\fR \fBsip_get_retry_after_time\fR
120 \fBsip_get_route_display_name\fR \fBsip_get_route_uri_str\fR
121 \fBsip_get_rseq\fR \fBsip_get_rseq_resp_num\fR
122 \fBsip_get_server\fR \fBsip_get_sip_version\fR
123 \fBsip_get_subject\fR \fBsip_get_substate\fR
124 \fBsip_get_supported\fR \fBsip_get_to_display_name\fR
125 \fBsip_get_to_tag\fR \fBsip_get_to_uri_str\fR
126 \fBsip_get_trans\fR \fBsip_get_trans_branchid\fR
127 \fBsip_get_trans_conn_obj\fR \fBsip_get_trans_method\fR
128 \fBsip_get_trans_orig_msg\fR \fBsip_get_trans_resp_msg\fR
129 \fBsip_get_trans_state\fR \fBsip_get_tstamp_delay\fR
130 \fBsip_get_tstamp_value\fR \fBsip_get_unsupported\fR
131 \fBsip_get_uri_errflags\fR \fBsip_get_uri_headers\fR
132 \fBsip_get_uri_host\fR \fBsip_get_uri_opaque\fR
133 \fBsip_get_uri_params\fR \fBsip_get_uri_parsed\fR
134 \fBsip_get_uri_password\fR \fBsip_get_uri_path\fR
135 \fBsip_get_uri_port\fR \fBsip_get_uri_query\fR
136 \fBsip_get_uri_regname\fR \fBsip_get_uri_scheme\fR
137 \fBsip_get_uri_user\fR \fBsip_get_user_agent\fR
138 \fBsip_get_via_sent_by_host\fR \fBsip_get_via_sent_by_port\fR
139 \fBsip_get_via_sent_protocol_name\fR \fBsip_get_via_sent_protocol_version\fR
140 \fBsip_get_via_sent_transport\fR \fBsip_get_warning_agent\fR
141 \fBsip_get_warning_code\fR \fBsip_get_warning_text\fR
142 \fBsip_get_www_authen_param\fR \fBsip_get_www_authen_scheme\fR
143 \fBsip_guid\fR \fBsip_hdr_to_str\fR
144 \fBsip_hold_dialog\fR \fBsip_hold_msg\fR
145 \fBsip_hold_trans\fR \fBsip_init_conn_object\fR
146 \fBsip_is_dialog_secure\fR \fBsip_is_param_present\fR
147 \fBsip_is_sip_uri\fR \fBsip_is_uri_teluser\fR
148 \fBsip_msg_is_request\fR \fBsip_msg_is_response\fR
149 \fBsip_msg_to_str\fR \fBsip_new_msg\fR
150 \fBsip_parse_uri\fR \fBsip_process_new_packet\fR
151 \fBsip_register_sent_by\fR \fBsip_release_dialog\fR
152 \fBsip_release_trans\fR \fBsip_reqline_to_str\fR
153 \fBsip_respline_to_str\fR \fBsip_sendmsg\fR
154 \fBsip_sent_by_to_str\fR \fBsip_stack_init\fR
155 \fBsip_unregister_all_sent_by\fR \fBsip_unregister_sent_by\fR
156 \fBsip_uri_errflags_to_str\fR
163 \fB\fB/lib/libsip.so.1\fR\fR
172 \fB\fB/lib/64/libsip.so.1\fR\fR
181 See \fBattributes\fR(5) for description of the following attributes:
189 ATTRIBUTE TYPE ATTRIBUTE VALUE
191 Interface Stability Committed
199 \fBIntro\fR(3), \fBattributes\fR(5)