<div dir="ltr">Hi, list!<div><br></div><div>I am currently studying the internals of TTS features in Freeswitch.</div><div>There is an unclear moment:</div><div>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:</div><div>mod_rss.c -- passed</div><div>conference_member.c -- passed</div><div>mod_conference.c -- not passed</div><div>mod_ssml.c -- not passed</div><div>switch_ivr_play_say.c -- not passed<br clear="all"><div><br></div><div>Is there some rule or reason, that defines in which case pointer should be passed and in which not?</div><div><br></div><div>Passing pointer to the memory pool may be convenient way to provide speech handle with information about the session, that uses this handle.</div><div>This may be useful when emitting log messages or events, that should be fired in context of some active session. </div><div><br></div><div>PS Also, this pointer is always passed to switch_core_asr_open() call.</div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Denis Fokin<br></div></div></div>