[OpenSIPS-Devel] [ opensips-Patches-2935297 ] drouting wildcard '%' dr_groups username support

SourceForge.net noreply at sourceforge.net
Tue Feb 9 19:17:16 CET 2010


Patches item #2935297, was opened at 2010-01-19 17:04
Message generated for change (Comment added) made by jarrodpy
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=2935297&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: 1.6.x
Status: Open
Resolution: None
Priority: 7
Private: No
Submitted By: Jarrod Baumann (jarrodpy)
Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: drouting wildcard '%' dr_groups username support

Initial Comment:
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

----------------------------------------------------------------------

Comment By: Jarrod Baumann (jarrodpy)
Date: 2010-02-09 12:17

Message:
Ok, I uploaded the patch as a unified diff

----------------------------------------------------------------------

Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2010-02-01 13:17

Message:
Jarrod, please upload the patch as an unified diff.

Thanks and regards,
Bogdan

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=2935297&group_id=232389



More information about the Devel mailing list