<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"><<a href="mailto:jengjr@gmail.com">jengjr@gmail.com</a>></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>
<extension name="070_gogotalk"><br>
<condition field="destination_number" expression="^(070[0-9].*)"><br>
<!-- action application="bind_meta_app" data="3 a a<br>
execute_extension::att_xfer XML inter2"/ --><br>
<action application="bind_meta_app" data="3 a a<br>
javascript::calltest.js" /><br>
<action application="bridge" data="sofia/gateway/<a href="http://sip.ttn.net/$1" target="_blank">sip.ttn.net/$1</a>"/><br>
</condition><br>
</extension><br>
<br>
While caller call out a 070xxx user , during talk caller press "*3" ,<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, "sofia/inter2/1527%<a href="http://210.243.126.72" target="_blank">210.243.126.72</a>" );<br>
<br>
// wait for it ... answer<br>
n_sess.waitForAnswer(10000);<br>
<br>
// IF everybody is ready, then bridge our current session & the new_session<br>
//session.ready() && new.session ready<br>
if ( n_sess.ready() ) {<br>
//bridge(session, n_sess);<br>
//session.execute("threeway", sv_uuid ) ;<br>
//n_sess.execute("threeway", n_sess.uuid ) ;<br>
session.execute("conference", "3001@default" ) ;<br>
n_sess.execute("conference", "3001@default" ) ;<br>
}<br>
<br>
No matter I tried "bridge" , "threeway" 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>
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>