#127 drouting support for determining group id based on source ip

open
None
2
2011-06-30
2010-02-09
No

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.

Discussion

  • Jarrod Baumann

    Jarrod Baumann - 2010-02-09

    drouting patch for determining group id from source ip

     
  • Bogdan-Andrei Iancu

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

    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

     

Log in to post a comment.

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

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks