On 7/25/07, Anthony Minessale <anthmct@yahoo.com> wrote:
if you want it to handle sip registrations the correct way is to connect to the directory interface with the xml hook (see mod_xml_curl) This allows a module to request that it has the first chance to lookup any xml requests ahead of actually looking in the file. If your module was registered and binded to the "directory" section, then when the sip asked for the directory data from xml you can actually do the radius request and populate the reply with our xml api and return it in place of the actual contents of the real xml file. This already can be done with mod_xml_curl which is similar but uses a http connection instead of radius to do the proxy lookups.
Ok, now it makes sense. I will make the required changes to the module code. Tuyan