[asterisk-dev] Questions about sorcery.
Joshua Colp
jcolp at digium.com
Thu Jun 20 16:50:54 CDT 2013
Ron Arts wrote:
> Hello,
>
> I found main/sorcery and res/res_sorcery_* and it looks like it could be used to
> implement a realtime replacement. Is that the intention? Are there future plans
> for it, like putting things like res_sip.conf and other stuff there?
> Can someone
> tell a bit more about it.
The new SIP work is already written to take advantage of it. Anything
can be stored anywhere, provided a module has been written to do the
interaction. Right now there exists modules which provide interaction
with configuration files, astdb, and existing realtime modules.
From the scope of a consumer of sorcery it has no idea that any of
those are in use, it's the same defined interface for all, unlike
realtime where you had to explicitly code in multiple ways.
>
> I've always wanted to allow asterisk to grab into some object store directly
> instead of loading internal structures, and reloading them.
> As far as I know dynamic realtime could be used for that, but had limitations
> wrt voicemail boxes right?
>
> Is this something sorcery could be used for? Because if it is, I can write
> my own driver for it.
That's pretty much what sorcery is. You can store anything sorcery
capable where and how you want with sane defaults provided.
--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com & www.asterisk.org
More information about the asterisk-dev
mailing list