Alexey Mechanoshin writes:
mysql> select * from lcr_rule where id=5;
+----+--------+--------+-------------------------------+-------------+---------+---------+
| id | lcr_id | prefix | from_uri | request_uri |
stopper | enabled |
+----+--------+--------+-------------------------------+-------------+---------+---------+
| 5 | 1 | yyyy | sip:x[xx]\d{2}@xxx.xxx.xx.xx | NULL |
0 | 1 |
+----+--------+--------+-------------------------------+-------------+---------+---------+
and load_gw(...) skip this rule, in log:
INFO: lcr [lcr_mod.c:1493]: skipping disabled <gw/rule> = <1/5>
the above message comes if enabled rule target cannot be added because
rule or gw is disabled.
If remove value from 'from_ui' - rule enabled
and all work.
this seems to indicate that rule is not loaded if from_uri is present,
but then you should get error message to syslog about bad from_uri.
i cannot say more without trying myself with your records.
-- juha