hi, 
thanks alot for your reply;
but i suue the following command in the lua script
session:preAnswer(); 
 and again got the below error and .wav file coudn't play 
switch_cpp.cpp:617 Sending early media


From: Mohammad Emran <monemran@gmail.com>
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Cc: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Sent: Saturday, June 9, 2012 2:10 PM
Subject: Re: [Freeswitch-users] how to disable sending early media ?

Use pre_answer instead of answer.


Sent from my iPhone

On Jun 9, 2012, at 3:13 PM, Samira Mh <saami_mh@ymail.com> wrote:

hi thanks alot for your reply;
i don't want to use command "session:answer" 
and want to only play .wav files in lua 
i don't want get sending early media  


From: Peter Olsson <peter.olsson@visionutveckling.se>
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Sent: Saturday, June 9, 2012 1:30 PM
Subject: Re: [Freeswitch-users] how to disable sending early media ?

I guess you need to decide if you want early media or not... Playback before answer needs early media.


/Peter

9 jun 2012 kl. 10:47 skrev "Samira Mh" <saami_mh@ymail.com<mailto:saami_mh@ymail.com>>:


<action application="set" data="ignore_early_media=true"/>

i have set the above channel variable but when i am going to playback .wav file using lua scripts without issue the seeeion:answer ; i got error :sending early media

!DSPAM:4fd30a8732761348221455!
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org<mailto:consulting@freeswitch.org>
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

Join Us At ClueCon - Aug 7-9, 2012

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


!DSPAM:4fd30a8732761348221455!

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

Join Us At ClueCon - Aug 7-9, 2012

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

Join Us At ClueCon - Aug 7-9, 2012

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

Join Us At ClueCon - Aug 7-9, 2012

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org