Hi,
I'm getting segfault while doing sql_query in mod-init, something I'm
making wrong?
event_route[htable:mod-init] {
sql_query("ca","SELECT * FROM carrier_name", "ra");
if ($dbr(ra=>rows)>0) {
xlog("L_INFO","TEST");
}
}
cr kernel: [66373.805099] kamailio[8382]: segfault at 0 ip (null) sp
bfec3c2c error 4 in kamailio[8048000+1eb000]
cr kamailio: ERROR: <core> [daemonize.c:307]: Main process exited before
writing to pipe
(gdb) ba
#0 0x00000000 in ?? ()
#1 0xa711ae5d in …
[View More]sql_query (msg=0xa75e0bc0, dbl=0xa76009c8 "@\t`\247\002",
query=0xa7677948 "", res=0xa7607128 "?|") at sqlops.c:210
#2 0x0805bc13 in do_action (h=0xbfec4178, a=0xa766ddc0, msg=0xa75e0bc0) at
action.c:1163
#3 0x08062c1d in run_actions (h=0xbfec4178, a=0xa766ddc0, msg=0xa75e0bc0)
at action.c:1644
#4 0x08063284 in run_top_route (a=0xa766ddc0, msg=0xa75e0bc0,
c=0xbfec4178) at action.c:1729
#5 0xa70bd06f in child_init (rank=-127) at htable.c:207
#6 0x0811ed87 in init_mod_child (m=0xa75ff248, rank=-127) at
sr_module.c:893
#7 0x0811ed00 in init_mod_child (m=0xa75ff550, rank=-127) at
sr_module.c:890
#8 0x0811ed00 in init_mod_child (m=0xa75ffa78, rank=-127) at
sr_module.c:890
#9 0x0811ed00 in init_mod_child (m=0xa75ffc18, rank=-127) at
sr_module.c:890
#10 0x0811ed00 in init_mod_child (m=0xa7600b08, rank=-127) at
sr_module.c:890
#11 0x080a7081 in main_loop () at main.c:1587
#12 0x080a94ef in main (argc=5, argv=0xbfec45e4) at main.c:2546
Mino
[View Less]
Hi,
I assume there is no avp or function which could give me duration of ended
dialog in miliseconds (I have to send it in RADIUS message). I can run some
bash script which could return me this value but seems to me bit awkward.
How you would do it? To adjust dialog module so that it could return it to
some avp value within dialog-end event route and thus save it to radius?
Mino
Hello,
Are there any plans for a Kamailio meet-up on one of the evenings this
year?
Regards,
Peter
--
Peter Dunkley
Technical Director
Crocodile RCS Ltd
Module: sip-router
Branch: pd/msrp
Commit: db0471b361097db9fa7acfaa0db555af6f784fd7
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=db0471b…
Author: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Committer: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Date: Sun Feb 10 22:43:50 2013 +0000
Merge branch 'master' into msrp
* master:
app_python: fixed compilation errors and warnings.
imc README updates. Configuration files works with 4.0.0 now.…
[View More]
db_text change "openser" and minor edits
maxfwd Update README, fix typos
mangler Update README for readability
ldap Add the README
ldap Convert an "a" to an "o"
kex Fix copy/paste typos and minor edits for readability
ipops Minor updates to README
mi_fifo Typo fixes mostly
outbound - Fix typos in example configuration
registrar: Fixed typo in event_route name, 'usrloc:expired-contact'
siptrace Fix bug in documentation
sipcapture - update example configuration
xhttp_pi: documentation updates
xhttp_rpc: documentation updates
Revert "nathelper: add new option sipping_disable_bflag"
msilo: safety check for freeing tmp_extra_headers
xhttp_rpc Fix typo and minor formatting in README
nathelper: add new option sipping_disable_bflag
---
[View Less]
Hello,
Is there a way to register a valid routes inside module ?
Example:
request_route {
...
route(ProgramRoute);
...
}
where ProgramRoute is registered inside external module.
Thanks!
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Sergey (rion)
Attached to Project - sip-router
Summary - parallel build fails
Task Type - Bug Report
Category - Core
Status - Unconfirmed
Assigned To -
Operating System - Linux
Severity - Low
Priority - Normal
Reported Version - 3.3
Due in Version - Undecided
Due Date - Undecided
Details - hi
just tried to build with -j8 and got build failure similar to this one https:/…
[View More]/bugzilla.redhat.com/show_bug.cgi?id=809122
unfortunatelly its not 100% reproducible and I've lost the logs.
tested env: gentoo x64 with slightly improved official ebuild
version: 3.3.3
make -j8 CC=x86_64-pc-linux-gnu-gcc CPU_TYPE= SCTP=0 CC_EXTRA_OPTS=-I/usr/gnu/include mode=release TLS_HOOKS=0 FLAVOUR=kamailio group_include=kstandard include_modules= exclude_modules=iptrtpproxy prefix=/ all
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=269
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]