THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Torrey Searle (tsearle)
Attached to Project - sip-router
Summary - add basic sip-t / sip-i support to sip router
Task Type - Feature Request
Category - Core
Status - Unconfirmed
Assigned To -
Operating System - All
Severity - Low
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - Attached is a new module called "sipt" to modify iam messages encoded in the initial invite. Attaching it as a GIT diff. First time using GIT so if the diff doesn't work ok let me know and I'll attach the module as a tarball
One or more files have been attached.
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=281
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
Hello,
as of yesterday, creation of new accounts for Kamailio's wiki site
requires to answer a project related question. Captcha was useless as
spam bots were lately going through it easily, creating accounts in a
rate of approx 50 new registrations per day.
The extra question is asked just after CAPTCHA, see it at:
- https://www.kamailio.org/wiki/start?do=register
Hopefully the questions are simple enough to allow good people to
register and difficult enough for spambots to give up. It is not a very
sophisticated system, let's see if there will be any efforts in reverse
engineering to break in with bots. So far no new spammer account. If
they will succeed, at least they learn something useful.
If anyone has difficulties creating wiki accounts, write an email to
sr-dev mailing list and it will be investigated.
Cheers,
Daniel
PS. This registration system will last, is not for April 1.
--
Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, April 16-17, 2013, Berlin
- http://conference.kamailio.com -
Module: sip-router
Branch: master
Commit: 7d272f893c3e0f260db1af5fc07dccd7d93690df
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7d272f8…
Author: Olle E. Johansson <oej(a)edvina.net>
Committer: Olle E. Johansson <oej(a)edvina.net>
Date: Mon Apr 1 10:06:33 2013 +0200
snmpstats Documentation updates
---
modules/snmpstats/kamailioNet.c | 9 ---------
modules/snmpstats/kamailioNet.h | 31 +++++++++++++++++++++++++++++--
modules/snmpstats/snmpstats.c | 3 +++
3 files changed, 32 insertions(+), 11 deletions(-)
diff --git a/modules/snmpstats/kamailioNet.c b/modules/snmpstats/kamailioNet.c
index ab9c7fc..dd23c00 100644
--- a/modules/snmpstats/kamailioNet.c
+++ b/modules/snmpstats/kamailioNet.c
@@ -1,9 +1,6 @@
/*
* SNMPStats Module - Network Statistics
*
- * Copyright (C) 2006 SOMA Networks, INC.
- * Written by: Jeffrey Magder (jmagder(a)somanetworks.com)
- *
* Kamailio Server Net objects addition
* Copyright (C) 2013 Edvina AB, Sollentuna, Sweden
* Written by Olle E. Johansson
@@ -44,12 +41,6 @@
#include "../../globals.h"
#include "../../tcp_options.h"
-/*
- * Note: this file originally auto-generated by mib2c using
- * $
- */
-
-
/** Initializes the kamailioNet module */
void
init_kamailioNet(void)
diff --git a/modules/snmpstats/kamailioNet.h b/modules/snmpstats/kamailioNet.h
index 30b0052..d9ca827 100644
--- a/modules/snmpstats/kamailioNet.h
+++ b/modules/snmpstats/kamailioNet.h
@@ -1,6 +1,33 @@
/*
- * Note: this file originally auto-generated by mib2c using
- * $
+ * SNMPStats Module - Network Statistics
+ *
+ * Kamailio Server Net objects addition
+ * Copyright (C) 2013 Edvina AB, Sollentuna, Sweden
+ * Written by Olle E. Johansson
+ *
+ * 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
+ *
+ * History:
+ * --------
+ * 2013-04-01 initial version (oej)
+ *
+ * Note: this file originally auto-generated by mib2c
+ *
*/
#ifndef KAMAILIONET_H
#define KAMAILIONET_H
diff --git a/modules/snmpstats/snmpstats.c b/modules/snmpstats/snmpstats.c
index 18df08c..a7f8cec 100644
--- a/modules/snmpstats/snmpstats.c
+++ b/modules/snmpstats/snmpstats.c
@@ -4,6 +4,8 @@
* SNMPStats Module
* Copyright (C) 2006 SOMA Networks, INC.
* Written by: Jeffrey Magder (jmagder(a)somanetworks.com)
+ * Copyright (C) 2013 Edvina AB, Sollentuna, Sweden
+ * Updated and extended by: Olle E. Johansson (oej(a)edvina.net)
*
* This file is part of Kamailio, a free SIP server.
*
@@ -25,6 +27,7 @@
* History:
* --------
* 2006-11-23 initial version (jmagder)
+ * 2013-04-01 updates of the MIB with core memory, tcp stats and much more (oej)
*
* There are some important points to understanding the SNMPStat modules
* architecture.
Module: sip-router
Branch: master
Commit: 5397c6c4d9a9b3f50561893855d7469cfbf58858
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=5397c6c…
Author: Olle E. Johansson <oej(a)edvina.net>
Committer: Olle E. Johansson <oej(a)edvina.net>
Date: Mon Apr 1 09:12:01 2013 +0200
outbound add config framework variable to indicate active module
---
modules/outbound/config.c | 42 ++++++++++++++++++++++++++++++++++++++++++
modules/outbound/config.h | 39 +++++++++++++++++++++++++++++++++++++++
modules/outbound/ob_mod.c | 8 +++++++-
3 files changed, 88 insertions(+), 1 deletions(-)
diff --git a/modules/outbound/config.c b/modules/outbound/config.c
new file mode 100644
index 0000000..657a433
--- /dev/null
+++ b/modules/outbound/config.c
@@ -0,0 +1,42 @@
+/*
+ * $Id$
+ * This file is part of SIP-router, a free SIP server.
+ *
+ * SIP-router 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
+ *
+ * SIP-router 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
+ *
+ */
+
+/*!
+ * \file
+ * \brief Outbound :: Configuration
+ * \ingroup Outbound
+ */
+
+#include "../../cfg/cfg.h"
+#include "../../parser/msg_parser.h" /* method types */
+
+#include "config.h"
+
+struct cfg_group_outbound default_outbound_cfg = {
+ 0, /* Read only variable to mark if outbound is enabled */
+ };
+
+void *outbound_cfg = &default_outbound_cfg;
+
+cfg_def_t outbound_cfg_def[] = {
+ {"outbound_enabled", CFG_VAR_INT | CFG_ATOMIC | CFG_READONLY, 0, 0, 0, 0,
+ "If set to one (true) Outbound is enabled."},
+ {0, 0, 0, 0, 0, 0}
+};
diff --git a/modules/outbound/config.h b/modules/outbound/config.h
new file mode 100644
index 0000000..fc6c74a
--- /dev/null
+++ b/modules/outbound/config.h
@@ -0,0 +1,39 @@
+/*
+ * $Id$
+ *
+ * SIP-router 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
+ */
+
+/*!
+ * \file
+ * \brief Outbound :: Configuration Framework support
+ * \ingroup outbound
+ */
+
+
+#ifndef _OUTBOUND_CONFIG_H
+#define _OUTBOUND_CONFIG_H
+
+#include "../../qvalue.h"
+
+#include "../../cfg/cfg.h"
+#include "../../str.h"
+
+struct cfg_group_outbound {
+ int outbound_active;
+};
+
+extern struct cfg_group_outbound default_outbound_cfg;
+extern void *outbound_cfg;
+extern cfg_def_t outbound_cfg_def[];
+
+extern void ds_ping_reply_codes_update(str*, str*);
+
+#endif
diff --git a/modules/outbound/ob_mod.c b/modules/outbound/ob_mod.c
index e5eea65..411e354 100644
--- a/modules/outbound/ob_mod.c
+++ b/modules/outbound/ob_mod.c
@@ -37,6 +37,7 @@
#include "../../parser/parse_uri.h"
#include "api.h"
+#include "config.h"
MODULE_VERSION
@@ -97,7 +98,12 @@ static int mod_init(void)
LM_ERR("unable to get %d cryptographically strong pseudo-"
"random bytes\n", ob_key.len);
}
-
+ if (cfg_declare("outbound", outbound_cfg_def, &default_outbound_cfg,
+ cfg_sizeof(outbound), &outbound_cfg)) {
+ LM_ERR("declaring config framework variable\n");
+ return -1;
+ }
+ default_outbound_cfg.outbound_active = 1;
return 0;
}