Benny Prijono | 268ca61 | 2006-02-07 12:34:11 +0000 | [diff] [blame] | 1 | /* $Id$ */ |
| 2 | /* |
| 3 | * Copyright (C) 2003-2006 Benny Prijono <benny@prijono.org> |
| 4 | * |
| 5 | * This program is free software; you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by |
| 7 | * the Free Software Foundation; either version 2 of the License, or |
| 8 | * (at your option) any later version. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this program; if not, write to the Free Software |
| 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 18 | */ |
| 19 | #ifndef __PJSUA_H__ |
| 20 | #define __PJSUA_H__ |
| 21 | |
| 22 | /* Include all PJSIP core headers. */ |
| 23 | #include <pjsip.h> |
| 24 | |
| 25 | /* Include all PJMEDIA headers. */ |
| 26 | #include <pjmedia.h> |
| 27 | |
Benny Prijono | 1f9afba | 2006-02-10 15:57:32 +0000 | [diff] [blame] | 28 | /* Include all PJMEDIA-CODEC headers. */ |
| 29 | #include <pjmedia-codec.h> |
| 30 | |
Benny Prijono | 268ca61 | 2006-02-07 12:34:11 +0000 | [diff] [blame] | 31 | /* Include all PJSIP-UA headers */ |
| 32 | #include <pjsip_ua.h> |
| 33 | |
Benny Prijono | 834aee3 | 2006-02-19 01:38:06 +0000 | [diff] [blame] | 34 | /* Include all PJSIP-SIMPLE headers */ |
| 35 | #include <pjsip_simple.h> |
| 36 | |
Benny Prijono | 268ca61 | 2006-02-07 12:34:11 +0000 | [diff] [blame] | 37 | /* Include all PJLIB-UTIL headers. */ |
| 38 | #include <pjlib-util.h> |
| 39 | |
| 40 | /* Include all PJLIB headers. */ |
| 41 | #include <pjlib.h> |
| 42 | |
| 43 | |
Benny Prijono | 1a01ad3 | 2006-02-07 21:13:28 +0000 | [diff] [blame] | 44 | PJ_BEGIN_DECL |
| 45 | |
Benny Prijono | 632ce71 | 2006-02-09 14:01:40 +0000 | [diff] [blame] | 46 | |
Benny Prijono | f319507 | 2006-02-14 21:15:30 +0000 | [diff] [blame] | 47 | /** |
| 48 | * Max buddies in buddy list. |
| 49 | */ |
| 50 | #define PJSUA_MAX_BUDDIES 32 |
| 51 | |
Benny Prijono | f04ffdd | 2006-02-21 00:11:18 +0000 | [diff] [blame] | 52 | /** |
| 53 | * Max simultaneous calls. |
| 54 | */ |
| 55 | #define PJSUA_MAX_CALLS 8 |
| 56 | |
| 57 | |
Benny Prijono | 632ce71 | 2006-02-09 14:01:40 +0000 | [diff] [blame] | 58 | /** |
| 59 | * Structure to be attached to all dialog. |
| 60 | * Given a dialog "dlg", application can retrieve this structure |
| 61 | * by accessing dlg->mod_data[pjsua.mod.id]. |
| 62 | */ |
| 63 | struct pjsua_inv_data |
| 64 | { |
| 65 | PJ_DECL_LIST_MEMBER(struct pjsua_inv_data); |
| 66 | |
Benny Prijono | f04ffdd | 2006-02-21 00:11:18 +0000 | [diff] [blame] | 67 | pjsip_inv_session *inv; /**< The invite session. */ |
| 68 | pjmedia_session *session; /**< The media session. */ |
| 69 | unsigned conf_slot; /**< Slot # in conference bridge. */ |
| 70 | unsigned call_slot; /**< RTP media index in med_sock_use[] */ |
Benny Prijono | 26ff906 | 2006-02-21 23:47:00 +0000 | [diff] [blame^] | 71 | pjsip_evsub *xfer_sub; /**< Xfer server subscription, if this |
| 72 | call was triggered by xfer. */ |
Benny Prijono | 632ce71 | 2006-02-09 14:01:40 +0000 | [diff] [blame] | 73 | }; |
| 74 | |
| 75 | |
Benny Prijono | 834aee3 | 2006-02-19 01:38:06 +0000 | [diff] [blame] | 76 | /** |
| 77 | * Buddy data. |
| 78 | */ |
| 79 | struct pjsua_buddy |
| 80 | { |
| 81 | pj_str_t uri; /**< Buddy URI */ |
| 82 | pj_bool_t monitor; /**< Should we monitor? */ |
| 83 | pjsip_evsub *sub; /**< Buddy presence subscription */ |
| 84 | pjsip_pres_status status; /**< Buddy presence status. */ |
| 85 | }; |
| 86 | |
| 87 | typedef struct pjsua_buddy pjsua_buddy; |
| 88 | |
| 89 | |
| 90 | /** |
| 91 | * Server presence subscription list head. |
| 92 | */ |
| 93 | struct pjsua_srv_pres |
| 94 | { |
| 95 | PJ_DECL_LIST_MEMBER(struct pjsua_srv_pres); |
| 96 | pjsip_evsub *sub; |
| 97 | char *remote; |
| 98 | }; |
| 99 | |
| 100 | typedef struct pjsua_srv_pres pjsua_srv_pres; |
| 101 | |
| 102 | |
Benny Prijono | 632ce71 | 2006-02-09 14:01:40 +0000 | [diff] [blame] | 103 | |
Benny Prijono | 268ca61 | 2006-02-07 12:34:11 +0000 | [diff] [blame] | 104 | /* PJSUA application variables. */ |
Benny Prijono | 9519658 | 2006-02-09 00:13:40 +0000 | [diff] [blame] | 105 | struct pjsua |
Benny Prijono | 268ca61 | 2006-02-07 12:34:11 +0000 | [diff] [blame] | 106 | { |
| 107 | /* Control: */ |
| 108 | |
Benny Prijono | 9519658 | 2006-02-09 00:13:40 +0000 | [diff] [blame] | 109 | pj_caching_pool cp; /**< Global pool factory. */ |
| 110 | pjsip_endpoint *endpt; /**< Global endpoint. */ |
| 111 | pj_pool_t *pool; /**< pjsua's private pool. */ |
| 112 | pjsip_module mod; /**< pjsua's PJSIP module. */ |
Benny Prijono | 268ca61 | 2006-02-07 12:34:11 +0000 | [diff] [blame] | 113 | |
| 114 | |
Benny Prijono | 9519658 | 2006-02-09 00:13:40 +0000 | [diff] [blame] | 115 | /* Media: */ |
| 116 | |
Benny Prijono | f04ffdd | 2006-02-21 00:11:18 +0000 | [diff] [blame] | 117 | pjmedia_endpt *med_endpt; /**< Media endpoint. */ |
| 118 | pjmedia_conf *mconf; /**< Media conference. */ |
| 119 | pj_bool_t null_audio; /**< Null audio flag. */ |
| 120 | |
| 121 | |
| 122 | /* Since we support simultaneous calls, we need to have multiple |
| 123 | * RTP sockets. |
| 124 | */ |
| 125 | pjmedia_sock_info med_sock_info[PJSUA_MAX_CALLS]; |
| 126 | pj_bool_t med_sock_use[PJSUA_MAX_CALLS]; |
Benny Prijono | 9519658 | 2006-02-09 00:13:40 +0000 | [diff] [blame] | 127 | |
Benny Prijono | 268ca61 | 2006-02-07 12:34:11 +0000 | [diff] [blame] | 128 | /* User info: */ |
Benny Prijono | ccf9562 | 2006-02-07 18:48:01 +0000 | [diff] [blame] | 129 | |
Benny Prijono | 268ca61 | 2006-02-07 12:34:11 +0000 | [diff] [blame] | 130 | pj_str_t local_uri; /**< Uri in From: header. */ |
| 131 | pj_str_t contact_uri; /**< Uri in Contact: header. */ |
| 132 | |
Benny Prijono | ccf9562 | 2006-02-07 18:48:01 +0000 | [diff] [blame] | 133 | /* Proxy URLs: */ |
| 134 | |
| 135 | pj_str_t proxy; |
| 136 | pj_str_t outbound_proxy; |
Benny Prijono | 9519658 | 2006-02-09 00:13:40 +0000 | [diff] [blame] | 137 | pjsip_route_hdr route_set; |
| 138 | |
Benny Prijono | ccf9562 | 2006-02-07 18:48:01 +0000 | [diff] [blame] | 139 | |
| 140 | /* Registration: */ |
| 141 | |
| 142 | pj_str_t registrar_uri; |
| 143 | pjsip_regc *regc; |
| 144 | pj_int32_t reg_timeout; |
| 145 | pj_timer_entry regc_timer; |
Benny Prijono | bcaed6c | 2006-02-19 15:37:19 +0000 | [diff] [blame] | 146 | pj_status_t regc_last_err; /**< Last registration error. */ |
Benny Prijono | f319507 | 2006-02-14 21:15:30 +0000 | [diff] [blame] | 147 | int regc_last_code;/**< Last status last register. */ |
Benny Prijono | ccf9562 | 2006-02-07 18:48:01 +0000 | [diff] [blame] | 148 | |
| 149 | |
| 150 | /* Authentication credentials: */ |
| 151 | |
Benny Prijono | f319507 | 2006-02-14 21:15:30 +0000 | [diff] [blame] | 152 | unsigned cred_count; |
Benny Prijono | ccf9562 | 2006-02-07 18:48:01 +0000 | [diff] [blame] | 153 | pjsip_cred_info cred_info[4]; |
| 154 | |
| 155 | |
Benny Prijono | f04ffdd | 2006-02-21 00:11:18 +0000 | [diff] [blame] | 156 | /* Threading (optional): */ |
Benny Prijono | 268ca61 | 2006-02-07 12:34:11 +0000 | [diff] [blame] | 157 | |
| 158 | int thread_cnt; /**< Thread count. */ |
| 159 | pj_thread_t *threads[8]; /**< Thread instances. */ |
| 160 | pj_bool_t quit_flag; /**< To signal thread to quit. */ |
| 161 | |
| 162 | /* Transport (UDP): */ |
| 163 | |
| 164 | pj_uint16_t sip_port; /**< SIP signaling port. */ |
| 165 | pj_sock_t sip_sock; /**< SIP UDP socket. */ |
| 166 | pj_sockaddr_in sip_sock_name; /**< Public/STUN UDP socket addr. */ |
Benny Prijono | 268ca61 | 2006-02-07 12:34:11 +0000 | [diff] [blame] | 167 | |
| 168 | |
| 169 | |
| 170 | /* STUN: */ |
| 171 | |
| 172 | pj_str_t stun_srv1; |
| 173 | int stun_port1; |
| 174 | pj_str_t stun_srv2; |
| 175 | int stun_port2; |
| 176 | |
| 177 | |
| 178 | /* Misc: */ |
| 179 | |
| 180 | int log_level; /**< Logging verbosity. */ |
| 181 | int app_log_level; /**< stdout log verbosity. */ |
| 182 | unsigned log_decor; /**< Log decoration. */ |
Benny Prijono | ccf9562 | 2006-02-07 18:48:01 +0000 | [diff] [blame] | 183 | char *log_filename; /**< Log filename. */ |
Benny Prijono | 268ca61 | 2006-02-07 12:34:11 +0000 | [diff] [blame] | 184 | |
Benny Prijono | f319507 | 2006-02-14 21:15:30 +0000 | [diff] [blame] | 185 | |
Benny Prijono | 632ce71 | 2006-02-09 14:01:40 +0000 | [diff] [blame] | 186 | /* List of invite sessions: */ |
| 187 | |
| 188 | struct pjsua_inv_data inv_list; |
Benny Prijono | f319507 | 2006-02-14 21:15:30 +0000 | [diff] [blame] | 189 | |
| 190 | |
Benny Prijono | 834aee3 | 2006-02-19 01:38:06 +0000 | [diff] [blame] | 191 | /* SIMPLE and buddy status: */ |
| 192 | |
| 193 | pj_bool_t online_status; /**< Out online status. */ |
| 194 | pjsua_srv_pres pres_srv_list; /**< Server subscription list. */ |
Benny Prijono | f319507 | 2006-02-14 21:15:30 +0000 | [diff] [blame] | 195 | |
| 196 | unsigned buddy_cnt; |
Benny Prijono | 834aee3 | 2006-02-19 01:38:06 +0000 | [diff] [blame] | 197 | pjsua_buddy buddies[PJSUA_MAX_BUDDIES]; |
Benny Prijono | 1a01ad3 | 2006-02-07 21:13:28 +0000 | [diff] [blame] | 198 | }; |
Benny Prijono | 268ca61 | 2006-02-07 12:34:11 +0000 | [diff] [blame] | 199 | |
Benny Prijono | 9519658 | 2006-02-09 00:13:40 +0000 | [diff] [blame] | 200 | |
| 201 | /** PJSUA instance. */ |
| 202 | extern struct pjsua pjsua; |
| 203 | |
| 204 | |
Benny Prijono | 268ca61 | 2006-02-07 12:34:11 +0000 | [diff] [blame] | 205 | |
| 206 | /***************************************************************************** |
Benny Prijono | 84126ab | 2006-02-09 09:30:09 +0000 | [diff] [blame] | 207 | * PJSUA API (defined in pjsua_core.c). |
Benny Prijono | 268ca61 | 2006-02-07 12:34:11 +0000 | [diff] [blame] | 208 | */ |
| 209 | |
| 210 | /** |
| 211 | * Initialize pjsua settings with default parameters. |
| 212 | */ |
| 213 | void pjsua_default(void); |
| 214 | |
| 215 | |
| 216 | /** |
| 217 | * Display error message for the specified error code. |
| 218 | */ |
Benny Prijono | bcaed6c | 2006-02-19 15:37:19 +0000 | [diff] [blame] | 219 | void pjsua_perror(const char *sender, const char *title, |
| 220 | pj_status_t status); |
Benny Prijono | 268ca61 | 2006-02-07 12:34:11 +0000 | [diff] [blame] | 221 | |
| 222 | |
| 223 | /** |
Benny Prijono | ccf9562 | 2006-02-07 18:48:01 +0000 | [diff] [blame] | 224 | * Initialize pjsua application. Application can call this before parsing |
| 225 | * application settings. |
| 226 | * |
| 227 | * This will initialize all libraries, create endpoint instance, and register |
| 228 | * pjsip modules. Transport will NOT be created however. |
| 229 | * |
| 230 | * Application may register module after calling this function. |
Benny Prijono | 268ca61 | 2006-02-07 12:34:11 +0000 | [diff] [blame] | 231 | */ |
| 232 | pj_status_t pjsua_init(void); |
| 233 | |
| 234 | |
| 235 | /** |
Benny Prijono | ccf9562 | 2006-02-07 18:48:01 +0000 | [diff] [blame] | 236 | * Start pjsua stack. Application calls this after pjsua settings has been |
| 237 | * configured. |
| 238 | * |
| 239 | * This will start the transport, worker threads (if any), and registration |
| 240 | * process, if registration is configured. |
| 241 | */ |
| 242 | pj_status_t pjsua_start(void); |
| 243 | |
| 244 | |
| 245 | /** |
Benny Prijono | 268ca61 | 2006-02-07 12:34:11 +0000 | [diff] [blame] | 246 | * Destroy pjsua. |
| 247 | */ |
| 248 | pj_status_t pjsua_destroy(void); |
| 249 | |
| 250 | |
Benny Prijono | 84126ab | 2006-02-09 09:30:09 +0000 | [diff] [blame] | 251 | /***************************************************************************** |
| 252 | * PJSUA Invite session API (defined in pjsua_inv.c). |
| 253 | */ |
| 254 | |
Benny Prijono | 268ca61 | 2006-02-07 12:34:11 +0000 | [diff] [blame] | 255 | /** |
| 256 | * Make outgoing call. |
| 257 | */ |
| 258 | pj_status_t pjsua_invite(const char *cstr_dest_uri, |
Benny Prijono | 26ff906 | 2006-02-21 23:47:00 +0000 | [diff] [blame^] | 259 | struct pjsua_inv_data **p_inv_data); |
Benny Prijono | 268ca61 | 2006-02-07 12:34:11 +0000 | [diff] [blame] | 260 | |
| 261 | |
Benny Prijono | 84126ab | 2006-02-09 09:30:09 +0000 | [diff] [blame] | 262 | /** |
| 263 | * Handle incoming invite request. |
| 264 | */ |
| 265 | pj_bool_t pjsua_inv_on_incoming(pjsip_rx_data *rdata); |
| 266 | |
| 267 | |
| 268 | /** |
Benny Prijono | 26ff906 | 2006-02-21 23:47:00 +0000 | [diff] [blame^] | 269 | * Hangup call. |
| 270 | */ |
| 271 | void pjsua_inv_hangup(struct pjsua_inv_data *inv_session, int code); |
| 272 | |
| 273 | |
| 274 | /** |
| 275 | * Put call on-hold. |
| 276 | */ |
| 277 | void pjsua_inv_set_hold(struct pjsua_inv_data *inv_session); |
| 278 | |
| 279 | |
| 280 | /** |
| 281 | * Send re-INVITE (to release hold). |
| 282 | */ |
| 283 | void pjsua_inv_reinvite(struct pjsua_inv_data *inv_session); |
| 284 | |
| 285 | |
| 286 | /** |
| 287 | * Transfer call. |
| 288 | */ |
| 289 | void pjsua_inv_xfer_call(struct pjsua_inv_data *inv_session, |
| 290 | const char *dest); |
| 291 | |
| 292 | |
| 293 | /** |
Benny Prijono | 84126ab | 2006-02-09 09:30:09 +0000 | [diff] [blame] | 294 | * Callback to be called by session when invite session's state has changed. |
| 295 | */ |
| 296 | void pjsua_inv_on_state_changed(pjsip_inv_session *inv, pjsip_event *e); |
| 297 | |
| 298 | |
| 299 | /** |
| 300 | * Callback to be called by session when outgoing dialog has forked. |
| 301 | * This function will create a forked dialog. |
| 302 | */ |
| 303 | void pjsua_inv_on_new_session(pjsip_inv_session *inv, pjsip_event *e); |
| 304 | |
| 305 | |
| 306 | /** |
| 307 | * Callback to be called when SDP offer/answer negotiation has just completed |
| 308 | * in the session. This function will start/update media if negotiation |
| 309 | * has succeeded. |
| 310 | */ |
| 311 | void pjsua_inv_on_media_update(pjsip_inv_session *inv, pj_status_t status); |
| 312 | |
Benny Prijono | 26ff906 | 2006-02-21 23:47:00 +0000 | [diff] [blame^] | 313 | /** |
| 314 | * Callback called when invite session received new offer. |
| 315 | */ |
| 316 | void pjsua_inv_on_rx_offer( pjsip_inv_session *inv, |
| 317 | const pjmedia_sdp_session *offer); |
| 318 | |
| 319 | /** |
| 320 | * Callback to receive transaction state inside invite session or dialog |
| 321 | * (e.g. REFER, MESSAGE). |
| 322 | */ |
| 323 | void pjsua_inv_on_tsx_state_changed(pjsip_inv_session *inv, |
| 324 | pjsip_transaction *tsx, |
| 325 | pjsip_event *e); |
Benny Prijono | 84126ab | 2006-02-09 09:30:09 +0000 | [diff] [blame] | 326 | |
Benny Prijono | 834aee3 | 2006-02-19 01:38:06 +0000 | [diff] [blame] | 327 | /** |
| 328 | * Terminate all calls. |
| 329 | */ |
| 330 | void pjsua_inv_shutdown(void); |
| 331 | |
| 332 | |
Benny Prijono | 268ca61 | 2006-02-07 12:34:11 +0000 | [diff] [blame] | 333 | /***************************************************************************** |
Benny Prijono | 84126ab | 2006-02-09 09:30:09 +0000 | [diff] [blame] | 334 | * PJSUA Client Registration API (defined in pjsua_reg.c). |
Benny Prijono | ccf9562 | 2006-02-07 18:48:01 +0000 | [diff] [blame] | 335 | */ |
| 336 | |
| 337 | /** |
| 338 | * Initialize client registration session. |
| 339 | * |
| 340 | * @param app_callback Optional callback |
| 341 | */ |
| 342 | pj_status_t pjsua_regc_init(void); |
| 343 | |
| 344 | /** |
| 345 | * Update registration or perform unregistration. If renew argument is zero, |
| 346 | * this will start unregistration process. |
| 347 | */ |
| 348 | void pjsua_regc_update(pj_bool_t renew); |
| 349 | |
| 350 | |
Benny Prijono | 834aee3 | 2006-02-19 01:38:06 +0000 | [diff] [blame] | 351 | |
| 352 | |
| 353 | /***************************************************************************** |
| 354 | * PJSUA Presence (pjsua_pres.c) |
| 355 | */ |
| 356 | |
| 357 | /** |
| 358 | * Init presence. |
| 359 | */ |
| 360 | pj_status_t pjsua_pres_init(); |
| 361 | |
| 362 | /** |
| 363 | * Refresh both presence client and server subscriptions. |
| 364 | */ |
| 365 | void pjsua_pres_refresh(void); |
| 366 | |
| 367 | /** |
| 368 | * Terminate all subscriptions |
| 369 | */ |
| 370 | void pjsua_pres_shutdown(void); |
| 371 | |
| 372 | /** |
| 373 | * Dump presence subscriptions. |
| 374 | */ |
| 375 | void pjsua_pres_dump(void); |
| 376 | |
| 377 | |
Benny Prijono | ccf9562 | 2006-02-07 18:48:01 +0000 | [diff] [blame] | 378 | /***************************************************************************** |
Benny Prijono | 268ca61 | 2006-02-07 12:34:11 +0000 | [diff] [blame] | 379 | * User Interface API. |
Benny Prijono | 84126ab | 2006-02-09 09:30:09 +0000 | [diff] [blame] | 380 | * |
Benny Prijono | 268ca61 | 2006-02-07 12:34:11 +0000 | [diff] [blame] | 381 | * The UI API specifies functions that will be called by pjsua upon |
| 382 | * occurence of various events. |
| 383 | */ |
| 384 | |
| 385 | /** |
| 386 | * Notify UI when invite state has changed. |
| 387 | */ |
Benny Prijono | ccf9562 | 2006-02-07 18:48:01 +0000 | [diff] [blame] | 388 | void pjsua_ui_inv_on_state_changed(pjsip_inv_session *inv, pjsip_event *e); |
Benny Prijono | 268ca61 | 2006-02-07 12:34:11 +0000 | [diff] [blame] | 389 | |
Benny Prijono | f319507 | 2006-02-14 21:15:30 +0000 | [diff] [blame] | 390 | /** |
| 391 | * Notify UI when registration status has changed. |
| 392 | */ |
| 393 | void pjsua_ui_regc_on_state_changed(int code); |
| 394 | |
| 395 | |
| 396 | /***************************************************************************** |
| 397 | * Utilities. |
| 398 | * |
| 399 | */ |
| 400 | |
| 401 | /** String to describe invite session states */ |
| 402 | extern const char *pjsua_inv_state_names[]; |
| 403 | |
| 404 | /** |
| 405 | * Parse arguments (pjsua_opt.c). |
| 406 | */ |
| 407 | pj_status_t pjsua_parse_args(int argc, char *argv[]); |
| 408 | |
| 409 | /** |
| 410 | * Load settings from a file. |
| 411 | */ |
| 412 | pj_status_t pjsua_load_settings(const char *filename); |
| 413 | |
| 414 | /** |
| 415 | * Save settings to a file. |
| 416 | */ |
| 417 | pj_status_t pjsua_save_settings(const char *filename); |
| 418 | |
| 419 | |
| 420 | /* |
| 421 | * Verify that valid SIP url is given. |
| 422 | * @return PJ_SUCCESS if valid. |
| 423 | */ |
| 424 | pj_status_t pjsua_verify_sip_url(const char *c_url); |
| 425 | |
| 426 | /* |
| 427 | * Dump application states. |
| 428 | */ |
| 429 | void pjsua_dump(void); |
| 430 | |
Benny Prijono | 268ca61 | 2006-02-07 12:34:11 +0000 | [diff] [blame] | 431 | |
Benny Prijono | 1a01ad3 | 2006-02-07 21:13:28 +0000 | [diff] [blame] | 432 | PJ_END_DECL |
| 433 | |
Benny Prijono | f319507 | 2006-02-14 21:15:30 +0000 | [diff] [blame] | 434 | |
Benny Prijono | 268ca61 | 2006-02-07 12:34:11 +0000 | [diff] [blame] | 435 | #endif /* __PJSUA_H__ */ |