dlg_transfer.c File Reference

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "../../dprint.h"
#include "../../ut.h"
#include "../../trim.h"
#include "../../mem/mem.h"
#include "../../mem/shm_mem.h"
#include "../../parser/parse_from.h"
#include "../../parser/msg_parser.h"
#include "../tm/tm_load.h"
#include "dlg_req_within.h"
#include "dlg_transfer.h"

Include dependency graph for dlg_transfer.c:

Go to the source code of this file.

Defines

#define DLG_HOLD_CT_HDR   "Contact: <sip:kamailio.org:5060>\r\nContent-Type: application/sdp\r\n"
#define DLG_HOLD_CT_HDR_LEN   (sizeof(DLG_HOLD_CT_HDR)-1)
#define DLG_HOLD_SDP   "v=0\r\no=kamailio-bridge 0 0 IN IP4 0.0.0.0\r\ns=kamailio\r\nc=IN IP4 0.0.0.0\r\nt=0 0\r\nm=audio 9 RTP/AVP 8 0\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:0 PCMU/8000\r\n"
#define DLG_HOLD_SDP_LEN   (sizeof(DLG_HOLD_SDP)-1)

Functions

int dlg_bridge (str *from, str *to, str *op)
void dlg_bridge_tm_callback (struct cell *t, int type, struct tmcb_params *ps)
static int dlg_refer_callee (dlg_transfer_ctx_t *dtc)
void dlg_refer_tm_callback (struct cell *t, int type, struct tmcb_params *ps)
int dlg_transfer (struct dlg_cell *dlg, str *to, int side)
void dlg_transfer_ctx_free (dlg_transfer_ctx_t *dtc)

Variables

str dlg_bridge_controller


Define Documentation

#define DLG_HOLD_CT_HDR   "Contact: <sip:kamailio.org:5060>\r\nContent-Type: application/sdp\r\n"

Definition at line 42 of file dlg_transfer.c.

Referenced by dlg_bridge().

#define DLG_HOLD_CT_HDR_LEN   (sizeof(DLG_HOLD_CT_HDR)-1)

Definition at line 43 of file dlg_transfer.c.

Referenced by dlg_bridge().

#define DLG_HOLD_SDP   "v=0\r\no=kamailio-bridge 0 0 IN IP4 0.0.0.0\r\ns=kamailio\r\nc=IN IP4 0.0.0.0\r\nt=0 0\r\nm=audio 9 RTP/AVP 8 0\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:0 PCMU/8000\r\n"

$Id$

Copyright (C) 2009 Daniel-Constantin Mierla (asipto.com)

This file is part of kamailio, a free SIP server.

kamailio is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version

kamailio 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 General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Definition at line 39 of file dlg_transfer.c.

Referenced by dlg_bridge().

#define DLG_HOLD_SDP_LEN   (sizeof(DLG_HOLD_SDP)-1)

Definition at line 40 of file dlg_transfer.c.

Referenced by dlg_bridge().


Function Documentation

int dlg_bridge ( str from,
str to,
str op 
)

void dlg_bridge_tm_callback ( struct cell t,
int  type,
struct tmcb_params ps 
)

static int dlg_refer_callee ( dlg_transfer_ctx_t dtc  )  [static]

void dlg_refer_tm_callback ( struct cell t,
int  type,
struct tmcb_params ps 
)

int dlg_transfer ( struct dlg_cell dlg,
str to,
int  side 
)

void dlg_transfer_ctx_free ( dlg_transfer_ctx_t dtc  ) 


Variable Documentation

Definition at line 88 of file dialog.c.


Generated on Tue May 22 16:00:39 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6