2010/6/1 Henning Westerholt henning.westerholt@1und1.de:
Hi Iñaki,
maybe you want to take a look to the cr module (at least for some additional inspiration..), where we've added functionality to match for the prefix, arbitrary flags or for reply codes and decide with this data if the next rule/ which rule should be executed as a next try. You'll find some examples in the docs (1.21, 1.22). The specific table is named "carrierfailureroute". Perhaps it provides a bit more generic solution to the usecase you described, if i understand it correctly.
Thanks Henning.
Yes, I want also to learn about cr module :) For now Juha and me have started a wiki page with new additions and changes to LCR module: http://www.kamailio.org/dokuwiki/doku.php/modules-new-design:lcr-module-desi...
Thanks a lot.