#include "../../dprint.h"#include "../tm/tm_load.h"#include "uac_send.h"

Go to the source code of this file.
Data Structures | |
| struct | _uac_send_info |
Defines | |
| #define | MAX_UACB_SIZE 4086 |
| #define | MAX_UACH_SIZE 2048 |
Functions | |
| int | pv_get_uac_req (struct sip_msg *msg, pv_param_t *param, pv_value_t *res) |
| int | pv_parse_uac_req_name (pv_spec_p sp, str *in) |
| int | pv_set_uac_req (struct sip_msg *msg, pv_param_t *param, int op, pv_value_t *val) |
| void | uac_req_init (void) |
| int | uac_req_send (struct sip_msg *msg, char *s1, char *s2) |
| void | uac_send_tm_callback (struct cell *t, int type, struct tmcb_params *ps) |
Variables | |
| static struct _uac_send_info | _uac_req |
| struct tm_binds | tmb |
| #define MAX_UACB_SIZE 4086 |
| #define MAX_UACH_SIZE 2048 |
$Id$
Copyright (C) 2009 Daniel-Constantin Mierla (asipto.com)
This file is part of kamailio, a free SIP server.
openser 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
openser 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 29 of file uac_send.c.
Referenced by pv_set_uac_req().
| int pv_get_uac_req | ( | struct sip_msg * | msg, | |
| pv_param_t * | param, | |||
| pv_value_t * | res | |||
| ) |
$Id$
Copyright (C) 2009 Daniel-Constantin Mierla (asipto.com)
This file is part of kamailio, a free SIP server.
openser 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
openser 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 56 of file uac_send.c.
References _uac_req, _uac_send_info::flags, _pv_name::isname, _str::len, NULL, pv_get_null(), pv_get_strval(), pv_get_uintval(), _pv_param::pvn, _uac_send_info::s_body, _uac_send_info::s_furi, _uac_send_info::s_hdrs, _uac_send_info::s_method, _uac_send_info::s_ouri, _uac_send_info::s_ruri, _uac_send_info::s_turi, tm_binds::t_request, tmb, and _pv_name::u.
Definition at line 284 of file uac_send.c.
References _pv_name::isname, _str::len, LM_ERR, NULL, PV_NAME_INTSTR, _pv_param::pvn, _pv_spec::pvp, _str::s, _pv_name::type, and _pv_name::u.
| int pv_set_uac_req | ( | struct sip_msg * | msg, | |
| pv_param_t * | param, | |||
| int | op, | |||
| pv_value_t * | val | |||
| ) |
Definition at line 100 of file uac_send.c.
References _uac_req, _pv_value::flags, _uac_send_info::flags, _pv_name::isname, _str::len, LM_ERR, MAX_UACB_SIZE, MAX_UACH_SIZE, MAX_URI_SIZE, NULL, _uac_send_info::onreply, ONREPLY_RT_NO, PV_VAL_INT, PV_VAL_STR, _pv_param::pvn, _pv_value::ri, _pv_value::rs, _str::s, _uac_send_info::s_body, _uac_send_info::s_furi, _uac_send_info::s_hdrs, _uac_send_info::s_method, _uac_send_info::s_ouri, _uac_send_info::s_ruri, _uac_send_info::s_turi, tm_binds::t_request, tmb, and _pv_name::u.
| void uac_req_init | ( | void | ) |
Definition at line 334 of file uac_send.c.
References _uac_req, _uac_send_info::b_body, _uac_send_info::b_furi, _uac_send_info::b_hdrs, _uac_send_info::b_method, _uac_send_info::b_ouri, _uac_send_info::b_ruri, _uac_send_info::b_turi, LM_DBG, load_tm_api(), _str::s, _uac_send_info::s_body, _uac_send_info::s_furi, _uac_send_info::s_hdrs, _uac_send_info::s_method, _uac_send_info::s_ouri, _uac_send_info::s_ruri, _uac_send_info::s_turi, and tmb.
Referenced by mod_init().
| int uac_req_send | ( | struct sip_msg * | msg, | |
| char * | s1, | |||
| char * | s2 | |||
| ) |
Definition at line 373 of file uac_send.c.
References _uac_req, _str::len, NULL, _uac_send_info::onreply, _uac_send_info::s_body, _uac_send_info::s_furi, _uac_send_info::s_hdrs, _uac_send_info::s_method, _uac_send_info::s_ouri, _uac_send_info::s_ruri, _uac_send_info::s_turi, tm_binds::t_request, tmb, and uac_send_tm_callback().
| void uac_send_tm_callback | ( | struct cell * | t, | |
| int | type, | |||
| struct tmcb_params * | ps | |||
| ) |
TM callback function
Definition at line 356 of file uac_send.c.
References tmcb_params::code, LM_DBG, NULL, _uac_send_info::onreply, and tmcb_params::param.
Referenced by uac_req_send().
struct _uac_send_info _uac_req [static] |
Definition at line 54 of file uac_send.c.
Referenced by pv_get_uac_req(), pv_set_uac_req(), uac_req_init(), and uac_req_send().
TM bind
Definition at line 33 of file uac_send.c.
1.5.6