[Freeswitch-users] how to disable sending early media ?

Samira Mh saami_mh at ymail.com
Sat Jun 9 13:49:18 MSD 2012


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 at gmail.com>
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org> 
Cc: FreeSWITCH Users Help <freeswitch-users at 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 at 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 at visionutveckling.se>
>To: FreeSWITCH Users Help <freeswitch-users at 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 at ymail.com<mailto:saami_mh at 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 at freeswitch.org<mailto:consulting at freeswitch.org>
>http://www.freeswitchsolutions.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 at lists.freeswitch.org<mailto: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
>
>
>!DSPAM:4fd30a8732761348221455!
>
>_________________________________________________________________________
>Professional FreeSWITCH Consulting Services:
>consulting at freeswitch.org
>http://www.freeswitchsolutions.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 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
>
>
>
_________________________________________________________________________
>Professional FreeSWITCH Consulting Services:
>consulting at freeswitch.org
>http://www.freeswitchsolutions.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 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
>
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.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 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120609/5287ea66/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list