[OpenSIPS-Devel] [ opensips-Bugs-3587515 ] Drouting rule fallback problem

SourceForge.net noreply at sourceforge.net
Thu Nov 15 14:56:29 CET 2012


Bugs item #3587515, was opened at 2012-11-15 05:56
Message generated for change (Tracker Item Submitted) made by rico29600
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3587515&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: 1.8.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Rico (rico29600)
Assigned to: Nobody/Anonymous (nobody)
Summary: Drouting rule fallback problem

Initial Comment:
I've got a problem with rule fallback in drouting module. Rulle fallback does not work as expected.
When my higher priority GW is not reachable, I've got a message " All the gateways are disabled"


See the config here, and the opensips log in attachment (debug level 6)
Running opensips 1.8.2


Hope somebody will be able to help me...

best regards

--------------------------------------


#opensips.log
Nov  7 14:09:51 opensips1 /sbin/opensips[14026]: [from sip:067364xxxx at 91.213.a.b / to sip:0970559999 at 91.213.a.b:5060 ]
Nov  7 14:09:51 opensips1 /sbin/opensips[14026]: Entering route[4]
Nov  7 14:09:51 opensips1 /sbin/opensips[14026]: ERROR:drouting:do_routing: All the gateways are disabled




##################################################################
#opensipsctl dr gw_status
ID:: 11 IP=46.226.x.y Enabled=no 
ID:: 12 IP=46.226.x.z Enabled=yes




##################################################################
#opensipsctl dr show
dr gateways
+----+------+------+----------------+-------+------------+-------+------------+------------------------------+
| id | gwid | type | address        | strip | pri_prefix | attrs | probe_mode | description                  |
+----+------+------+----------------+-------+------------+-------+------------+------------------------------+
|  5 | 11   |    1 | 46.226.x.y |     0 | NULL       | NULL  |          2 | OXO ASTI 1                   |
|  6 | 12   |    1 | 46.226.x.z |     0 | NULL       | NULL  |          2 | OXO ASTI 2                   |
+----+------+------+----------------+-------+------------+-------+------------+------------------------------+



##################################################################
dr rules
+--------+---------+------------+---------+----------+---------+--------+-------+---------------------------------------+
| ruleid | groupid | prefix     | timerec | priority | routeid | gwlist | attrs | description                           |
+--------+---------+------------+---------+----------+---------+--------+-------+---------------------------------------+
|     64 | 1       | 0970559999 |         |        1 |         | 11     | NULL  | SDA Test                       |
|     68 | 1       | 0970559999 |         |        0 |         | 12     | NULL  | SDA Test                       |

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3587515&group_id=232389



More information about the Devel mailing list