<div dir="ltr">when you use the bind meta app to the att_xfer put the first guy on hold and call the 2nd guy then press 0 to make it into a 3 way call.<br><br><br><div class="gmail_quote">On Tue, Aug 26, 2008 at 11:40 PM, Lee JJ <span dir="ltr">&lt;<a href="mailto:jengjr@gmail.com">jengjr@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello :<br>
<br>
Here is the testing dialplan.<br>
<br>
&lt;extension name=&quot;070_gogotalk&quot;&gt;<br>
 &nbsp; &nbsp; &nbsp;&lt;condition field=&quot;destination_number&quot; expression=&quot;^(070[0-9].*)&quot;&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;!-- action application=&quot;bind_meta_app&quot; data=&quot;3 a a<br>
execute_extension::att_xfer XML inter2&quot;/ --&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;bind_meta_app&quot; data=&quot;3 a a<br>
javascript::calltest.js&quot; /&gt;<br>
 &nbsp; &nbsp; &nbsp;&lt;action application=&quot;bridge&quot; data=&quot;sofia/gateway/<a href="http://sip.ttn.net/$1" target="_blank">sip.ttn.net/$1</a>&quot;/&gt;<br>
 &nbsp; &nbsp; &nbsp;&lt;/condition&gt;<br>
&lt;/extension&gt;<br>
<br>
While caller call out a 070xxx user , during talk caller press &quot;*3&quot; ,<br>
FW execute calltest.js<br>
<br>
### calltest.js ###<br>
// Create new_session<br>
n_sess = new Session() ;<br>
res = n_sess.originate(n_sess, &quot;sofia/inter2/1527%<a href="http://210.243.126.72" target="_blank">210.243.126.72</a>&quot; );<br>
<br>
// wait for it ... answer<br>
n_sess.waitForAnswer(10000);<br>
<br>
// IF everybody is ready, then bridge our current session &amp; the new_session<br>
//session.ready() &amp;&amp; new.session ready<br>
if ( n_sess.ready() ) {<br>
 &nbsp; &nbsp;//bridge(session, n_sess);<br>
 &nbsp; &nbsp;//session.execute(&quot;threeway&quot;, sv_uuid ) ;<br>
 &nbsp; &nbsp;//n_sess.execute(&quot;threeway&quot;, n_sess.uuid ) ;<br>
 &nbsp; &nbsp;session.execute(&quot;conference&quot;, &quot;3001@default&quot; ) ;<br>
 &nbsp; &nbsp;n_sess.execute(&quot;conference&quot;, &nbsp;&quot;3001@default&quot; ) ;<br>
}<br>
<br>
No matter I tried &quot;bridge&quot; , &quot;threeway&quot; or conference , there always<br>
one leg hangup.<br>
<br>
2008-08-27 12:22:37 [NOTICE] switch_channel.c:534<br>
switch_channel_set_name() New Channel sofia/inter2/1527 [5<br>
 &nbsp; &nbsp;fe74280-953d-4aba-a738-f0b8e01bfc60]<br>
2008-08-27 12:22:38 [NOTICE] sofia.c:2167 sofia_handle_sip_i_state()<br>
Ring-Ready sofia/inter2/1527!<br>
2008-08-27 12:22:41 [NOTICE] sofia.c:2491 sofia_handle_sip_i_state()<br>
Channel [sofia/inter2/1527] has been answered<br>
2008-08-27 12:23:06 [NOTICE] sofia.c:2545 sofia_handle_sip_i_state()<br>
Hangup sofia/external/0702058899 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]<br>
<br>
How to put all 3 legs into a conference room ? Should I have to<br>
specify each uuid ?<br>
<br>
Thanks !<br>
<br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>
</div>