[Freeswitch-users] mod_vlc playback hangup issue

Anonim Stefan fanx07 at gmail.com
Wed Nov 23 17:07:48 MSK 2016


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 at 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="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
> <http://172.16.36.67:59125/process?INPUT_TYPE=TEXT&INPUT_TEXT=$%7Btts_src_data%7D&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/c22ee10b/attachment.html 


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