SIP Witch 1.9.15
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
eX_refer.h
Go to the documentation of this file.
1 /*
2  eXosip - This is the eXtended osip library.
3  Copyright (C) 2001-2012 Aymeric MOIZARD amoizard@antisip.com
4 
5  eXosip 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  eXosip 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 
20 
21 #ifdef ENABLE_MPATROL
22 #include <mpatrol.h>
23 #endif
24 
25 #ifndef MINISIZE
26 
27 #ifndef __EX_REFER_H__
28 #define __EX_REFER_H__
29 
31 #include <time.h>
32 
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36 
67  int eXosip_refer_build_request (struct eXosip_t *excontext, osip_message_t ** refer, const char *refer_to, const char *from, const char *to, const char *route);
68 
75  int eXosip_refer_send_request (struct eXosip_t *excontext, osip_message_t * refer);
76 
80 #ifdef __cplusplus
81 }
82 #endif
83 #endif
84 #endif
int eXosip_refer_send_request(struct eXosip_t *excontext, osip_message_t *refer)
Initiate a blind tranfer outside of any call.
Structure for SIP Message (REQUEST and RESPONSE).
Definition: osip_message.h:55
oSIP SIP Parser additionnal Routines
int eXosip_refer_build_request(struct eXosip_t *excontext, osip_message_t **refer, const char *refer_to, const char *from, const char *to, const char *route)
Build a default REFER message for a blind transfer outside of any calls.