You could probably try the EXEC module, and write a small aplication that could do a SQL query and return yes or no.
Jose Simoes
On 12/12/05, Leo Papadopoulos leo@telecomcto.com wrote:
Dear SerUsers:
I am running SER 0.9.4 and have just finished reading all the README's of all the modules, but cannot find what I am trying to do.
I want to check all incoming messages to see if the SIP URI in the "From:" field is presently registered. I am using MySQL for registration and authentication. If the SIP URI is the "From:" field is NOT registerd I want to return a "403 Forbidden" message. I know that From: fields can be spoofed, but I want to do this anyway.
Does anyone know of an existing module that can help with this? Or of anyway to do this?
Leo P.
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers