Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Waiting for playing a file as early media


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
helmut.kuper at ewetel.de
Guest





PostPosted: Wed Mar 11, 2009 3:18 am    Post subject: [Freeswitch-users] Waiting for playing a file as early media Reply with quote

Hello,

I'm looking for a way to play a file exactly once in early media state
of a call and then do e.g. a 302 reply. When I try it via ring_ready and
ringback The playback immediately stops, when I send a respond.

regards
Helmut


_______________________________________________
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
Back to top
mike at jerris.com
Guest





PostPosted: Wed Mar 11, 2009 6:41 am    Post subject: [Freeswitch-users] Waiting for playing a file as early media Reply with quote

If your actually playing back a file (that blocks) it should work
fine. Ringback goes in the background so it doesn't wait for it to
"finish" before it does the ringback

Mike

On Mar 11, 2009, at 4:07 AM, Helmut Kuper wrote:

Quote:
Hello,

I'm looking for a way to play a file exactly once in early media state
of a call and then do e.g. a 302 reply. When I try it via ring_ready
and
ringback The playback immediately stops, when I send a respond.

regards
Helmut


_______________________________________________
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


_______________________________________________
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
Back to top
helmut.kuper at ewetel.de
Guest





PostPosted: Wed Mar 11, 2009 7:34 am    Post subject: [Freeswitch-users] Waiting for playing a file as early media Reply with quote

Hi Mike,

Thank you!

regards
Helmut


On 11.03.2009 12:36, Michael Jerris wrote:
Quote:
If your actually playing back a file (that blocks) it should work
fine. Ringback goes in the background so it doesn't wait for it to
"finish" before it does the ringback


_______________________________________________
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
Back to top
helmut.kuper at ewetel.de
Guest





PostPosted: Wed Mar 11, 2009 8:38 am    Post subject: [Freeswitch-users] Waiting for playing a file as early media Reply with quote

Hi again,

it works good. Can I assign a sleep to playback somehow to avoid loose
of phrases at the beginning?

regards
Helmut

On 11.03.2009 13:22, Helmut Kuper wrote:
Quote:
Hi Mike,

Thank you!

regards
Helmut


On 11.03.2009 12:36, Michael Jerris wrote:

Quote:
If your actually playing back a file (that blocks) it should work
fine. Ringback goes in the background so it doesn't wait for it to
"finish" before it does the ringback

_______________________________________________
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





_______________________________________________
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
Back to top
msc at freeswitch.org
Guest





PostPosted: Wed Mar 11, 2009 10:51 am    Post subject: [Freeswitch-users] Waiting for playing a file as early media Reply with quote

Quote:
it works good. Can I assign a sleep to playback somehow to avoid loose
of phrases at the beginning?

Are you playing just a single file? You can use the phrase macros to
create a pause at the beginning of your playback. Or you can cheat and
prepend a few hundred (or thousand) milliseconds of silence at the
beginning of your sound file. Smile

-MC

_______________________________________________
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
Back to top
helmut.kuper at ewetel.de
Guest





PostPosted: Wed Mar 11, 2009 11:47 am    Post subject: [Freeswitch-users] Waiting for playing a file as early media Reply with quote

Hi Mike,

yes, it's just one single file. I had the same idea to cheat a bit, but
a dynamic solution is better ... will test the phrase macros.

thx for the hint!

regards
helmut


On 11.03.2009 16:40, Michael Collins wrote:
Quote:
Quote:
it works good. Can I assign a sleep to playback somehow to avoid loose
of phrases at the beginning?

Are you playing just a single file? You can use the phrase macros to
create a pause at the beginning of your playback. Or you can cheat and
prepend a few hundred (or thousand) milliseconds of silence at the
beginning of your sound file. Smile

__


_______________________________________________
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services