THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#174 - db_mysql doesn't work
User who did this - Ilimit Comunicacions (Ilimit)
----------
Sorry, for example of remote connection, modparam is:
modparam("auth_db|usrloc|uri_db|domain|avpops|siptrace|alias_db|group|pdt|lcr", "db_url", "mysql://kamailiorw:k4m41l10rw@mysql.proves-jaume.ilimit.es/kamailio")
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=174#comment339
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.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Ilimit Comunicacions (Ilimit)
Attached to Project - sip-router
Summary - db_mysql doesn't work
Task Type - Bug Report
Category - DB interface
Status - Unconfirmed
Assigned To -
Operating System - All
Severity - Medium
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - Module db_mysql doesn't works in kamailio 3.2.0 (stable since 2011-10-18)
On localhost:
# cat kamailio.cfg | grep mysql
loadmodule "db_mysql.so"
modparam("auth_db|usrloc|uri_db|domain|avpops|siptrace|alias_db|group|pdt|lcr", "db_url", "mysql://openser:kkaammaalliioo@localhost/kamailio")
# mysql -h localhost -u openser -pkkaammaalliioo kamailio
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 106
Server version: 5.1.49-3-log (Debian)
Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL v2 license
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
# /etc/init.d/kamailio restart
Restarting Kamailio:
loading modules under /usr/lib/kamailio/modules_k/:/usr/lib/kamailio/modules/
Listening on
udp: 80.94.3.27 [80.94.3.27]:5060
Aliases:
kamailio error, failed to start.
# tail -6 /var/log/syslog
Nov 8 18:25:29 kamailio kamailio: INFO: <core> [tcp_main.c:4724]: init_tcp: using epoll_lt as the io watch method (auto detected)
Nov 8 18:25:29 kamailio /usr/sbin/kamailio[29677]: INFO: usrloc [hslot.c:53]: locks array size 512
Nov 8 18:25:29 kamailio /usr/sbin/kamailio[29677]: INFO: auth [auth_mod.c:312]: auth: qop set, but nonce-count (nc_enabled) support disabled
Nov 8 18:25:29 kamailio /usr/sbin/kamailio[29677]: ERROR: db_mysql [km_my_con.c:109]: driver error: Access denied for user 'openser'@'localhost' (using password: YES)
Nov 8 18:25:29 kamailio /usr/sbin/kamailio[29677]: ERROR: <core> [db.c:302]: could not add connection to the pool
Nov 8 18:25:29 kamailio /usr/sbin/kamailio[29677]: ERROR: presence_xml [presence_xml.c:193]: while connecting to database
Nov 8 18:25:29 kamailio /usr/sbin/kamailio[29677]: ERROR: <core> [sr_module.c:925]: init_mod(): Error while initializing module presence_xml (/usr/lib/kamailio/modules_k/presence_xml.so)
On remote host:
# cat /etc/kamailio/kamailio.cfg | grep mysql
loadmodule "db_mysql.so"
modparam("auth_db|usrloc|uri_db|domain|avpops|siptrace|alias_db|group|pdt|lcr", "db_url", "mysql://kamailiorw:k4m41l10rw@mysql.proves-jaume.ilimit.net/kamailio")
# mysql -h mysql.proves-jaume.ilimit.es -u kamailiorw -pk4m41l10rw kamailio
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 455
Server version: 5.1.49-3-log (Debian)
Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL v2 license
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
# /etc/init.d/kamailio restart
Restarting Kamailio:
loading modules under /usr/lib/kamailio/modules_k/:/usr/lib/kamailio/modules/
Listening on
udp: 80.94.3.35 [80.94.3.35]:5060
Aliases:
kamailio error, failed to start.
# tail -7 /var/log/syslog
Nov 8 17:31:48 kamailio2 kamailio: INFO: <core> [tcp_main.c:4724]: init_tcp: using epoll_lt as the io watch method (auto detected)
Nov 8 17:31:48 kamailio2 /usr/sbin/kamailio[14620]: INFO: usrloc [hslot.c:53]: locks array size 512
Nov 8 17:31:48 kamailio2 /usr/sbin/kamailio[14620]: INFO: auth [auth_mod.c:312]: auth: qop set, but nonce-count (nc_enabled) support disabled
Nov 8 17:31:48 kamailio2 /usr/sbin/kamailio[14620]: ERROR: db_mysql [km_my_con.c:109]: driver error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Nov 8 17:31:48 kamailio2 /usr/sbin/kamailio[14620]: ERROR: <core> [db.c:302]: could not add connection to the pool
Nov 8 17:31:48 kamailio2 /usr/sbin/kamailio[14620]: ERROR: presence_xml [presence_xml.c:193]: while connecting to database
Nov 8 17:31:48 kamailio2 /usr/sbin/kamailio[14620]: ERROR: <core> [sr_module.c:925]: init_mod(): Error while initializing module presence_xml (/usr/lib/kamailio/modules_k/presence_xml.so)
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=174
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.
I have a question regarding the following code
in modules/tm/t_reply.c
in the function t_reply_with_body()
I see the following code:
/* this is ugly hack -- the function caller may wish to continue with
* transaction and I unref; however, there is now only one use from
* vm/fifo_vm_reply and I'm currently to lazy to export UNREF; -jiri
*/
UNREF(trans);
I have found that the UNREF causes my code to crash if I try to use
t_reply_with_body()
Is it possible to remove this line without any ill effects? :-)
Regards,
Torrey
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#173 - Double Free -- Crash/Coredump and possible security vulnerability
User who did this - Timo Reimann (tr)
----------
Just to be sure: You did check out the latest 3.2 or master branch and re-compiled Kamailio, right?
If so, could you please let me know what features of the dialog module (e.g., profiling, dialog variables, etc.) you are using (and whether you are using CDR generation from the acc module)?
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=173#comment338
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.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#170 - get_body_part2 (parse_body)
User who did this - Luis Martin (lmartin)
----------
I made a mistake while renaming one variable before sending the patch to Kamailio. Here is the new patch which is the one that should be used.
Thanks,
Luis Martin
----------
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=170#comment337
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.
Hi all,
I see in the wiki, IMS Module are included in developpement version ?
But, i couldn't find it, in GIT master branch ?
I know, we can find IMS Module in carstenbock/ims branch, but, we have an error during the build.
Alexis
********************************************************************************
IMPORTANT.Les informations contenues dans ce message electronique y compris les fichiers attaches sont strictement confidentielles
et peuvent etre protegees par la loi.
Ce message electronique est destine exclusivement au(x) destinataire(s) mentionne(s) ci-dessus.
Si vous avez recu ce message par erreur ou s il ne vous est pas destine, veuillez immediatement le signaler a l expediteur et effacer ce message
et tous les fichiers eventuellement attaches.
Toute lecture, exploitation ou transmission des informations contenues dans ce message est interdite.
Tout message electronique est susceptible d alteration.
A ce titre, le Groupe France Telecom decline toute responsabilite notamment s il a ete altere, deforme ou falsifie.
De meme, il appartient au destinataire de s assurer de l absence de tout virus.
IMPORTANT.This e-mail message and any attachments are strictly confidential and may be protected by law. This message is
intended only for the named recipient(s) above.
If you have received this message in error, or are not the named recipient(s), please immediately notify the sender and delete this e-mail message.
Any unauthorized view, usage or disclosure ofthis message is prohibited.
Since e-mail messages may not be reliable, France Telecom Group shall not be liable for any message if modified, changed or falsified.
Additionally the recipient should ensure they are actually virus free.
********************************************************************************
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#173 - Double Free -- Crash/Coredump and possible security vulnerability
User who did this - Bayan Towfiq (btowfiq)
----------
It is still crashing with a similar backtrace: Here is a new backtrace:
(gdb) bt full
#0 0x00007f43d474aa75 in raise () from /lib/libc.so.6
No symbol table info available.
#1 0x00007f43d474e5c0 in abort () from /lib/libc.so.6
No symbol table info available.
#2 0x0000000000534708 in qm_free (qm=0x7f43bc853000, p=0x7f43bcb4be30, file=0x7f43cd0c6dff "dialog: dlg_hash.c", func=0x7f43cd0c7162 "destroy_dlg", line=217) at mem/q_malloc.c:458
f = 0x7f43bcb4be00
size = <value optimized out>
#3 0x00007f43cd0ad351 in destroy_dlg (dlg=0x7f43bcb4bbe8) at dlg_hash.c:217
ret = <value optimized out>
__FUNCTION__ = "destroy_dlg"
#4 0x00007f43cd0af735 in unref_dlg (dlg=0x7f43bcb4bbe8, cnt=0) at dlg_hash.c:597
d_entry = 0x7f43bcafb380
#5 0x00007f43d27d45bd in free_cell (dead_cell=0x7f43bcb91f08) at h_table.c:175
b = <value optimized out>
i = <value optimized out>
rpl = <value optimized out>
tt = <value optimized out>
foo = <value optimized out>
cbs = 0x7f43bcb6fba8
__FUNCTION__ = "free_cell"
#6 0x00007f43d27f091b in wait_handler (ti=<value optimized out>, wait_tl=<value optimized out>, data=<value optimized out>) at timer.c:676
p_cell = 0x7f43bcb91f08
#7 0x000000000051f4fd in timer_list_expire () at timer.c:894
tl = 0x7f43bcb91f88
ret = <value optimized out>
#8 timer_handler () at timer.c:959
saved_ticks = 790137305
run_slow_timer = <value optimized out>
#9 timer_main () at timer.c:998
No locals.
#10 0x000000000046454f in main_loop () at main.c:1655
i = 8
pid = <value optimized out>
si = 0x0
si_desc = "udp receiver child=7 sock=70.167.153.130:5160\000\000\000\000\000@\020", '\000' <repeats 12 times>, "\016\b\000\000\000\000\000\000\000\270\337\364\352\351\304!&\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\300\v\215\000\000\000\000\000\"\000\000\000\000\000\000\000\000\000@\020", '\000' <repeats 11 times>
#11 0x0000000000465dd2 in main (argc=11, argv=0x7fff3e203ff8) at main.c:2475
cfg_stream = <value optimized out>
c = <value optimized out>
r = <value optimized out>
tmp = 0x7fff3e205e83 ""
tmp_len = 0
port = <value optimized out>
proto = <value optimized out>
ret = <value optimized out>
seed = 1312519318
rfd = <value optimized out>
debug_save = 272629760
debug_flag = 34
dont_fork_cnt = 0
n_lst = 0x10400000
p = <value optimized out>
(gdb)
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=173#comment336
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.