Small typo in the above playback; should have been:
                        <action application="playback" data="vlc://http://172.16.36.67:59125/process?INPUT_TYPE=TEXT&INPUT_TEXT=${tts_src_data}&LOCALE=en_US&VOICE=cmu-slt-hsmm&OUTPUT_TYPE=AUDIO&AUDIO=WAVE"/>

If I end the call before .wav finishes, all is good: 200 OK received and channel deleted. So this is happening only if mod_vlc playback finishes playing the .wav file.

Thank you,
Stefan


On Wed, Nov 23, 2016 at 3:55 PM, Anonim Stefan <fanx07@gmail.com> wrote:
Hi,

I'm trying to playback a .wav  using mod_vlc (.wav obtained via maryTTS). Dialplan extension looks like this:
        <extension name="tts">
                <condition field="destination_number" expression="^tts$">
                        <action application="sleep" data="500"/>
                        <action application="answer"/>
                        <action application="sleep" data="1000"/>
                        <action application="log" data="INFO before"/>
                        <action application="log" data="INFO after"/>
                        <action application="hangup"/>
                </condition>
        </extension>

The .wav gets played correctly with [1] Freeswitch log output.

The problem is that after the file ends, the channel never hangup(i.e. show channels won't decrease), even after I end call. Actually, I won't receive 200OK for my BYE, as seen in the attached picture. I am using FreeSWITCH version: 1.6.12-20-b91a0a6~64bit (-20-b91a0a6 64bit).

Is this a bug ?

Thank you,
Stefan

[1] http://pastebin.com/Q364uHvp