drouting module groupid column type error

  • Hi,
    on module documentation http://www.opensips.org/html/docs/modules/devel/drouting.html page I see that on Table 1.5. "Sample dr_rules records" that on column group is used a text "postpaid" or "prepaid".

    I try to setup it but I get this error when I put any text on groupid column

    Oct 22 07:31:21 vmbox1 /sbin/opensips[17385]: ERROR:drouting:add_rule: bad grp id 't' (0)[test]
    Oct 22 07:31:21 vmbox1 /sbin/opensips[17385]: ERROR:drouting:dr_load_routing_info: failed to add rule -> skipping

    Where is the problem? Wrong documentation or module is not well implemented?

    With numberic values is working fine all the time.

    • Hi,

      The docs are wrong - the module accepts as group an ID. I will update them.
      Who said docs are bug-free :D.