[asterisk-dev] Questions about sorcery.
Ron Arts
ron.arts at oneip.nl
Thu Jun 20 17:17:25 CDT 2013
So how would I set that res_sip used my sorcery module 'fuzzbox'?
Like this?
[res_sip_sorcery]
res_sip=fuzzbox
[res_sip_sorcery_cache]
res_sip/cache=res_sip
res_sip=fuzzbox
And would I need to issue a reload command, or would it work on a
'dynamic realtime' basis,
and it would have some 'check and refetch if changed' mechanism?
Thanks,
Ron
On Thu, Jun 20, 2013 at 11:50 PM, Joshua Colp <jcolp at digium.com> wrote:
> 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
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
--
www.oneip.nl
Wattstraat 34
2171 TR Sassenheim
The Netherlands
EU Phone: +31(0) 85 1119126
US Phone: +1 (347) 766-2787
Disclaimer
More information about the asterisk-dev
mailing list