[Freeswitch-users] How to play file into session not endlessly?

Борисов, Дмитрий / Dmitriy Borisov bordmi at rarus.ru
Tue Feb 24 00:13:03 MSK 2015


No-no-no, session:playAndGetDigits don`t work with DTMF in the time of
playing.

session:setInputCallback + session:streamFile solves my problem. A little
bad thing: I couldn`t send a parameters to callback, but this is not very
bad for me.

2015-02-20 1:29 GMT+03:00 Bote Man <bote_radio at botecomm.com>:

> It is possible that play_and_get_digits will do what you wish.
>
>
>
> https://freeswitch.org/confluence/display/FREESWITCH/play+and+get+digits
>
>
>
> Bote
>
>
>
>
>
> *From:* Dmitriy Borisov
> *Sent:* Thursday, 19 February, 2015 10:50
> *Subject:* [Freeswitch-users] How to play file into session not endlessly?
>
>
>
> I have next task: play sound file list to session only once. Callee must
> to control session by DTMF. Session must to hangup when sound file list are
> played if no keys a pressed by callee.
>
>
>
> Session is created and controlled by Lua.
>
>
>
> How?
>
>
>
> --
>
> with best regards,
>
> Dmitriy Borisov
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 
with best regards,
Dmitriy Borisov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150224/03e557e5/attachment.html 


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