Module: sip-router
Branch: master
Commit: 5783579581b4f04afd8ea341c7519becabece1a9
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=5783579…
Author: Marius Zbihlei <marius.zbihlei(a)1and1.ro>
Committer: Marius Zbihlei <marius.zbihlei(a)1and1.ro>
Date: Thu Jan 28 12:10:24 2010 +0200
modules_k:siputils Improved documentation of ring_timeout parameter
---
modules_k/siputils/README | 5 +++--
modules_k/siputils/doc/siputils_admin.xml | 4 ++--
modules_k/siputils/ring.c | 2 +-
modules_k/siputils/siputils.c | 2 +-
4 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/modules_k/siputils/README b/modules_k/siputils/README
index 80381c5..9078784 100644
--- a/modules_k/siputils/README
+++ b/modules_k/siputils/README
@@ -187,9 +187,10 @@ Chapter 1. Admin Guide
3.1. ring_timeout (int)
Timeout value in seconds, define how long the call-id is stored in the
- internal list. A reasonable value is "30".
+ internal list kept for replacing 183 messages with 180. A reasonable
+ value is "30".
- Default value is "0".
+ Default value is "0". This means functionality is disabled.
Example 1.1. Set ring_timeout parameter
...
diff --git a/modules_k/siputils/doc/siputils_admin.xml b/modules_k/siputils/doc/siputils_admin.xml
index 982dd84..84f546e 100644
--- a/modules_k/siputils/doc/siputils_admin.xml
+++ b/modules_k/siputils/doc/siputils_admin.xml
@@ -75,12 +75,12 @@
<section>
<title><varname>ring_timeout</varname> (int)</title>
<para>
- Timeout value in seconds, define how long the call-id is stored in the internal list.
+ Timeout value in seconds, define how long the call-id is stored in the internal list kept for replacing 183 messages with 180.
A reasonable value is <quote>30</quote>.
</para>
<para>
<emphasis>
- Default value is <quote>0</quote>.
+ Default value is <quote>0</quote>. This means functionality is disabled.
</emphasis>
</para>
<example>
diff --git a/modules_k/siputils/ring.c b/modules_k/siputils/ring.c
index 4d59a02..f895572 100644
--- a/modules_k/siputils/ring.c
+++ b/modules_k/siputils/ring.c
@@ -237,7 +237,7 @@ static int contains(str callid)
/*!
- * \brief Convert a 180 to a 180 message.
+ * \brief Convert a 183 to a 180 message.
* \param msg SIP message
*/
static int conv183(struct sip_msg *msg)
diff --git a/modules_k/siputils/siputils.c b/modules_k/siputils/siputils.c
index a018462..461dd30 100644
--- a/modules_k/siputils/siputils.c
+++ b/modules_k/siputils/siputils.c
@@ -120,7 +120,7 @@ static param_export_t params[] = {
{"options_accept_encoding", STR_PARAM, &opt_accept_enc.s},
{"options_accept_language", STR_PARAM, &opt_accept_lang.s},
{"options_support", STR_PARAM, &opt_supported.s},
- {"contact_flds_separator", STR_PARAM,&contact_flds_separator},
+ {"contact_flds_separator", STR_PARAM, &contact_flds_separator},
{0, 0, 0}
};
Revision: 5970
http://openser.svn.sourceforge.net/openser/?rev=5970&view=rev
Author: henningw
Date: 2010-01-27 16:39:01 +0000 (Wed, 27 Jan 2010)
Log Message:
-----------
* docs extension, dependency on tm
Modified Paths:
--------------
branches/1.5/modules/sl/README
branches/1.5/modules/sl/doc/sl_admin.xml
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Hello,
I came across a post by Stefan Sayer regarding an rtpproxy transcoder
patch http://lists.iptel.org/pipermail/serdev/2008-July/012794.html.
We are interested in having rtpproxy perform transcoding, both in
software and using DSP array cards, and are currently running rtpproxy
version 1.2.1.
Is this link http://user.cs.tu-berlin.de/~sayer/transcoder/ that is
mentioned on the post our starting point or is there an updated
version ?
Thanks and Regards,
Vikram.
Hi!
The sr/ser/kamailio smaple configs contain:
if (!t_relay()) {
sl_reply_error();
}
I wonder if this is still the case. I did some TCP tests and when the
TCP forwarding fails (e.g. RST received or set_forward_no_connect()
activated), then tm module itself replies stateful with 477 and then
returning to script with FALSE. Thus, sl_reply_error will send 500
response stateless too.
IMO if tm module already sent a final response, it should exit without
entering script again.
Even better would be to reply only if there is no failure route sent.
Further, if TCP forwarding fails due to set_forward_no_connect() it logs:
ERROR: tm [../../forward.h:169]: msg_send: ERROR: tcp_send failed
ERROR: tm [t_fwd.c:1235]: ERROR: t_send_branch: sending request on
branch 0 failed
IMO it would be good to log this only with L_INFO, as it is not an
error, but intended behavior.
Thanks
Klaus
Module: sip-router
Branch: master
Commit: 23bf29c92ae9d7f4635281a292a25e48698cb63b
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=23bf29c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Wed Jan 27 12:27:51 2010 +0100
drouting: updated db schema definition
- use module name in description
- more appropriate field sizes
---
lib/srdb1/schema/dr_gateways.xml | 26 +++++++++++---------------
lib/srdb1/schema/dr_groups.xml | 2 +-
lib/srdb1/schema/dr_gw_lists.xml | 4 ++--
lib/srdb1/schema/dr_rules.xml | 28 +++++++++++++---------------
lib/srdb1/schema/kamailio-drouting.xml | 12 ++++++------
5 files changed, 33 insertions(+), 39 deletions(-)
diff --git a/lib/srdb1/schema/dr_gateways.xml b/lib/srdb1/schema/dr_gateways.xml
index e595151..9763c4b 100644
--- a/lib/srdb1/schema/dr_gateways.xml
+++ b/lib/srdb1/schema/dr_gateways.xml
@@ -12,9 +12,8 @@
<version>3</version>
<type db="mysql">&MYSQL_TABLE_TYPE;</type>
<description>
- <db:para>This table is used by the Dynamic Routing module to store
- information about the destinations/gateways where to route calls.
- More information can be found at: &KAMAILIO_MOD_DOC;drouting.html.
+ <db:para>This table is used by the douting module - keeps the
+ gateways data.
</db:para>
</description>
@@ -25,8 +24,7 @@
<autoincrement/>
<primary/>
<type db="dbtext">int,auto</type>
- <description>GW unique ID - used to link the GW from
- the routing rules
+ <description>Unique ID per gateway
</description>
</column>
@@ -35,14 +33,14 @@
<type>unsigned int</type>
<size>11</size>
<default>0</default>
- <description>Type/class of the GW (user defined)</description>
+ <description>Type of gateway</description>
</column>
<column id="address">
<name>address</name>
<type>string</type>
<size>128</size>
- <description>GW/destination address as name/IP[:port]</description>
+ <description>Address of gateway (hostname or ip and port)</description>
</column>
<column id="strip">
@@ -50,18 +48,16 @@
<type>unsigned int</type>
<size>11</size>
<default>0</default>
- <description>Number of digits to be striped out for the begining
- of the username when using this GW/destination</description>
+ <description>Number of digits to strip from dialed number</description>
</column>
<column id="pri_prefix">
<name>pri_prefix</name>
<type>string</type>
- <size>16</size>
+ <size>64</size>
<null/>
<default><null/></default>
- <description>String to prefix the username of RURI when using
- this GW/destination</description>
+ <description>What to prefix to dialed number</description>
</column>
<column id="attrs">
@@ -70,8 +66,7 @@
<size>255</size>
<null/>
<default><null/></default>
- <description>Generic string describing GW attributes - this string is
- to be interpreted from the script</description>
+ <description>Generic string to be returned in cfg script</description>
</column>
<column id="description">
@@ -79,6 +74,7 @@
<type>string</type>
<size>128</size>
<default></default>
- <description>Text description of the GW/destination</description>
+ <description>Short description of gateway</description>
</column>
</table>
+
diff --git a/lib/srdb1/schema/dr_groups.xml b/lib/srdb1/schema/dr_groups.xml
index fa4d6df..92c2e5c 100644
--- a/lib/srdb1/schema/dr_groups.xml
+++ b/lib/srdb1/schema/dr_groups.xml
@@ -12,7 +12,7 @@
<version>2</version>
<type db="mysql">&MYSQL_TABLE_TYPE;</type>
<description>
- <db:para>This table is used by the Dynamic Routing module to store
+ <db:para>This table is used by the drouting module to store
information about the routing groups (users mapped over groups).
More information can be found at: &KAMAILIO_MOD_DOC;drouting.html.
</db:para>
diff --git a/lib/srdb1/schema/dr_gw_lists.xml b/lib/srdb1/schema/dr_gw_lists.xml
index 7dd4c3e..6375c0d 100644
--- a/lib/srdb1/schema/dr_gw_lists.xml
+++ b/lib/srdb1/schema/dr_gw_lists.xml
@@ -12,7 +12,7 @@
<version>1</version>
<type db="mysql">&MYSQL_TABLE_TYPE;</type>
<description>
- <db:para>This table is used by the Dynamic Routing module to define
+ <db:para>This table is used by the drouting module to define
lists of gateways to be used in rule definitions.
More information can be found at: &KAMAILIO_MOD_DOC;drouting.html.
</db:para>
@@ -32,7 +32,7 @@
<name>gwlist</name>
<type>string</type>
<size>255</size>
- <description>Reference to the GWs/destinations from the list.
+ <description>List of GW ids.
</description>
</column>
diff --git a/lib/srdb1/schema/dr_rules.xml b/lib/srdb1/schema/dr_rules.xml
index a114ea7..a469a77 100644
--- a/lib/srdb1/schema/dr_rules.xml
+++ b/lib/srdb1/schema/dr_rules.xml
@@ -12,9 +12,8 @@
<version>3</version>
<type db="mysql">&MYSQL_TABLE_TYPE;</type>
<description>
- <db:para>This table is used by the Dynamic Routing module to store
- information about the routing rules.
- More information can be found at: &KAMAILIO_MOD_DOC;drouting.html.
+ <db:para>This table is used by the drouting module - keeps the
+ routing rules data.
</db:para>
</description>
@@ -33,8 +32,7 @@
<name>groupid</name>
<type>string</type>
<size>255</size>
- <description>The ID(s) of the routing group(s) this rule is to be
- used for - comma separeted list of numerical Ids
+ <description>list of routing group IDs
</description>
</column>
@@ -42,14 +40,14 @@
<name>prefix</name>
<type>string</type>
<size>64</size>
- <description>Numerical prefix to match this rule</description>
+ <description>Destination prefix for this rule</description>
</column>
<column id="timerec">
<name>timerec</name>
<type>string</type>
<size>255</size>
- <description>Time recurrence used for matching this rule.</description>
+ <description>Time recurrence for this rule.</description>
</column>
<column id="priority">
@@ -57,24 +55,23 @@
<type>int</type>
<size>11</size>
<default>0</default>
- <description>Priority of this rule (among rules with same prefix
- and timerec).</description>
+ <description>Priority of the rule.</description>
</column>
<column id="routeid">
<name>routeid</name>
<type>string</type>
- <size>255</size>
- <description>Route block (from cfg script) to be called when rule
- matches.</description>
+ <size>64</size>
+ <description>Name of route block (from cfg script) to be
+ executed when matching this rule.</description>
</column>
<column id="gwlist">
<name>gwlist</name>
<type>string</type>
<size>255</size>
- <description>Reference to the GWs/destinations to be used when
- rule matches.</description>
+ <description>The list of destinations (gws) to be used when
+ matching this rule.</description>
</column>
<column id="description">
@@ -82,7 +79,8 @@
<type>string</type>
<size>128</size>
<default></default>
- <description>Text description of the rule</description>
+ <description>Short description of the rule</description>
</column>
</table>
+
diff --git a/lib/srdb1/schema/kamailio-drouting.xml b/lib/srdb1/schema/kamailio-drouting.xml
index d058f9b..7a95020 100644
--- a/lib/srdb1/schema/kamailio-drouting.xml
+++ b/lib/srdb1/schema/kamailio-drouting.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE database PUBLIC "-//kamailio.org//DTD DBSchema V1.1//EN"
- "http://kamailio.org/pub/kamailio/dbschema/dtd/1.1/dbschema.dtd" [
+ "http://kamailio.org/pub/kamailio/dbschema/dtd/1.1/dbschema.dtd" [
<!ENTITY % entities SYSTEM "entities.xml">
%entities;
@@ -8,9 +8,9 @@
]>
<database xmlns:xi="http://www.w3.org/2001/XInclude">
- <name>Dynamic Routing</name>
- <xi:include href="dr_gateways.xml"/>
- <xi:include href="dr_rules.xml"/>
- <xi:include href="dr_gw_lists.xml"/>
- <xi:include href="dr_groups.xml"/>
+ <name>DRouting</name>
+ <xi:include href="dr_gateways.xml"/>
+ <xi:include href="dr_rules.xml"/>
+ <xi:include href="dr_gw_lists.xml"/>
+ <xi:include href="dr_groups.xml"/>
</database>