Hi everyone,
Again stuck at the dispatcher module.Do anyone happen to have a
working config for kamailio with dispatcher list from mysql database ?
if not can someone please guide me on this ?
Do i need to pass module parameters for the column and the table names ?
I have the following config :
loadmodule "dispatcher.so"
if(uri=~"^sip:1[2-9][0-9]{9}@")
{
if(is_user_in("credentials","longdistance"))
{
#route(PSTN);
#exit;
ds_select_dst("1","8");
forward();
}
else{
sl_send_reply("403","No Permissions for Long
Distance calls");
exit;
};
};
--
Thank You
Amit Nepal