[Kamailio-Devel] [ openser-Feature Requests-2687695 ] Add dns_lookup_avp to cfgutils module

SourceForge.net noreply at sourceforge.net
Sun Mar 15 15:17:47 CET 2009


Feature Requests item #2687695, was opened at 2009-03-15 14:17
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743023&aid=2687695&group_id=139143

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: ver devel
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Add dns_lookup_avp to cfgutils module

Initial Comment:
Add some function to fill an (AVP)/(AVP Group) with the IP of a domain name passed as argument.

Example:

 dns_lookup_avp("$rd", "$avp(s:ruri_dom_ip)");

 if ($avp(s:ruri_dom_ip) ~= "192.168.100")
 {
  xlog("Request from local network");
 }
 else
 {
  exit;
 };

Any clarification needed, contact me:
uriel dot rozenbaum at gmail dot com

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743023&aid=2687695&group_id=139143



More information about the Devel mailing list