[sr-dev] [tracker] Task opened: Documentation change for drouting module

sip-router admin at sip-router.org
Thu Oct 21 13:50:32 CEST 2010


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Marc Cardinal (mcardinal) 

Attached to Project - sip-router
Summary - Documentation change for drouting module
Task Type - Improvement
Category - Core
Status - Assigned
Assigned To - Andrei Pelinescu-Onciul
Operating System - All
Severity - Low
Priority - Normal
Reported Version - 3.1
Due in Version - Undecided
Due Date - Undecided
Details - I noticed that the documentation at http://www.kamailio.org/docs/modules/stable/modules_k/drouting.html is missing some key information on using the gw_list table. The paragraph f. under the section 1.4.3 currently reads:

f. gwlist column
A comma separated list of gateway identifiers corresponding to a row in table "dr_gateways". The first gateway is tried first and if failure the second one, and so one. If no gateway is left a negative response is sent back to the user.

The following key information should be added:
You can use a predefined list from the table "dr_gw_lists" preceded by the character "#".

I confirmed that this is supported by the current version of drouting by looking at the source code. The # appears to be parsed at the block of code starting at line 535 of modules_k/drouting/dr_load.c:

 /* is gw_list a list or a list id? */
                        if (str_vals[4][0]=='#') {
                                s_id.s = str_vals[4]+1;



More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=96

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.



More information about the sr-dev mailing list