Module: sip-router
Branch: andrei/counters
Commit: 388ac89f2cdc2ed6a411238fb9b8b17531557b33
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=388ac89…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Sun Aug 8 19:33:32 2010 +0200
sercmd: added command line completion for counters
Command line completion for counters groups and names, for all the
counters RPCs defined in the counters module.
---
utils/sercmd/sercmd.c | 317 ++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 316 insertions(+), 1 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=388…
Module: sip-router
Branch: andrei/counters
Commit: 4208dc00cf245559ed3152beace6084c7c6c4571
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=4208dc0…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Sun Aug 8 18:41:30 2010 +0200
core: counters / statistics support
Efficient counters support (api).
Incrementing or adding a value to a defined counter is extremely
fast at the cost of slower reading (each process has its own
set of counters => no cacheline ping-pong and no expensive atomic
operations).
All counters must be defined before forking (in a module this
means from mod_init() or init_child(rank==PROC_INIT)).
A counter is uniquely identified by its group and its name
(and not only by its name like in kamailio stats).
Example (error checking skipped):
/* before forking, e.g. mod_init() */
counter_handle_t h;
/* declare the counter my_grp.foo */
counter_register(&h, "my_grp", "foo", 0, 0, 0, 0);
/* after forking */
counter_inc(h);
/* getting a counter value, knowing its group and name*/
counter_lookup(&h, "my_grp", "foo");
val = counter_get(h);
---
counters.c | 696 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
counters.h | 124 +++++++++++
main.c | 10 +-
3 files changed, 828 insertions(+), 2 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=420…
Hi Henning,
because of the fact, that the problem only appears, if the
pua_dialoginfo module is enabled, I think the problem is located
somewhere in the code tm hooks, dialog hooks or pua/pua_dialoginfo
itself...
I have attached the debug output of pua_dialoginfo which shows only, if
the module is enabled... may it is useful in any way...
Regards
Jasmin
> On Friday 04 June 2010, Jasmin Schnatterbeck wrote:
> > onreply_avp_mode does not seem to be available in kamailio 3.0.2 (at
> > least not in the module doc)
> > I think this parameter is for avps in reply_route? or does it work for
> > branch_route also?
>
> Hi Jasmin,
>
> ah, sorry. Its not available or necessary anymore in 3.0. In 1.5 it also
> affected the branch_route, i think, but for the newer version this behaviour
> is now the default. Then in your case its probably another problem..
>
> Cheers,
>
> Henning
Hello
I am using kamailio 1.5.0.2.
I have developed one custom function in module, and also create one custom
structure to store database recordset.
What I would like to do is...
1] I have structure say struct record and it has variable
struct record {
int id;
char name;
db_res_t *res;
};
2] Execute one query and store result into "db_res" variable of db_res_t
datatype;
3] Now I would like to preserve 'n in future i will use this recordset.. so
how can i store this "db_res" variable into structure variable.
I have tried using below syntax...
struct record rec[2];
db_res = get_record( "pass_any_query" );
rec[0].res = db_res;
But when I used this rec[0].res in future it gives garbage value.
Any Idea...???
--
Regards,
Chandrakant Solanki
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#73 - SDP parsing when dealing with multi-part bodies
User who did this - Ovidiu Sas (osas)
----------
The nathelper module is using now the core SDP parser.
Please test this on the trunk and report any issues.
Regards,
Ovidiu Sas
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=73#comment106
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.
Module: sip-router
Branch: master
Commit: 377e5afba8907b0ea84147459c881f6e5af11b0c
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=377e5af…
Author: Ovidiu Sas <osas(a)voipembedded.com>
Committer: Ovidiu Sas <osas(a)voipembedded.com>
Date: Thu Aug 5 18:40:53 2010 -0400
nathelper(k): Core SDP parser integrated into nathelper
The nathelper (k version) is using the core SDP parser to
extract the IP and port from the received message.
---
modules_k/nathelper/nathelper.c | 372 ++++++++++-----------------------------
1 files changed, 96 insertions(+), 276 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=377…