Hi, list!I am currently studying the internals of TTS features in Freeswitch.There is an unclear moment:switch_core_speech_open() is called from several locations, but pointer to session's memory pool is not always passed during the function call, namely:mod_rss.c -- passedconference_member.c -- passedmod_conference.c -- not passedmod_ssml.c -- not passedswitch_ivr_play_say.c -- not passedIs there some rule or reason, that defines in which case pointer should be passed and in which not?
Passing pointer to the memory pool may be convenient way to provide speech handle with information about the session, that uses this handle.This may be useful when emitting log messages or events, that should be fired in context of some active session.
_________________________________________________________________________PS Also, this pointer is always passed to switch_core_asr_open() call.--Denis Fokin
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com
Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com
FreeSWITCH-dev mailing list
FreeSWITCH-dev@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
https://freeswitch.com