[Freeswitch-users] Message Playback Stops

Anthony Minessale anthony.minessale at gmail.com
Fri Feb 25 01:22:38 MSK 2011


did you bother to try what I suggested with ignore_early_media=true?


On Thu, Feb 24, 2011 at 2:51 PM, Michael Collins <msc at freeswitch.org> wrote:
>
>
> On Wed, Feb 23, 2011 at 7:50 PM, Michael De Lorenzo
> <delorenzodesign at gmail.com> wrote:
>>
>> Is there some place where I can get more detailed log information on
>> this?  I thought that streamFile was a blocking operation (the next
>> statement wouldn't be executed until playback was completed), is that not
>> the case?
>
> In all my usage of streamFile it has been blocking. I would write a very
> simple Lua script that plays a file that is at least several seconds long
> and then put log output before and after the streamFile method is called.
>
>>
>> Is there a difference in terms of performance with Freeswitch for Lua
>> versus SpiderMonkey?
>
> Lua is definitely cleaner, lighter, and faster. There may be more docs on
> using JavaScript but that's only because it was adopted early on in the
> development of FS and there were more people familiar with it. Lua is
> definitely the scripting language of choice when you are calling a script
> from the dialplan.
> -MC
>
>>
>>> Am I misreading the log?
>>>
>>> 2011-02-21 17:23:09.077014 [NOTICE] switch_cpp.cpp:1181 Playing file:
>>> /usr/local/freeswitch/
>>> recordings/messages/16c0f890_c35e33c0_777973.wav
>>> 2011-02-21 17:23:09.077014 [DEBUG] switch_ivr_play_say.c:1186 Codec
>>> Activated L16 at 8000hz 1 channels 20ms
>>> 2011-02-21 17:23:19.417631 [DEBUG] switch_ivr_play_say.c:1515 done
>>> playing file
>>> 2011-02-21 17:23:19.417631 [NOTICE] switch_cpp.cpp:1181 !!!!! Finished
>>> playing the file !!!!!
>>> 2011-02-21 17:23:19.417631 [INFO] switch_cpp.cpp:1181 Was VM detected? no
>>> 2011-02-21 17:23:19.417631 [NOTICE] switch_cpp.cpp:1181 Played the
>>> message at least once and checked for VM, we should be exiting the loop
>>> The messages like "finished playing" are log commands that are only
>>> available in the script after it's answered.
>
> _______________________________________________
> 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
>
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900



More information about the FreeSWITCH-users mailing list