Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#91 DROUTING - function for checking that gateway group

trunk
closed
modules (91)
5
2012-09-01
2012-04-12
Nick Altmann
No

I offer to add to drouting in addition to functions is_from_gw, goes_to_gw function, which can check any uri is from certain group.
Like ds_is_in_list in DISPATCHER.
is_from_gw and goes to gw now allow only to check from and destination uri, but not any uri.

For example,
is_gw(uri, [type, [flag]])

Discussion

<< < 1 2 (Page 2 of 2)
  • Nick Altmann
    Nick Altmann
    2012-08-31

     
    Attachments
    • status: open --> closed
     
  • Hi Nick,

    I uploaded the patch, with some modification in order to unify all the is_from / goes_to / is_gw functions.
    I would appreciate of you could do some testing, just to be sure.

    Thanks and Regards,
    Bogdan

     
<< < 1 2 (Page 2 of 2)