#126 drouting wildcard '%' dr_groups username support

1.6.x
open-postponed
modules (179)
3
2010-03-09
2010-01-19
No

When routing traffic for numerous gateways, the username field may sometimes be various values or omitted altogether. Also, without domain support, a wildcard/catchall username may be used for a "default" route. This *ugly* patch makes this possible by using '%' for the username in dr_groups.

The patch moves the matching pattern off of sql and into drouting.c which should not impact the speed.

# patch -p1 opensips-1.6.1-tls/modules/drouting/drouting.c < drouting.patch

Discussion

  • Bogdan-Andrei Iancu

    • priority: 5 --> 7
    • assigned_to: nobody --> bogdan_iancu
     
  • Bogdan-Andrei Iancu

    Jarrod, please upload the patch as an unified diff.

    Thanks and regards,
    Bogdan

     
  • Jarrod Baumann

    Jarrod Baumann - 2010-02-09

    unified drouting.patch as requested...

     
  • Jarrod Baumann

    Jarrod Baumann - 2010-02-09

    Ok, I uploaded the patch as a unified diff

     
  • Jarrod Baumann

    Jarrod Baumann - 2010-02-09

    wildcard patch that works with the source ip patch I also submitted later

     
  • Bogdan-Andrei Iancu

    postponed until find a better implementation.

     
  • Bogdan-Andrei Iancu

    • priority: 7 --> 3
    • status: open --> open-postponed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks