Module: kamailio
Branch: master
Commit: ffc0a941d851ab1da6281f35effa5c3b2f51f452
URL: https://github.com/kamailio/kamailio/commit/ffc0a941d851ab1da6281f35effa5c3…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-12-21T21:40:47+01:00
pua_usrloc: updated include file header name
---
Modified: src/modules/pua_usrloc/pua_usrloc.c
---
Diff: https://github.com/kamailio/kamailio/commit/ffc0a941d851ab1da6281f35effa5c3…
Patch: https://github.com/kamailio/kamailio/commit/ffc0a941d851ab1da6281f35effa5c3…
---
diff --git a/src/modules/pua_usrloc/pua_usrloc.c b/src/modules/pua_usrloc/pua_usrloc.c
index 3033212..2b843ff 100644
--- a/src/modules/pua_usrloc/pua_usrloc.c
+++ b/src/modules/pua_usrloc/pua_usrloc.c
@@ -1,6 +1,4 @@
/*
- * $Id$
- *
* pua_usrloc module - usrloc pua module
*
* Copyright (C) 2006 Voice Sistem S.R.L.
@@ -17,13 +15,10 @@
* 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
+ * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
- * History:
- * --------
- * 2006-11-29 initial version (anca)
*/
/*!
@@ -49,7 +44,7 @@
#include "../../core/str.h"
#include "../../core/mem/mem.h"
#include "../../core/pt.h"
-#include "../usrloc/ul_mod.h"
+#include "../usrloc/usrloc_mod.h"
#include "../usrloc/usrloc.h"
#include "../usrloc/ul_callback.h"
#include "../pua/pua_bind.h"
Module: kamailio
Branch: master
Commit: 08140c5f8a3ad3e13b4aea1669f6791574c77dc9
URL: https://github.com/kamailio/kamailio/commit/08140c5f8a3ad3e13b4aea1669f6791…
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Committer: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: 2016-12-21T10:39:50+01:00
hep: Store ipstr in a static buffer for exporting to cfg
When using hep(0x003) and hep(0x004) the extracted ip address
would be written to the local ipstr buffer but when returning
to the script the buffer would already be partially overwritten.
Keep the data around long enough by storing the result in a
static buffer.
---
Modified: src/modules/sipcapture/hep.c
---
Diff: https://github.com/kamailio/kamailio/commit/08140c5f8a3ad3e13b4aea1669f6791…
Patch: https://github.com/kamailio/kamailio/commit/08140c5f8a3ad3e13b4aea1669f6791…
---
diff --git a/src/modules/sipcapture/hep.c b/src/modules/sipcapture/hep.c
index 1533c5d..11d2049 100644
--- a/src/modules/sipcapture/hep.c
+++ b/src/modules/sipcapture/hep.c
@@ -879,7 +879,7 @@ int hepv3_get_chunk(struct sip_msg *msg, char *buf, unsigned int len, int req_ch
int chunk_vendor=0, chunk_type=0, chunk_length=0;
int total_length = 0;
int ret = 0;
- char ipstr[INET6_ADDRSTRLEN];
+ static char ipstr[INET6_ADDRSTRLEN];
if(memcmp(buf, "\x48\x45\x50\x33",4) && !memcmp(buf, "\x45\x45\x50\x31",4)) {
When using hep(0x003) and hep(0x004) the extracted ip address
would be written to the local ipstr buffer but when returning
to the script the buffer would already be partially overwritten.
Keep the data around long enough by storing the result in a
static buffer.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/896
-- Commit Summary --
* hep: Store ipstr in a static buffer for exporting to cfg
-- File Changes --
M src/modules/sipcapture/hep.c (2)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/896.patchhttps://github.com/kamailio/kamailio/pull/896.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/896
Hello Friends,
we have a setup of kamailio and asterisk server, where kamailio registers users, trunks and asterisk act as media server. Kamailio was working fine with old trunk but there were issues in call disconnection and new trunk registration. Calls are disconnecting in 30 sec while forwarding to mobile and in 1 min while making outbound calls. secondly, Kamailio server is unable to take new trunks info.
I am not a VOIP expert so probably so please bear with me. I will upload more info if required
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/895