Module: kamailio
Branch: master
Commit: 31e70a51ebf0faa97ef9bdef02675254f27a85e1
URL: https://github.com/kamailio/kamailio/commit/31e70a51ebf0faa97ef9bdef0267525…
Author: Olle E. Johansson <oej(a)edvina.net>
Committer: Olle E. Johansson <oej(a)edvina.net>
Date: 2016-04-03T20:14:14+02:00
pdb Change sip-router to "Kamailio"
---
Modified: modules/pdb/common.h
Modified: modules/pdb/pdb.c
---
Diff: https://github.com/kamailio/kamailio/commit/31e70a51ebf0faa97ef9bdef0267525…
Patch: https://github.com/kamailio/kamailio/commit/31e70a51ebf0faa97ef9bdef0267525…
---
diff --git a/modules/pdb/common.h b/modules/pdb/common.h
index cd49329..3c7b993 100644
--- a/modules/pdb/common.h
+++ b/modules/pdb/common.h
@@ -1,14 +1,14 @@
/*
* Copyright (C) 2009 1&1 Internet AG
*
- * This file is part of sip-router, a free SIP server.
+ * This file is part of Kamailio, a free SIP server.
*
- * sip-router is free software; you can redistribute it and/or modify
+ * 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
*
- * sip-router is distributed in the hope that it will be useful,
+ * 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.
@@ -21,15 +21,9 @@
#ifndef _COMMON_H_
#define _COMMON_H_
-
-
-
#include <stdint.h>
-
-
-
-/*
+/*!
0 no carrier id defined.
1..999 are regular carrier ids.
1000 is used as fake carrier id when merging carriers we are not interested in.
@@ -49,8 +43,6 @@
#define PDB_VERSION 1
-
-
typedef int16_t carrier_t;
enum __attribute__((packed)) pdb_versions {
diff --git a/modules/pdb/pdb.c b/modules/pdb/pdb.c
index 6feb309..4d419e0 100644
--- a/modules/pdb/pdb.c
+++ b/modules/pdb/pdb.c
@@ -1,14 +1,14 @@
/*
* Copyright (C) 2009 1&1 Internet AG
*
- * This file is part of sip-router, a free SIP server.
+ * This file is part of Kamailio, a free SIP server.
*
- * sip-router is free software; you can redistribute it and/or modify
+ * 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
*
- * sip-router is distributed in the hope that it will be useful,
+ * 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.
Module: kamailio
Branch: master
Commit: 329996b142455428a6b8cc66d01a0deb203f8d2e
URL: https://github.com/kamailio/kamailio/commit/329996b142455428a6b8cc66d01a0de…
Author: Olle E. Johansson <oej(a)edvina.net>
Committer: Olle E. Johansson <oej(a)edvina.net>
Date: 2016-04-03T10:18:35+02:00
http_client Update TODO.
---
Modified: modules/http_client/TODO.txt
---
Diff: https://github.com/kamailio/kamailio/commit/329996b142455428a6b8cc66d01a0de…
Patch: https://github.com/kamailio/kamailio/commit/329996b142455428a6b8cc66d01a0de…
---
diff --git a/modules/http_client/TODO.txt b/modules/http_client/TODO.txt
index 81738c5..c323c6d 100644
--- a/modules/http_client/TODO.txt
+++ b/modules/http_client/TODO.txt
@@ -1,5 +1,7 @@
The http_client module - todo
======================
+- clean up
+ Clean up curl connections, pconn and conn objects at exit time. Just to be nice.
- connection parameters
read=line/all - Implemented in API, but not in parameter
@@ -12,15 +14,14 @@ The http_client module - todo
- save fingerprint of cert for trust-on-first-use procedure
-- connection and last status for httpcon-object, needs to be object in process memory, so child_init
-
+- connection and last status for httpcon-object, needs to be object in process memory
+ - done.
- test what happens if we allocate curlcon objects in shared memory and use locks
Code implemeneted in git master branch for testing
- if 5xx response or timeout set flag
- function in dialplan - httpcon_exists(object)
- pv $curlstatus(object) ??
- this is per process !!!
- - can be used to fix the $curlredirect pseudovariable too
- Figure out a way to communicate back the content-type of the response. Another pvar arg?
- This is per process!
@@ -28,6 +29,8 @@ The http_client module - todo
- Reload of configuration file from RPC interface
- Need to close connections (if we have open ones according to idea above)
- Need to rebuild core httpcon objects and "mirrors" in pkg memory
+ - Should we just abandon old pkg objects and let them rot away
+ in space and time?
- Can we add a lock to the connection list while switching if we load a new
list, then switch active list and then free the old ones
Module: kamailio
Branch: master
Commit: f7caf81a8fb8f3b053dae885f6076dcce9a08191
URL: https://github.com/kamailio/kamailio/commit/f7caf81a8fb8f3b053dae885f6076dc…
Author: Olle E. Johansson <oej(a)edvina.net>
Committer: Olle E. Johansson <oej(a)edvina.net>
Date: 2016-04-02T08:36:55+02:00
http_client update TODO
---
Modified: modules/http_client/TODO.txt
---
Diff: https://github.com/kamailio/kamailio/commit/f7caf81a8fb8f3b053dae885f6076dc…
Patch: https://github.com/kamailio/kamailio/commit/f7caf81a8fb8f3b053dae885f6076dc…
---
diff --git a/modules/http_client/TODO.txt b/modules/http_client/TODO.txt
index c80c4a3..81738c5 100644
--- a/modules/http_client/TODO.txt
+++ b/modules/http_client/TODO.txt
@@ -13,9 +13,9 @@ The http_client module - todo
- save fingerprint of cert for trust-on-first-use procedure
- connection and last status for httpcon-object, needs to be object in process memory, so child_init
- Note: Right now httpcon-objects are allocated in pkg memory. This is bad for a reload,
- but good for what we need to do here.
+
- test what happens if we allocate curlcon objects in shared memory and use locks
+ Code implemeneted in git master branch for testing
- if 5xx response or timeout set flag
- function in dialplan - httpcon_exists(object)
- pv $curlstatus(object) ??