Hi, Kamailio server is raising an internal error when recieves an "INVITE" request. I've increased the debug level value in kamailio config file but I cannot get further information. Some times it works with exactly the same configuration so I can't figure out what is wrong.
I attached below the few lines related with the internal error among the huge debug messages:
```
DEBUG: tm [t_hooks.c:288]: run_trans_callbacks_internal(): DBG: trans=0x7fe070bedb68, callback type 2, id 0 entered
12(13521) DEBUG: acc [acc_logic.c:644]: tmcb_func(): acc callback called for t(0x7fe070bedb68) event type 2, reply code 500
12(13521) DEBUG: tm [t_lookup.c:1141]: t_check_msg(): DEBUG: t_check_msg: msg id=12 global id=12 T end=0x7fe070bedb68
12(13521) DEBUG: tm [t_reply.c:2217]: reply_received(): DEBUG: reply_received: org. status uas=180, uac[0]=100 local=0 is_invite=1)
12(13521) DEBUG: <core> [mem/f_malloc.c:432]: fm_malloc(): fm_malloc(0x7fe070970000, 1423) called from tm: t_msgbuilder.c: build_local_reparse(369)
12(13521) DEBUG: <core> [mem/f_malloc.c:507]: fm_malloc(): fm_malloc(0x7fe070970000, 1424) returns address 0x7fe070c02c28
12(13521) DEBUG: <core> [mem/f_malloc.c:576]: fm_free(): fm_free(0x7fe070970000, 0x7fe070c02c28), called from tm: t_reply.c: reply_received(2271)
12(13521) DEBUG: <core> [mem/f_malloc.c:595]: fm_free(): fm_free: freeing block alloc'ed from tm: t_msgbuilder.c: build_local_reparse(369)
12(13521) DEBUG: <script>: incoming reply
12(13521) DEBUG: tm [t_reply.c:1311]: t_should_relay_response(): ->>>>>>>>> T_code=180, new_code=500
12(13521) DEBUG: tm [t_reply.c:1829]: relay_reply(): DEBUG: relay_reply: branch=0, save=1, relay=-1 icode=0
( ... )
DEBUG: <core> [parser/msg_parser.c:633]: parse_msg(): SIP Reply (status):
12(13521) DEBUG: <core> [parser/msg_parser.c:635]: parse_msg(): version: <SIP/2.0>
12(13521) DEBUG: <core> [parser/msg_parser.c:637]: parse_msg(): status: <500>
12(13521) DEBUG: <core> [parser/msg_parser.c:639]: parse_msg(): reason: <Internal Server Error>
```
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/202
json in the form of
{ "Nodes" : {
"mynode(a)my.tld.com" : { ... },
"myothernode(a)my.tld.com" : { ...}
}
}
doesn't have an easy to fetch the keys (it works already if it is an array)
kazoo_json_keys retrieves the keys to an avp
when querying inner fields in the form xx.yy.zzz
if one of xx / yy / zzz contains a dot (.) we cannot determine the field correctly.
use "json_escape_char" param value to encode the value before querying json and kazoo_json will decode using the same character
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/200
-- Commit Summary --
* kazoo : add json keys function and escape character
-- File Changes --
M modules/kazoo/kazoo.c (6)
M modules/kazoo/kz_json.c (95)
M modules/kazoo/kz_json.h (1)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/200.patchhttps://github.com/kamailio/kamailio/pull/200.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/200
Hi all,
I am able to log the SIP messages to database using sip_trace module of kamailio.
But when i tried to forward the SIP messages to duplicate uri ..I am not getting any log file have SIP messages.
Basically i am not able to dump the messages to a log file using duplicate url.
Please suggest.
Thank you,
Shyam
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/201
Module: kamailio
Branch: master
Commit: 7a871ed6660ab9f826f1ccc73fdf8d5acd364076
URL: https://github.com/kamailio/kamailio/commit/7a871ed6660ab9f826f1ccc73fdf8d5…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-06-11T14:23:00+02:00
Merge pull request #203 from tuxd00d/patch-1
English grammer tweaks
---
Modified: modules/dispatcher/doc/dispatcher_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/7a871ed6660ab9f826f1ccc73fdf8d5…
Patch: https://github.com/kamailio/kamailio/commit/7a871ed6660ab9f826f1ccc73fdf8d5…
---
diff --git a/modules/dispatcher/doc/dispatcher_admin.xml b/modules/dispatcher/doc/dispatcher_admin.xml
index 8edb8c6..ae700ab 100644
--- a/modules/dispatcher/doc/dispatcher_admin.xml
+++ b/modules/dispatcher/doc/dispatcher_admin.xml
@@ -18,19 +18,19 @@
<para>
This module offers SIP load balancer functionality and it can be
used as SIP traffic dispatcher. There are many load balancing and
- traffic dispaching algorithms that you can choose from, like:
+ traffic dispaching algorithms that you can choose from, for example:
round-robin, weight based load balancing, call load distribution,
- hashing over SIP message attributes.
+ and hashing over SIP message attributes.
</para>
<para>
- The module can be used as a stateless load balancer, it does not
+ The module can be used as a stateless load balancer; it does not
depend on any call state tracking module. It requires the TM module if
you enable auto-discovery of active/inactive gateways.
</para>
<para>
It is very lightweight, therefore suitable for handling heavy SIP
- traffic. The module has a small footprint and ability to load balancing rules
- from a text plain file makes it suitable for embedded systems.
+ traffic. As the module has a small footprint and the ability to load
+ balancing rules from a plain text file, it is suitable for embedded systems.
</para>
</section>
<section>
Module: kamailio
Branch: master
Commit: 91537fc76d8a619295b827acef2e0dd5bcd2a5b1
URL: https://github.com/kamailio/kamailio/commit/91537fc76d8a619295b827acef2e0dd…
Author: tuxd00d <tuxd00d(a)tuxd00d.com>
Committer: tuxd00d <tuxd00d(a)tuxd00d.com>
Date: 2015-06-11T05:18:01-07:00
English grammer tweaks
---
Modified: modules/dispatcher/doc/dispatcher_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/91537fc76d8a619295b827acef2e0dd…
Patch: https://github.com/kamailio/kamailio/commit/91537fc76d8a619295b827acef2e0dd…
---
diff --git a/modules/dispatcher/doc/dispatcher_admin.xml b/modules/dispatcher/doc/dispatcher_admin.xml
index 8edb8c6..ae700ab 100644
--- a/modules/dispatcher/doc/dispatcher_admin.xml
+++ b/modules/dispatcher/doc/dispatcher_admin.xml
@@ -18,19 +18,19 @@
<para>
This module offers SIP load balancer functionality and it can be
used as SIP traffic dispatcher. There are many load balancing and
- traffic dispaching algorithms that you can choose from, like:
+ traffic dispaching algorithms that you can choose from, for example:
round-robin, weight based load balancing, call load distribution,
- hashing over SIP message attributes.
+ and hashing over SIP message attributes.
</para>
<para>
- The module can be used as a stateless load balancer, it does not
+ The module can be used as a stateless load balancer; it does not
depend on any call state tracking module. It requires the TM module if
you enable auto-discovery of active/inactive gateways.
</para>
<para>
It is very lightweight, therefore suitable for handling heavy SIP
- traffic. The module has a small footprint and ability to load balancing rules
- from a text plain file makes it suitable for embedded systems.
+ traffic. As the module has a small footprint and the ability to load
+ balancing rules from a plain text file, it is suitable for embedded systems.
</para>
</section>
<section>