Hi all,
I would like to know, how can i validate a field-hf(realm) of the request SIP, in case Register, with a column(realm/domain) of the table, which was created by me, in the mysql...
will be that by avp ? or i will have of the create a module, for this...?
Any advices welcome! cheers, Marcio
Hello,
I would like to know, how can i validate a field-hf(realm) of the request SIP, in case Register, with a column(realm/domain) of the table, which was created by me, in the mysql...
will be that by avp ? or i will have of the create a module, for this...?
If you want to be "domain aware", set the modules paramater "use_domain" to 1 (for those domains that accept the parameter).
You can also use avp_db_query() function to get values from a database.
Regards.
Saludos JesusR.
------------------------------------ Jesus Rodriguez VozTelecom Sistemas, S.L. jesusr@voztele.com http://www.voztele.com Tel. 902360305 -------------------------------------