siptrace module - helper module to trace sip messages More...
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <time.h>#include "../../sr_module.h"#include "../../dprint.h"#include "../../ut.h"#include "../../ip_addr.h"#include "../../mem/mem.h"#include "../../mem/shm_mem.h"#include "../../lib/kmi/mi.h"#include "../../lib/srdb1/db.h"#include "../../parser/parse_content.h"#include "../../parser/parse_from.h"#include "../../parser/parse_cseq.h"#include "../../pvar.h"#include "../../modules/tm/tm_load.h"#include "../../modules/sl/sl.h"#include "../../str.h"#include "../../onsend.h"#include "../../modules/sipcapture/sipcapture.h"
Go to the source code of this file.
Definition in file siptrace.c.
| static int pipport2su | ( | char * | pipport, | |
| union sockaddr_union * | tmp_su, | |||
| unsigned int * | proto | |||
| ) | [static] |
[proto:]ip[:port]
| pipport | (udp:127.0.0.1:5060 or tcp:2001:0DB8:AC10:FE01:5060) | |
| tmp_su | target structure | |
| proto | uint protocol type |
Definition at line 1675 of file siptrace.c.
| static struct mi_root * sip_trace_mi | ( | struct mi_root * | cmd_tree, | |
| void * | param | |||
| ) | [static, read] |
MI command format: name: sip_trace attribute: name=none, value=[on|off]
Definition at line 1407 of file siptrace.c.
| struct tm_binds tmb |
TM bind.
Copyright (C) 2011 Daniel-Constantin Mierla (asipto.com)
This file is part of Kamailio, a free SIP server.
This file 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
This file 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
Copyright (C) 2011 Flowroute LLC (flowroute.com)
This file is part of Kamailio, a free SIP server.
This file 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
This file 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 82 of file siptrace.c.
1.7.1