[Freeswitch-users] How to mix 3 way voice ?

Anthony Minessale anthony.minessale at gmail.com
Wed Aug 27 07:18:18 PDT 2008


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.


On Tue, Aug 26, 2008 at 11:40 PM, Lee JJ <jengjr at gmail.com> wrote:

> Hello :
>
> Here is the testing dialplan.
>
> <extension name="070_gogotalk">
>      <condition field="destination_number" expression="^(070[0-9].*)">
>        <!-- action application="bind_meta_app" data="3 a a
> execute_extension::att_xfer XML inter2"/ -->
>        <action application="bind_meta_app" data="3 a a
> javascript::calltest.js" />
>      <action application="bridge" data="sofia/gateway/sip.ttn.net/$1"/>
>      </condition>
> </extension>
>
> While caller call out a 070xxx user , during talk caller press "*3" ,
> FW execute calltest.js
>
> ### calltest.js ###
> // Create new_session
> n_sess = new Session() ;
> res = n_sess.originate(n_sess, "sofia/inter2/1527%210.243.126.72" );
>
> // wait for it ... answer
> n_sess.waitForAnswer(10000);
>
> // IF everybody is ready, then bridge our current session & the new_session
> //session.ready() && new.session ready
> if ( n_sess.ready() ) {
>    //bridge(session, n_sess);
>    //session.execute("threeway", sv_uuid ) ;
>    //n_sess.execute("threeway", n_sess.uuid ) ;
>    session.execute("conference", "3001 at default" ) ;
>    n_sess.execute("conference",  "3001 at default" ) ;
> }
>
> No matter I tried "bridge" , "threeway" or conference , there always
> one leg hangup.
>
> 2008-08-27 12:22:37 [NOTICE] switch_channel.c:534
> switch_channel_set_name() New Channel sofia/inter2/1527 [5
>    fe74280-953d-4aba-a738-f0b8e01bfc60]
> 2008-08-27 12:22:38 [NOTICE] sofia.c:2167 sofia_handle_sip_i_state()
> Ring-Ready sofia/inter2/1527!
> 2008-08-27 12:22:41 [NOTICE] sofia.c:2491 sofia_handle_sip_i_state()
> Channel [sofia/inter2/1527] has been answered
> 2008-08-27 12:23:06 [NOTICE] sofia.c:2545 sofia_handle_sip_i_state()
> Hangup sofia/external/0702058899 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
>
> How to put all 3 legs into a conference room ? Should I have to
> specify each uuid ?
>
> Thanks !
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080827/57b3c61d/attachment-0002.html 


More information about the FreeSWITCH-users mailing list