[Freeswitch-users] how to disable sending early media ?
Peter Olsson
peter.olsson at visionutveckling.se
Sat Jun 9 15:35:27 MSD 2012
Nope. Early media means "bring up media as soon as possible (before the call is answered)", so that's the whole idea. If you don't have early media, no media will be setup until the call has been answered, so it's not possible to play a file.
/Peter
________________________________
Från: freeswitch-users-bounces at lists.freeswitch.org [freeswitch-users-bounces at lists.freeswitch.org] för Samira Mh [saami_mh at ymail.com]
Skickat: den 9 juni 2012 13:20
Till: FreeSWITCH Users Help
Ämne: Re: [Freeswitch-users] how to disable sending early media ?
but is there any way to "no early media " but playback before answer?
________________________________
From: Peter Olsson <peter.olsson at visionutveckling.se>
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Sent: Saturday, June 9, 2012 3:40 PM
Subject: Re: [Freeswitch-users] how to disable sending early media ?
Playing wav before answer IS early media.
So - no early media, no playback before answer.
/Peter
________________________________
Från: freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org> [freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org>] för Samira Mh [saami_mh at ymail.com<mailto:saami_mh at ymail.com>]
Skickat: den 9 juni 2012 12:17
Till: FreeSWITCH Users Help
Ämne: Re: [Freeswitch-users] how to disable sending early media ?
whaaaaat?
i have checked with alot of files but it coudn't work
________________________________
From: M.Emran <monemran at gmail.com<mailto:monemran at gmail.com>>
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org<mailto:freeswitch-users at lists.freeswitch.org>>
Sent: Saturday, June 9, 2012 2:29 PM
Subject: Re: [Freeswitch-users] how to disable sending early media ?
it seems ur wav file has an issue.it<http://issue.it> must be played.
On Sat, Jun 9, 2012 at 3:49 PM, Samira Mh <saami_mh at ymail.com<mailto:saami_mh at ymail.com><mailto:saami_mh at ymail.com<mailto:saami_mh at ymail.com>>> wrote:
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<mailto:monemran at gmail.com><mailto:monemran at gmail.com<mailto:monemran at gmail.com>>>
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org<mailto:freeswitch-users at lists.freeswitch.org><mailto:freeswitch-users at lists.freeswitch.org<mailto:freeswitch-users at lists.freeswitch.org>>>
Cc: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org<mailto:freeswitch-users at lists.freeswitch.org><mailto:freeswitch-users at lists.freeswitch.org<mailto: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<mailto:saami_mh at ymail.com><mailto:saami_mh at ymail.com<mailto: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<mailto:peter.olsson at visionutveckling.se><mailto:peter.olsson at visionutveckling.se<mailto:peter.olsson at visionutveckling.se>>>
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org<mailto:freeswitch-users at lists.freeswitch.org><mailto:freeswitch-users at lists.freeswitch.org<mailto: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><mailto:saami_mh at ymail.com<mailto:saami_mh at ymail.com>><mailto:saami_mh at ymail.com<mailto:saami_mh at ymail.com><mailto: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
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto:consulting at freeswitch.org><mailto:consulting at freeswitch.org<mailto:consulting at freeswitch.org>><mailto:consulting at freeswitch.org<mailto:consulting at freeswitch.org><mailto: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><mailto:FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>><mailto:FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org><mailto: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
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto:consulting at freeswitch.org><mailto: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><mailto: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
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto:consulting at freeswitch.org><mailto: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><mailto: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
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto:consulting at freeswitch.org><mailto: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><mailto: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
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto:consulting at freeswitch.org><mailto: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><mailto: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
--
Regards
----------
M Emran
Chief Executive Officer
E-SOFT BILLING (pvt). LTD.
HB Tower(3rd Floor)
House No # 1/A
Road No # 23
Gulshan # 1
Dhaka-1212, Bangladesh.
Phone: +880-2-8822312,+880-2-8822384
Fax : +880-2-8822254
E-Mail: info at e-softbilling.com<mailto:info at e-softbilling.com><mailto:info at e-softbilling.com<mailto:info at e-softbilling.com>>
Web: www.e-softbilling.com<http://www.e-softbilling.com/>
www.isoftswitch.com<http://www.isoftswitch.com/>
www.howtonix.com<http://www.howtonix.com/>
www.sipmobiledialer.com<http://www.sipmobiledialer.com/>
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto:consulting at freeswitch.org><mailto: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><mailto: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:4fd321b532761506015947!
_________________________________________________________________________
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:4fd32ff132761490160504!
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list