Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] JavaScript session conference


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
yudha2008 at gmail.com
Guest





PostPosted: Thu May 14, 2009 4:44 am    Post subject: [Freeswitch-users] JavaScript session conference Reply with quote

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 (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
Back to top
kjv at ken-ton.com
Guest





PostPosted: Thu May 14, 2009 8:10 am    Post subject: [Freeswitch-users] JavaScript session conference Reply with quote

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 (kjv@ken-ton.com)
202-461-3231 x0






On May 14, 2009, at 5:42 AM, Baskar wrote:
Quote:
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 (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 (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
yudha2008 at gmail.com
Guest





PostPosted: Thu May 14, 2009 9:02 am    Post subject: [Freeswitch-users] JavaScript session conference Reply with quote

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





PostPosted: Thu May 14, 2009 12:04 pm    Post subject: [Freeswitch-users] JavaScript session conference Reply with quote

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 (yudha2008@gmail.com)> wrote:
Quote:
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 (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
yudha2008 at gmail.com
Guest





PostPosted: Fri May 15, 2009 5:27 am    Post subject: [Freeswitch-users] JavaScript session conference Reply with quote

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





PostPosted: Fri May 15, 2009 12:23 pm    Post subject: [Freeswitch-users] JavaScript session conference Reply with quote

On Fri, May 15, 2009 at 3:27 AM, Baskar <yudha2008@gmail.com (yudha2008@gmail.com)> wrote:
Quote:
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?
 

Quote:

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?
 

Quote:

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.?
 
Quote:

I want the call Flow to work in this sequence

9841799874==>1001

Who is extension 1001 in this scenario?
 

Quote:


Transfer both the call in to conference Room 3001 ==  9841799874  +  1002

Who is extension 1002 in this scenario?
 
Quote:

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 (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
yudha2008 at gmail.com
Guest





PostPosted: Sat May 16, 2009 12:32 am    Post subject: [Freeswitch-users] JavaScript session conference Reply with quote

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.
  
Quote:
Quote:
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.
 

Quote:

 

Quote:

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

Quote:

 

Quote:

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.

Quote:

 
Quote:

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


Quote:


Quote:


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. 

Quote:

Quote:

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 (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 (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
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