Hi, I'm using OpenSIPS 3.1.7. I'm trying to set time based dynamic routing rules but am struggling to understand the timerec and get it working.
The intention here is that from 2000-01-01 00:00:00 to 2022-01-12 18:34:59 then prefix 441476292508 will go to gw9, but after that it will go to gw8. This is for all times of day and all days of the week. This is what I have in the appropriate partition: +--------+---------+--------------+-----------------------------------+--------+ | ruleid | groupid | prefix | timerec | gwlist | +--------+---------+--------------+-----------------------------------+--------+ | 88 | 0 | 441476292508 | 20000101T000000|||20220112T183459 | #gw9 | | 89 | 0 | 441476292508 | 20220112T183500|||99991231T235959 | #gw8 | +--------+---------+--------------+-----------------------------------+--------+ However, even though the time and date has now passed 2022-01-12 18:34:59, it is still sending to gw9. The new rule seems to be being ignored. I did dr_reload and even completely restarted OpenSIPS. Any idea what I am doing wrong here? Cheers, Kingsley. _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users