THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - nikita kozlov (klnikita)
Attached to Project - sip-router
Summary - presence, add_event(), missing handler on subscribe
Task Type - Bug Report
Category - Module
Status - Unconfirmed
Assigned To -
Operating System - All
Severity - Low
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - In the function add_event(pres_ev_t* event), evs_subs_handl is not copied in the new event which is added to presence event list.
Find attached a patch fixing this small bug.
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=82
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.
Revision: 6033
http://openser.svn.sourceforge.net/openser/?rev=6033&view=rev
Author: henningw
Date: 2010-07-29 16:46:49 +0000 (Thu, 29 Jul 2010)
Log Message:
-----------
reg(k): only store path if indicated by the configuration
Modified Paths:
--------------
branches/1.5/modules/registrar/save.c
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Hi, finally I've discovered the cause of important issues with my
Kamailio deployments which sometimes get frozen "with no reason":
- We use Debian Lenny with rsyslog writting the logs in local files
(/var/log/kamailio.log) and also rsyslog-mysql extension to send the
logs to a remote MySQL server using mysql TCP protocol.
- For "external" reason (external to me) such MySQL server sometimes
fails or it's down.
- Then kamailio tries to log to syslog. rsyslog receives the request
and tries to send it via MySQL. Unfortunatelly it gets frozen as the
DB doesn't work, and it neither writes the log to the local log file
!!! (this is really surprising to me).
- Worse is the fact the rsyslog replies nothing to kamailio process so
the kamailio process gets 100% *blocked* waiting for the response
(this is what I suspect).
- As a dirty workaround, stopping the local rsyslog server makes
kamailio to work again.
So, I think this is mostly a bug in rsyslog-mysql as it shouldn't get
frozen if the MySQL server doesn't work. However I also think that
Kamailio should not depend on it, and perhaps it shouldn't wait
indefinitely for the rsyslog response. What do you think?
Would make sense a "ping" mechanism like with RtpProxy servers in
order to enable/dissable the syslog logging?
Regards.
--
Iñaki Baz Castillo
<ibc(a)aliax.net>
Module: sip-router
Branch: master
Commit: d4031fa7e9ad917969c04f946f8dd986f8ba0e48
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d4031fa…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Thu Jul 29 14:48:21 2010 +0200
acc_radius(k): new module for RADIUS accounting
- the modules is built out of acc module radius part
- acc module still has the RADIUS accounting inside, available with
RAD_ACC define like so far - subject to be removed if everyone agrees
- this module can be used together with acc avoiding to recompile acc
module to enable RAD_ACC, making at least packaging easier
- same cfg parameters and functions used for radius accounting in acc
module are available in acc_radius
---
modules_k/acc_radius/Makefile | 20 ++
modules_k/acc_radius/README | 195 ++++++++++++
modules_k/acc_radius/acc_radius_mod.c | 416 +++++++++++++++++++++++++
modules_k/acc_radius/acc_radius_mod.h | 39 +++
modules_k/acc_radius/doc/Makefile | 4 +
modules_k/acc_radius/doc/acc_radius.xml | 43 +++
modules_k/acc_radius/doc/acc_radius_admin.xml | 199 ++++++++++++
7 files changed, 916 insertions(+), 0 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=d40…
Hello,
I have the following transformation on the SDP Body:
$(rb{re.subst,/^(.*)m=audio ([0-9]+) RTP\/AVP ([0-9 ]+)\015\012(.*)$/\3/s})
However when I assign this to an AVP, i.e.
$avp(s:sdp-payloads) = $(rb{re.subst,/^(.*)m=audio ([0-9]+) RTP\/AVP ([0-9
]+)\015\012(.*)$/\3/s});
I receive back a NULL result / transformation "regex does not match" is what
I receive with high verbose syslog on kamailio.
HOWEVER.
When I do something like this:
xlog("L_INFO", "Payloads Available: $(rb{re.subst,/^(.*)m=audio ([0-9]+)
RTP\/AVP ([0-9 ]+)\015\012(.*)$/\3/s})");
It executes properly -- transformation regex matches and the payloads are
displayed as expected.
If anyone can provide any insight as to what I may be doing wrong it would
be greatly appreciated.
P.S. Kamailio SVN Revision # 2:5906M (1.5.2-notls).
Also I CC'ed devel list (as I do believe this may be a bug).
Thanks!
Sincerely,
Brandon Armstead