[Freeswitch-users] mod_vlc playback hangup issue

Anonim Stefan fanx07 at gmail.com
Wed Nov 23 16:55:13 MSK 2016


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="playback" data="shout://
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
"/>
                        <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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161123/ce83e7b0/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FS.png
Type: image/png
Size: 45018 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161123/ce83e7b0/attachment-0001.png 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list