Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] JavaScript: session.streamFile VS confere


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
birgit at westhawk.co.uk
Guest





PostPosted: Thu Nov 13, 2008 1:32 pm    Post subject: [Freeswitch-users] JavaScript: session.streamFile VS confere Reply with quote

Hi,

I would like to use session.streamFile(file) on a session that is
"dropped" into a conference, so I know exactly when the file finished
playing.
However, this doesn't work. As soon as the channel is part of a
conference, session.streamFile(file) seems to block or at least, I
cannot hear any sound.
Is this correct behaviour?

apiExecute("conference", "<confname> play <file_path> [<member_id>]")
works, but then I don't know when the file finished playing.


The reason why I thought that session.streamFile(file) was likely to
work is because session.execute("record_session", recordfile); work as
well as apiExecute("conference", "<confname> record file");


Thanks, Birgit

--
-- Birgit Arkesteijn, birgit@westhawk.co.uk,
-- Westhawk Ltd, Albion Wharf, 19 Albion Street, Manchester M1 5LN, UK
-- Company no: 1769350
-- Registered Office:
-- 15 London Road, Stockton Heath, Warrington WA4 6SJ. UK.
-- tel.: +44 (0)161 237 0660
-- <URL: http://www.westhawk.co.uk>

_______________________________________________
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
anthony.minessale at g...
Guest





PostPosted: Thu Nov 13, 2008 2:40 pm    Post subject: [Freeswitch-users] JavaScript: session.streamFile VS confere Reply with quote

The playback of the file is interwoven into the muxing code of the conference so it's not easy to make it so you can block until it stops playing.


On Thu, Nov 13, 2008 at 12:25 PM, Birgit Arkesteijn <birgit@westhawk.co.uk (birgit@westhawk.co.uk)> wrote:
Quote:
Hi,

I would like to use session.streamFile(file) on a session that is
"dropped" into a conference, so I know exactly when the file finished
playing.
However, this doesn't work. As soon as the channel is part of a
conference, session.streamFile(file) seems to block or at least, I
cannot hear any sound.
Is this correct behaviour?

apiExecute("conference", "<confname> play <file_path> [<member_id>]")
works, but then I don't know when the file finished playing.


The reason why I thought that session.streamFile(file) was likely to
work is because session.execute("record_session", recordfile); work as
well as apiExecute("conference", "<confname> record file");


Thanks, Birgit

--
-- Birgit Arkesteijn, birgit@westhawk.co.uk (birgit@westhawk.co.uk),
-- Westhawk Ltd, Albion Wharf, 19 Albion Street, Manchester M1 5LN, UK
-- Company no: 1769350
-- Registered Office:
-- 15 London Road, Stockton Heath, Warrington WA4 6SJ. UK.
-- tel.: +44 (0)161 237 0660
-- <URL: http://www.westhawk.co.uk>

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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



--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
birgit at westhawk.co.uk
Guest





PostPosted: Mon Nov 17, 2008 12:35 pm    Post subject: [Freeswitch-users] JavaScript: session.streamFile VS confere Reply with quote

Hi Antony,

Shame. Thanks for your answer.

Cheers, Birgit


On 13/11/08 19:28, Anthony Minessale wrote:
Quote:
The playback of the file is interwoven into the muxing code of the
conference so it's not easy to make it so you can block until it stops
playing.


On Thu, Nov 13, 2008 at 12:25 PM, Birgit Arkesteijn
<birgit@westhawk.co.uk <mailto:birgit@westhawk.co.uk>> wrote:

Hi,

I would like to use session.streamFile(file) on a session that is
"dropped" into a conference, so I know exactly when the file finished
playing.
However, this doesn't work. As soon as the channel is part of a
conference, session.streamFile(file) seems to block or at least, I
cannot hear any sound.
Is this correct behaviour?

apiExecute("conference", "<confname> play <file_path> [<member_id>]")
works, but then I don't know when the file finished playing.


The reason why I thought that session.streamFile(file) was likely to
work is because session.execute("record_session", recordfile); work as
well as apiExecute("conference", "<confname> record file");


Thanks, Birgit

--
-- Birgit Arkesteijn, birgit@westhawk.co.uk,
-- Westhawk Ltd, Albion Wharf, 19 Albion Street, Manchester M1 5LN, UK
-- Company no: 1769350
-- Registered Office:
-- 15 London Road, Stockton Heath, Warrington WA4 6SJ. UK.
-- tel.: +44 (0)161 237 0660
-- <URL: http://www.westhawk.co.uk>

_______________________________________________
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