View previous topic :: View next topic |
Author |
Message |
yudha2008 at gmail.com Guest
|
Posted: Wed May 20, 2009 10:46 am Post subject: [Freeswitch-users] JavaScript session Transfer |
|
|
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
|
Posted: Wed May 20, 2009 11:03 am Post subject: [Freeswitch-users] JavaScript session Transfer |
|
|
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
|
|
|
Back to top |
|
|
|