Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] JavaScript session Transfer


 
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: Wed May 20, 2009 10:46 am    Post subject: [Freeswitch-users] JavaScript session Transfer Reply with quote

Hi,

I have an issue in transfer the call through JavaScript session.

In JavaScript Session i have dialed 2 numbers

One is mobile number and another one is extension number

I want both the call to transfer in the conference room using JavaScript session

Whether transfer is possible in JavaScript session . If possible means how?

Can any one assist me to solve above process.

Thanks in advance.
--
Warm Regards,
N.Baskar

Back to top
chris at maxpowersoft.com
Guest





PostPosted: Wed May 20, 2009 11:03 am    Post subject: [Freeswitch-users] JavaScript session Transfer Reply with quote

Hi N.Baskar,
Create an extension mapping in your dialplan for your conference room as follows: (make sure this is accessible for both your local extensions and your public numbers)

<extension name="TestConf">
<condition field="destination_number" expression="^testConf(\d+)$">
<action application="info"/> <!-- debug information in the console.. -->
<action application="conference" data="$1@default"/>
</condition>
</extension>

Within your JavaScript code do something like this:

var conferenceRoomID = "666";
var trans = "testConf"+conferenceRoomID;
session.execute("transfer", trans);

That should do it.

Regards,
Chris


Baskar wrote:
Quote:
Hi,

I have an issue in transfer the call through JavaScript session.

In JavaScript Session i have dialed 2 numbers

One is mobile number and another one is extension number

I want both the call to transfer in the conference room using JavaScript session

Whether transfer is possible in JavaScript session . If possible means how?

Can any one assist me to solve above process.

Thanks in advance.
--
Warm Regards,
N.Baskar

Quote:


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