[Freeswitch-dev] Share data between modules

Mitch Capper mitch.capper at gmail.com
Wed Oct 17 04:33:54 MSD 2012


yes mod_hash you would just use a common realm between the modules,
but no its just for strings.

~Mitch

On Tue, Oct 16, 2012 at 10:48 AM, Juan Antonio Ibañez Santorum
<juanito1982 at gmail.com> wrote:
> Do you refer to mod_hash? How can I call its API functions from another
> module? Is it possible to save C data structures, not only stirng values?
>
> Regards
>
>
> 2012/10/16 Mitch Capper <mitch.capper at gmail.com>
>>
>> Check out the hash api it can do exactly what you want, suggest
>> prefixing all your entries to keep it clean and avoid conflicts.
>>
>> ~Mitch
>>
>> On Tue, Oct 16, 2012 at 8:45 AM, Juan Antonio Ibañez Santorum
>> <juanito1982 at gmail.com> wrote:
>> > Hello,
>> >
>> >    Is there any way to share data (as a hash) between modules? I can see
>> > switch_core_set_variable() function but I think it cannot be used for
>> > that
>> > purpose.
>> >
>> > Regards
>> >
>> >
>> > _________________________________________________________________________
>> > Professional FreeSWITCH Consulting Services:
>> > consulting at freeswitch.org
>> > http://www.freeswitchsolutions.com
>> >
>> > 
>> > 
>> >
>> > Official FreeSWITCH Sites
>> > http://www.freeswitch.org
>> > http://wiki.freeswitch.org
>> > http://www.cluecon.com
>> >
>> > FreeSWITCH-dev mailing list
>> > FreeSWITCH-dev at lists.freeswitch.org
>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>> > http://www.freeswitch.org
>> >
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-dev mailing list
>> FreeSWITCH-dev at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>> http://www.freeswitch.org
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-dev mailing list