[Freeswitch-dev] Question about mod_limit

Anatoliy Kounitskiy anatoliy at kounitskiy.com
Mon Aug 31 02:15:10 PDT 2009


I have question about mod_limit: is there a reason to have difference
between the api applications and the dialplan? I mean when you use db
function from the cli you can use insert/select/delete but when you
use it from the dialplan you can only use insert/delete.

#define DB_USAGE "[insert|delete]/<realm>/<key>/<val>"
#define DB_DESC "save data"

SWITCH_STANDARD_APP(db_function)

but in the
SWITCH_STANDARD_API(db_api_function)
i have three options insert,delete and select

What i try to accomplish is to be able to insert values from the
dialplan and after that to be able to use them ( to select and use the
result) from another extension.

Thank you in advanced,
-- 
Anatoliy Kounitskiy
-------------------------
E-mail: anatoliy at kounitskiy.com
Mobile: +359898913540



More information about the FreeSWITCH-dev mailing list