Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] Javascript, conference, play and say


 
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: Wed Nov 12, 2008 1:18 pm    Post subject: [Freeswitch-users] Javascript, conference, play and say Reply with quote

Hi all,

I'm implementing the following in javascript:
1. One person, the consumer, is in a conference.
2. I ring the next person, the merchant (mSession).
3. Before dropping the merchant into the conference I want to:
3a. Play a jingle (mSession.streamFile) and
say (mSession.speak) something to the merchant
3b. Play a jingle to the consumer:
apiExecute("conference", saymember)
4. Drop the merchant in the conference.

The calls to mSession return after play and say are finished, whereas
apiExecute returns immediately.

Ideally I like 3a. and 3b. to be finished at the same time, i.e. do them
in parallel instead of sequential.

Can anyone see an alternative way to achieve this?

I cannot use apiExecute on the merchant: I don't see which command I
could use.
I cannot use session on the consumer, I tried.

Cheers, 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