Anthony,<div><br></div><div>thank you much, "three_way" is a powerful app!</div><div><div>I've added small description in wiki, if you don't mind.</div><div> <a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_three_way">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_three_way</a></div>
<div><br></div><div>Meanwhile, another question has been evolved:</div><div>In words of the scenario below, now if A hangs up the call then all other (B, C) channels also being hanged up automatically by FreeSwitch. Is there any way to save the call B <--> C if A has hanged up the phone? Again, the whole scenario is the same as it is described in my first message.</div>
<div><br></div><div><br></div><div>Artem</div><div> </div><div><br><br><div class="gmail_quote">On Tue, Sep 15, 2009 at 7:08 PM, Anthony Minessale <span dir="ltr"><<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">yes call the app as "three_way" like i said in the other thread.<br><br><br><div class="gmail_quote"><div><div>
</div><div>On Tue, Sep 15, 2009 at 9:22 AM, Artem Shiyanov <span dir="ltr"><<a href="mailto:shiyanov@gmail.com" target="_blank">shiyanov@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex"><div><div></div><div>Hello!<br><br>I'm trying to implement "barge in" functionality (see <a href="http://www.yourdictionary.com/telecom/barge-in" target="_blank">http://www.yourdictionary.com/telecom/barge-in</a>) with "eavesdrop" but still with no success.<br>
<br>The situation is:<br>- Person A calls to the extension:<br><extension name="some_ext"><br> <condition field="destination_number" expression="^900.$"><br> <action application="answer"/><br>
<action application="park"/><br> </condition><br></extension><br><br>- I bridge him with person B with help of mod_socket:<br>SendMsg <some_uuid><br>call-command: execute<br>execute-app-name: bridge<br>
execute-app-arg: <person B address in form: "user/..."><br><br>- A and B talks<br><br>- Person C decides to barge in the call A<-->B (to become a third participator in the call)<br>a) I send (mod_socket):<br>
SendMsg <C_uuid><br>call-command: execute<br>execute-app-name: eavesdrop<br>execute-app-arg: <A_uuid or B_uuid, result is the same><br><br>b) Then, as the spec says (<a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_eavesdrop" target="_blank">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_eavesdrop</a>)<br>
I sent DTMF "3" with<br>api uuid_send_dtmf <C_uuid> 3<br>but it doesn't work. I mean that A can hear B and vice verse, but both A and B can't hear C. C also doesn't hear neither A nor B.<br><br>
If I press "3" on the C's softphone (latest X-Lite) then, really, C becomes a full-capabilities participator of the call.<br>Instead of "uuid_send_dtmf" I tried:<br>1)<br>sendevent DTMF<br>Unique-ID: <C_uuid><br>
DTMF-Digit: 3<br>DTMF-Duration: 2000<br><br>2) first make queue_dtmf for the <C_uuid>, and then eavesdrop<br><br>3)<br>SendMsg <C_uuid><br>call-command: execute<br>execute-app-name: gentones<br>execute-app-arg: 3<br>
<br>4)<br>SendMsg <C_uuid><br>call-command: execute<br>execute-app-name: send_dtmf<br>execute-app-arg: 3<br><br>And none of these methods leads to the "barged in" call.<br><br>Anyone knows how to press "3" programmatically on behalf of the given channel with mod_socket?!<br>
<font color="#888888">
<br><br>Artem<br>
</font><br></div></div>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
<br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
<a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
<br></blockquote></div><br>
</div></div>