Thanks Morten, that will work nicely from cron :)
On Tue, 2011-10-04 at 08:20 +0200, Morten Isaksen wrote: > You can reload from command line with > > kamctl fifo mt_reload <tree name> > > /Morten > > On Tue, Oct 4, 2011 at 2:07 AM, Skyler <skchopper...@gmail.com> wrote: > > Hi Daniel, > > > > Does mt_reload need to be run upon adding/removing entries in db? If > > so, is there a way to run mt_reload automatically every so often via > > kamailio.cfg? What would I be searching in docs to find an example of > > that? > > > > Cheers, > > Skyler > > > > On Mon, 2011-10-03 at 18:14 +0200, Daniel-Constantin Mierla wrote: > >> Hello, > >> > >> what I use in such case is a combination between mtree and dispatcher. > >> DIDs are matched against mtree and as a result on successful match is > >> the ID to use with dispatcher to find where to relay/redirect it. > >> > >> Cheers, > >> Daniel > >> > >> On 10/3/11 9:23 AM, Skyler wrote: > >> > Hi all, > >> > > >> > I need to setup an inbound DID router for 8 proxies and ~300 DID's. > >> > Very simple, a call comes in from pstn> kamailio looks up DID for exact > >> > match in mysql> returns location> If db result returns noservice > >> > redirect to 1.2.3.4 else remain in call-flow and send to destination. > >> > Having a failure route capability would be nice. > >> > > >> > From what I've read on each of the 4 modules, any could do what I need > >> > though each have their own complexities. I'm still new to kamailio and > >> > hoping to utilize the group here for some advice. I'd like to keep this > >> > as simple as possible then adding/deleting DID's from the db as needed > >> > for routing. > >> > > >> > In your experience which would be the best module to use in order to > >> > achieve my goal? > >> > > >> > TIA, > >> > > >> > Skyler > >> > > >> > > >> > _______________________________________________ > >> > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list > >> > sr-users@lists.sip-router.org > >> > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users > >> > > > > > > _______________________________________________ > > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list > > sr-users@lists.sip-router.org > > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users > > > > > _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users