[Kamailio-Users] How can I validate a field HF of the Request with BD?

Jesus Rodriguez jesusr at voztele.com
Fri Oct 10 23:23:15 CEST 2008


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 at voztele.com
http://www.voztele.com
Tel. 902360305
-------------------------------------








More information about the Users mailing list