JavaScript session conference
Hi, In JavaScript session i have one question: Step1: I have written one small JavaScript program first dial the one mobile number and one extension example: 9841798874====>1001 Step2: In that same JavaScript itself i want to transfer both the mobile number and extension into conference room 3001 Call Flow JavaScript session == (Mobile Number (9841799874) ==calls ==Extenson(1001)==calls ==Conference Room(3001)) *Javascript:* session = new Session(); session.originate(session, "sofia/default/sip:9841799874@192.168.1.135:5066 "); session.execute("bridge", "sofia/internal/1001@192.168.1.77"); session.execute("transfer", 9841799874); How can i use this ??? Session.execute("conference", conf_nr + "@default+" + memberflags); I want to transfer both the Extension and mobile Number in conference room in JavaScript session. How can i add it can any one assist me to solve this problem. Thanks in advance. -- Warm Regards, N.Baskar
While this doesn't explain how to do it in Javascript, it will probably give you an idea: http://wiki.freeswitch.org/wiki/Conferencing_and_Intercom Best Regards, Karl J. Vesterling kjv@ken-ton.com 202-461-3231 x0 On May 14, 2009, at 5:42 AM, Baskar wrote:
Hi,
In JavaScript session i have one question:
Step1: I have written one small JavaScript program first dial the one mobile number and one extension example: 9841798874====>1001
Step2: In that same JavaScript itself i want to transfer both the mobile number and extension into conference room 3001
Call Flow
JavaScript session == (Mobile Number (9841799874) ==calls ==Extenson(1001)==calls ==Conference Room(3001))
Javascript:
session = new Session(); session.originate(session, "sofia/default/sip:9841799874@192.168.1.135:5066 "); session.execute("bridge", "sofia/internal/1001@192.168.1.77"); session.execute("transfer", 9841799874);
How can i use this ???
Session.execute("conference", conf_nr + "@default+" + memberflags);
I want to transfer both the Extension and mobile Number in conference room in JavaScript session. How can i add it can any one assist me to solve this problem.
Thanks in advance. -- Warm Regards, N.Baskar
_______________________________________________ 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
Hi, Karl Vesterling Thanks for the reply But i need the above process to be done through javascript session. Can some one assist me to solve this problem. Thanks in advance. -- Warm Regards, N.Baskar
Can you do each operation sequentially? I mean, is it a requirement that the two parties be bridged together prior to going into the conference room? I'm curious about the sequence of the calls. Also, what is the big picture of this application? One caller calls from a mobile phone into extension 1001 and if 1001 answers then both parties get put into conference room 3001? -MC On Thu, May 14, 2009 at 6:55 AM, Baskar <yudha2008@gmail.com> wrote:
Hi, Karl Vesterling Thanks for the reply But i need the above process to be done through javascript session. Can some one assist me to solve this problem. Thanks in advance. -- Warm Regards, N.Baskar
_______________________________________________ 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
*Hi, Michael Collins Step1: I get Mobile Number and Extension Number from Database and pass those value to JavaScript. Step2: JavaScript will dial the both Mobile and Extension Number. After some time agent want to transfer the call to conference room. Step3: Then agent will dial another Mobile Number and transfer the call into same conference room. I want the call Flow to work in this sequence 9841799874==>1001 Transfer both the call in to conference Room 3001 == 9841799874 + 1002 Agent call another Mobile Number 9841799852 Transfer the call in to same Conference Room 3001=== 9841799852 + 9841799874 + 1002 all the 3 Number should be in conference 3001.* *Can you assist me to do this above process through JavaScript Thanks in advance ** -- Warm Regards, N.Baskar *
On Fri, May 15, 2009 at 3:27 AM, Baskar <yudha2008@gmail.com> wrote:
*Hi,
Michael Collins
Step1: I get Mobile Number and Extension Number from Database and pass those value to JavaScript. *
Who or what needs to get the mobile number and extension from a database? What happens that leads to this process?
* Step2: JavaScript will dial the both Mobile and Extension Number. After some time agent want to transfer the call to conference room. *
This is the first time I've heard mention of an agent. Sorry if I missed it earlier. Who is the agent and what does he/she actually do?
* Step3: Then agent will dial another Mobile Number and transfer the call into same conference room. *
What kind of telephone device will the agent be using? Hard phone, softphone, etc.?
* I want the call Flow to work in this sequence
9841799874==>1001*
Who is extension 1001 in this scenario?
*
Transfer both the call in to conference Room 3001 == 9841799874 + 1002 *
Who is extension 1002 in this scenario?
* Agent call another Mobile Number
9841799852
Transfer the call in to same Conference Room 3001=== 9841799852 + 9841799874 + 1002 all the 3 Number should be in conference 3001.*
*Can you assist me to do this above process through JavaScript
Thanks in advance ** -- Warm Regards, N.Baskar *
_______________________________________________ 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
Hi, I have designed a CRM in that caller will login and he will wait for the call. when the campaign start it get no from database and dial the number and bridge to the caller.
*Step1: I get Mobile Number and Extension Number from Database and pass
those value to JavaScript. *
Who or what needs to get the mobile number and extension from a database? What happens that leads to this process?
it will dial the Mobile number. Then caller will wait for the call once the Mobile no call is established caller will get the call and bridge the call when answer with is softphone.
* Step2: JavaScript will dial the both Mobile and Extension Number. After some time agent want to transfer the call to conference room. *
This is the first time I've heard mention of an agent. Sorry if I missed it earlier. Who is the agent and what does he/she actually do?
Agent is nothing but the caller. He/she login and wait for the call
* Step3: Then agent will dial another Mobile Number and transfer the call into same conference room. *
What kind of telephone device will the agent be using? Hard phone, softphone, etc.?
caller use softphone X-lite and SJPhone.
* I want the call Flow to work in this sequence
9841799874==>1001*
Who is extension 1001 in this scenario?
1001 is the caller who login and wait for the call
*
Transfer both the call in to conference Room 3001 == 9841799874 + 1002 *
Who is extension 1002 in this scenario?
sorry it is not 1002 it is 1001 i have give wrong.
*
Agent call another Mobile Number
9841799852
Transfer the call in to same Conference Room 3001=== 9841799852 + 9841799874 + 1002 all the 3 Number should be in conference 3001.*
*Can you assist me to do this above process through JavaScript
Thanks in advance ** -- Warm Regards, N.Baskar *
_______________________________________________ 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
-- Warm Regards, N.Baskar
participants (3)
-
Baskar
-
Karl Vesterling
-
Michael Collins