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 *
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:
*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
* ------------------------------------------------------------------------
_______________________________________________ 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
participants (2)
-
Baskar
-
Chris Danielson