THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#404 - Coredump on using jsonrpc_request
User who did this - Daniel-Constantin Mierla (miconda)
----------
If you can reproduce it, can you send log messages with debug=3 in kamailio.cfg as well as the full backtrace from corefile taken with gdb?
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=404#comment1311
You are …
[View More]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.
[View Less]
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - davy van de moere (davyvdm)
Attached to Project - sip-router
Summary - Coredump on using jsonrpc_request
Task Type - Bug Report
Category - Module
Status - Unconfirmed
Assigned To -
Operating System - Linux
Severity - Medium
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - I tried this with the branch 4.1 and …
[View More]master. Both behave identical.
So from the kamailio-basic.cfg example, I just added this line around line 350 (just above route(SIPOUT)):
jsonrpc_request("bar.sendsms", "{'ru':'$rU','rb':'$rb'}", "JSONRESPONSE", "JSONERROR", "$var(result)");
Doing a ngrep on the netstrings I have:
interface: venet0 (127.0.0.2/255.255.255.255)
filter: (ip or ip6) and ( port 7080 )
#
T 10.66.8.42:44995 -> 192.168.60.45:7080 [AP]
94:{ "id": 2, "jsonrpc": "2.0", "method": "bar.sendsms", "params": { "ru": "", "rb": "" } },
##
T 192.168.60.45:7080 -> 10.66.8.42:44995 [AP]
43:{"jsonrpc": "2.0", "result": "12", "id": 2},
####^Cexit
7 received, 0 dropped
I do get some results from the JSONRESPONSE route.
But when launching a call, or when sending just a register packet, kamailio gives up with:
Feb 26 06:29:11 SBC01 kamailio[18043]: WARNING: tm [t_lookup.c:1537]: t_unref(): WARNING: script writer didn't release transaction
Feb 26 06:29:12 SBC01 kamailio[18033]: : [mem/q_malloc.c:468]: qm_free(): BUG: qm_free: freeing already freed pointer (0xb4c01624), called from tm: h_table.c: free_cell(157), first free tm: h_table.c: free_cell(157) - aborting
Feb 26 06:29:12 SBC01 kamailio[18023]: ALERT: [main.c:775]: handle_sigs(): child process 18033 exited by a signal 6
Feb 26 06:29:12 SBC01 kamailio[18023]: ALERT: [main.c:778]: handle_sigs(): core was generated
Feb 26 06:29:12 SBC01 kamailio[18023]: INFO: [main.c:790]: handle_sigs(): INFO: terminating due to SIGCHLD
Feb 26 06:29:12 SBC01 kamailio[18041]: INFO: [main.c:841]: sig_usr(): INFO: signal 15 received
Feb 26 06:29:12 SBC01 kamailio[18047]: INFO: [main.c:841]: sig_usr(): INFO: signal 15 received
Feb 26 06:29:12 SBC01 kamailio[18043]: INFO: [main.c:841]: sig_usr(): INFO: signal 15 received
Feb 26 06:29:12 SBC01 kamailio[18048]: INFO: [main.c:841]: sig_usr(): INFO: signal 15 received
Feb 26 06:29:12 SBC01 kamailio[18023]: : [mem/q_malloc.c:468]: qm_free(): BUG: qm_free: freeing already freed pointer (0xb4c01624), called from tm: h_table.c: free_cell(157), first free tm: h_table.c: free_cell(157) - aborting
Using the jsonrpc_notification on the other hand works like a charm.
Coredump in attach.
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=404
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.
[View Less]
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Benjamin (bulkorok)
Attached to Project - sip-router
Summary - Maximum 70 else if statements
Task Type - Bug Report
Category - Core
Status - Unconfirmed
Assigned To -
Operating System - Linux
Severity - Low
Priority - Normal
Reported Version - 4.0
Due in Version - Undecided
Due Date - Undecided
Details - Hi,
after using 70 else if statements kamailio ignores following …
[View More]else if statements:
1: if (from_uri=~ "^sip:123@.+") { $var(cid) = "+12345"; } else
2-69: ...
70: if (from_uri=~ "^sip:321@.+") { $var(cid) = "+54321"; } else
71: if (from_uri=~ "^sip:111@.+") { $var(cid) = "+11111"; } else
71 is ignored.
If a new if else if block is created, it works again.
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=403
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.
[View Less]