SWITCH_ADD_API(commands_api_interface,"in_group","determine if a user is in a group",in_group_function,"<user>[@<domain>] <group_name>");
SWITCH_ADD_API(commands_api_interface,"is_lan_addr","see if an ip is a lan addr",lan_addr_function,"<ip>");
SWITCH_ADD_API(commands_api_interface,"limit_usage","Gets the usage count of a limited resource",limit_usage_function,"<backend> <realm> <id>");
SWITCH_ADD_API(commands_api_interface,"limit_hash_usage","Deprecated: gets the usage count of a limited resource",limit_hash_usage_function,"<realm> <id>");
SWITCH_ADD_API(commands_api_interface,"limit_status","Gets the status of a limit backend",limit_status_function,"<backend>");
SWITCH_ADD_API(commands_api_interface,"limit_reset","Reset the counters of a limit backend",limit_reset_function,"<backend>");
switch_log_printf(SWITCH_CHANNEL_LOG,SWITCH_LOG_WARNING,"Unknown backend '%s'. To maintain backwards compatability, falling back on db backend and shifting argumens. Either update your diaplan to include the backend, fix the typo, or load the appropriate limit implementation module.",backend);