THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#163 - enable milliseconds precision for accounting
User who did this - Jon Bonilla (manwe)
----------
regarding "hires" I'd say it means "High Resolution"
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=163#comment852
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#288 - app_lua: added sr.xavp.get_keys function
User who did this - Daniel-Constantin Mierla (miconda)
----------
All looks ok now -- you can go ahead and commit the patches. Thanks.
Please add the new Lua API functions to the wiki:
- https://www.kamailio.org/wiki/embeddedapi/devel/lua
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=288#comment851
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#163 - enable milliseconds precision for accounting
User who did this - Daniel-Constantin Mierla (miconda)
----------
Revived from the mailing list -- I see few issues and have some questions:
- the tm variable is declared set, but not used
- tz is also not used, gettimeofday() can take NULL as second parameter and iirc, tz is obsolete
- I wonder if gettimeofday() can actually fail and return code should be checked for error cases
- the names of the new column, respectively 'time_hires' sounds a bit strange to me, does it have any special meaning the word 'hires'?
Overall, wouldn't be better to keep the seconds and microseconds (as returned in a timeval structure) in separate columns. That means keeping the time column as it is and adding a new column for microsecs. Then people can get the precision as they want, including only down to the miliseconds if that is what they need.
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=163#comment850
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#288 - app_lua: added sr.xavp.get_keys function
User who did this - Víctor Seva (linuxmaniac)
----------
Reworked version.
No need to free the strings now.
There is no use of pkg_malloc.
----------
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=288#comment849
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#287 - xavp. helper function to get a list of keys from a xavp
User who did this - Víctor Seva (linuxmaniac)
----------
Ok. Now I use the strings from the core to build the str_list as @miconda suggested.
No need to use goto now since there is only one point where the str_list has to be freed.
----------
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=287#comment848
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: 53319656247a2aa685f4d9b6f667192f945bc62a
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=5331965…
Author: Torrey Searle <tsearle(a)gmail.com>
Committer: Torrey Searle <tsearle(a)gmail.com>
Date: Tue Apr 23 14:04:39 2013 +0200
modules/sipt add value tables to docs, add section ids to pvars
---
modules/sipt/README | 34 ++++++++++++++++++++++
modules/sipt/doc/sipt_admin.xml | 59 +++++++++++++++++++++++++++++++++++----
2 files changed, 87 insertions(+), 6 deletions(-)
diff --git a/modules/sipt/README b/modules/sipt/README
index 3a93928..f9d9792 100644
--- a/modules/sipt/README
+++ b/modules/sipt/README
@@ -28,6 +28,13 @@ Torrey Searle
4.5. $sipt_calling_party_nai
4.6. $sipt_called_party_nai
+ List of Tables
+
+ 1.1. Address Presentation Restricted Indicator Values
+ 1.2. Screening Indicator Values
+ 1.3. Calling Nature of Address Values
+ 1.4. Called Nature of Address Values
+
List of Examples
1.1. sipt_destination(destination, hops, nai) usage
@@ -122,6 +129,12 @@ sipt_set_calling($fU, 4, 0, 3);
contained in the Calling Party Number header of the IAM message if it
exists. Returns -1 if there isn't a Calling Party Number header.
+ Table 1.1. Address Presentation Restricted Indicator Values
+ 0 presentation allowed
+ 1 presentation restricted
+ 2 address not avail (national use)
+ 3 spare
+
Example 1.3. sipt_presentation pseudo-variable usage
...
# add privacy header if restriction is requested
@@ -139,6 +152,12 @@ if($sipt_presentation == 1)
Party Number header of the IAM message if it exists. Returns -1 if
there isn't a Calling Party Number header.
+ Table 1.2. Screening Indicator Values
+ 0 Reserved (user provided, not verified)
+ 1 User Provided, Verified and Passed
+ 2 Reserved (user provided, verified and failed)
+ 3 Network provided
+
Example 1.4. sipt_screening pseudo-variable usage
...
@@ -187,6 +206,13 @@ append_hf("X-CPC: $sipt_cpc\r\n");
Party for the IAM message. Returns -1 if there is a parsing error or if
the Calling Party Number is not present.
+ Table 1.3. Calling Nature of Address Values
+ 0 Spare
+ 1 Subscriber Number (national use)
+ 2 Unknown (national use)
+ 3 National (significant) number (national use)
+ 4 International use
+
Example 1.7. sipt_calling_party_nai pseudo-variable usage
...
# get the Calling Nai and add country code if national
@@ -202,6 +228,14 @@ if($sipt_calling_party_nai == 3)
Returns the value of the Nature of Address Indicator of the Called
Party for the IAM message. Returns -1 if there is a parsing error.
+ Table 1.4. Called Nature of Address Values
+ 0 Spare
+ 1 Subscriber Number (national use)
+ 2 Unknown (national use)
+ 3 National (significant) number
+ 4 International use
+ 5 Network-specific number (national use)
+
Example 1.8. sipt_called_party_nai pseudo-variable usage
...
# get the Called Nai and add country code if national
diff --git a/modules/sipt/doc/sipt_admin.xml b/modules/sipt/doc/sipt_admin.xml
index dbcad85..326e42c 100644
--- a/modules/sipt/doc/sipt_admin.xml
+++ b/modules/sipt/doc/sipt_admin.xml
@@ -77,13 +77,24 @@ sipt_set_calling($fU, 4, 0, 3);
</section>
<section>
<title>Exported pseudo-variables</title>
- <section>
+ <section id="sipt.v.sipt_presentation">
<title><varname>$sipt_presentation</varname></title>
<para>
Returns the value of the Address presentation restricted indicator contained in the
Calling Party Number header of the IAM message if it exists.
Returns -1 if there isn't a Calling Party Number header.
</para>
+ <table>
+ <title>Address Presentation Restricted Indicator Values</title>
+ <tgroup cols="2">
+ <tbody>
+ <row><entry>0</entry><entry>presentation allowed</entry></row>
+ <row><entry>1</entry><entry>presentation restricted</entry></row>
+ <row><entry>2</entry><entry>address not avail (national use)</entry></row>
+ <row><entry>3</entry><entry>spare</entry></row>
+ </tbody>
+ </tgroup>
+ </table>
<example>
<title><function moreinfo="none">sipt_presentation pseudo-variable</function> usage</title>
<programlisting format="linespecific">
@@ -99,13 +110,24 @@ if($sipt_presentation == 1)
</programlisting>
</example>
</section>
- <section>
+ <section id="sipt.v.sipt_screening">
<title><varname>$sipt_screening</varname></title>
<para>
Returns the value of the Screening Indicator contained in the
Calling Party Number header of the IAM message if it exists.
Returns -1 if there isn't a Calling Party Number header.
</para>
+ <table>
+ <title>Screening Indicator Values</title>
+ <tgroup cols="2">
+ <tbody>
+ <row><entry>0</entry><entry>Reserved (user provided, not verified)</entry></row>
+ <row><entry>1</entry><entry>User Provided, Verified and Passed</entry></row>
+ <row><entry>2</entry><entry>Reserved (user provided, verified and failed)</entry></row>
+ <row><entry>3</entry><entry>Network provided</entry></row>
+ </tbody>
+ </tgroup>
+ </table>
<example>
<title><function moreinfo="none">sipt_screening pseudo-variable</function> usage</title>
<programlisting format="linespecific">
@@ -123,7 +145,7 @@ if($avp(s:screening) != 1 && $avp(s:screening) != 3)
</programlisting>
</example>
</section>
- <section>
+ <section id="sipt.v.sipt_hop_counter">
<title><varname>$sipt_hop_counter</varname></title>
<para>
Returns the value of the Hop Counter for the IAM message if it exists.
@@ -145,7 +167,7 @@ if($avp(s:hop) > 0)
</programlisting>
</example>
</section>
- <section>
+ <section id="sipt.v.sipt_cpc">
<title><varname>$sipt_cpc</varname></title>
<para>
Returns the value of the Calling Party Category for the IAM message.
@@ -162,7 +184,7 @@ append_hf("X-CPC: $sipt_cpc\r\n");
</programlisting>
</example>
</section>
- <section>
+ <section id="sipt.v.sipt_calling_party_nai">
<title><varname>$sipt_calling_party_nai</varname></title>
<para>
Returns the value of the Nature of Address Indicator
@@ -170,6 +192,18 @@ append_hf("X-CPC: $sipt_cpc\r\n");
Returns -1 if there is a parsing error or if
the Calling Party Number is not present.
</para>
+ <table>
+ <title>Calling Nature of Address Values</title>
+ <tgroup cols="2">
+ <tbody>
+ <row><entry>0</entry><entry>Spare</entry></row>
+ <row><entry>1</entry><entry>Subscriber Number (national use)</entry></row>
+ <row><entry>2</entry><entry>Unknown (national use)</entry></row>
+ <row><entry>3</entry><entry>National (significant) number (national use)</entry></row>
+ <row><entry>4</entry><entry>International use</entry></row>
+ </tbody>
+ </tgroup>
+ </table>
<example>
<title><function moreinfo="none">sipt_calling_party_nai pseudo-variable</function> usage</title>
<programlisting format="linespecific">
@@ -184,13 +218,26 @@ if($sipt_calling_party_nai == 3)
</programlisting>
</example>
</section>
- <section>
+ <section id="sipt.v.sipt_called_party_nai">
<title><varname>$sipt_called_party_nai</varname></title>
<para>
Returns the value of the Nature of Address Indicator
of the Called Party for the IAM message.
Returns -1 if there is a parsing error.
</para>
+ <table>
+ <title>Called Nature of Address Values</title>
+ <tgroup cols="2">
+ <tbody>
+ <row><entry>0</entry><entry>Spare</entry></row>
+ <row><entry>1</entry><entry>Subscriber Number (national use)</entry></row>
+ <row><entry>2</entry><entry>Unknown (national use)</entry></row>
+ <row><entry>3</entry><entry>National (significant) number</entry></row>
+ <row><entry>4</entry><entry>International use</entry></row>
+ <row><entry>5</entry><entry>Network-specific number (national use)</entry></row>
+ </tbody>
+ </tgroup>
+ </table>
<example>
<title><function moreinfo="none">sipt_called_party_nai pseudo-variable</function> usage</title>
<programlisting format="linespecific">
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#289 - app_lua: added sr.xavp.get function
User who did this - Daniel-Constantin Mierla (miconda)
----------
For the other patches I suggested an improvement to avoid pkg malloc twice for same value.
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=289#comment847
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: 066011935c7a2636ea976923e46d33ae5fb4c793
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0660119…
Author: Henning Westerholt <hw(a)kamailio.org>
Committer: Henning Westerholt <hw(a)kamailio.org>
Date: Sun Apr 21 21:56:28 2013 +0200
memcached: port module to use the newer libmemcached library
* based on a patch from Charles Chance, sipcentric.com
* He added new functionality to set the expiry directly in the key
* Added memory manager wrapping functions and some more logging,
* smaller cleanups in the code structure
* This is work in progress, the memory management stuff is not yet
* finished, as this needs different logic for client lib version
* before and after 0.32. It will not work at the moment correctly.
---
modules/memcached/Makefile | 2 +-
modules/memcached/mcd_var.c | 221 +++++++++++++++++++++++++---------------
modules/memcached/mcd_var.h | 7 +-
modules/memcached/memcached.c | 204 ++++++++++++++++----------------------
modules/memcached/memcached.h | 20 ++--
5 files changed, 237 insertions(+), 217 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=066…