Patches item #2948725, was opened at 2010-02-09 23:53 Message generated for change (Comment added) made by bogdan_iancu You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=2948725&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: None Group: None Status: Open Resolution: None >Priority: 2 Private: No Submitted By: Jarrod Baumann (jarrodpy) >Assigned to: Bogdan-Andrei Iancu (bogdan_iancu) Summary: drouting support for determining group id based on source ip Initial Comment: When using the drouting module in b2bua configuration, it's highly possible to receive a modified from uri for anonymous purposes per RFC 3323. Here is a snippet from RFC 3323 on page 9: "For these reasons, the hostname value 'anonymous.invalid' SHOULD be used for anonymous URIs" This patch adds a parameter (use_src_ip) that notifies the get_group_id() method to use the actual source IP address from the IP packet instead of parsing the information from the SIP INVITE from uri. This retains the original design by default, but allows for changing the default behavior. ---------------------------------------------------------------------- >Comment By: Bogdan-Andrei Iancu (bogdan_iancu) Date: 2011-06-30 13:35 Message: Hi Jarrod, The idea in this patch is a bit inconsistent - You say the FROM URI may not be valid (anonymous), but you fill in with the source IP address :/ .... Maybe a better approach will be to add an extra param to do_routing() to provide a custom URI to be used (instead of FROM URI) for querying the group table. Regards, Bogdan ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=2948725&group_id=232389 _______________________________________________ Devel mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
