<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi N.Baskar,<br>
Create an extension mapping in your dialplan for your conference room
as follows:&nbsp; (make sure this is accessible for both your local
extensions and your public numbers)<br>
<br>
&lt;extension name="TestConf"&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;condition field="destination_number"
expression="^testConf(\d+)$"&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="info"/&gt;&nbsp; &lt;!-- debug
information in the console.. --&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="conference" data="$1@default"/&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/condition&gt;<br>
&lt;/extension&gt;<br>
<br>
Within your JavaScript code do something like this:<br>
<br>
var conferenceRoomID = "666";<br>
var trans = "testConf"+conferenceRoomID;<br>
session.execute("transfer", trans);<br>
<br>
That should do it.<br>
<br>
Regards,<br>
Chris<br>
<br>
<b></b><br>
Baskar wrote:
<blockquote
 cite="mid:d0640d380905200840i3eb085adic7a011e6d133702c@mail.gmail.com"
 type="cite"><b style="color: rgb(255, 0, 0);">Hi,<br>
  <br>
I have an issue in transfer the call through JavaScript session.<br>
  <br>
  <span>In JavaScript Session i have dialed 2 numbers<br>
  <br>
One is mobile number and another one is extension number <br>
  <br>
I want both the call to transfer in the conference room using
JavaScript session<br>
  <br>
Whether transfer is possible in JavaScript session . If possible means
how? <br>
  <br>
Can any one assist me to solve above process.<br>
  <br>
Thanks in advance.<br clear="all">
  </span><br>
-- <br>
Warm Regards,<br>
N.Baskar<br>
  <br>
  </b>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Freeswitch-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
  </pre>
</blockquote>
</body>
</html>