birgit at westhawk.co.uk Guest
|
Posted: Wed Nov 12, 2008 1:18 pm Post subject: [Freeswitch-users] Javascript, conference, play and say |
|
|
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 |
|