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>
<br><br>Artem<br>