[sr-dev] [kamailio/kamailio] Providing dp_reload function to the cfg (#667)

Olle E. Johansson notifications at github.com
Fri Jun 10 12:03:13 CEST 2016


No it doesn't. 
```
/*
 * RPC command to reload dispatcher destination sets
 */
static void dispatcher_rpc_reload(rpc_t* rpc, void* ctx)
{
        if(!ds_db_url.s) {
                if (ds_load_list(dslistfile)!=0) {
                        rpc->fault(ctx, 500, "Reload Failed");
                        return;
                }
        } else {
                if(ds_reload_db()<0) {
                        rpc->fault(ctx, 500, "Reload Failed");
                        return;
                }
        }
        return;
}
```
>From dispatcher.c - notice the reload from table?

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/667#issuecomment-225143980
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20160610/96e05d31/attachment.html>


More information about the sr-dev mailing list