replace "execute_extension" with "transfer"

or use the application "three_way"

<action application="three_way" data="<any uuid of a bridged call>"/>

On Tue, Sep 15, 2009 at 8:43 AM, Artem Shiyanov <shiyanov@gmail.com> wrote:
Hi there!

The situation is:
- Person A calls to the extension:
<extension name="some_ext">
  <condition field="destination_number" expression="^900.$">
    <action application="answer"/>
    <action application="park"/>
  </condition>
</extension>

- I bridge him with person B with help of mod_socket:
SendMsg <some_uuid>
call-command: execute
execute-app-name: bridge
execute-app-arg: <person B address in form: "user/...">

- A and B talks

- Person C decides to barge in the call A<-->B (to become a third participator in the call)
a) I send (mod_socket):
api originate user/<person C address> &park()
b) then I move A, B, C to the extension:
<extension name="barge_in">
  <action application="conference" data="my_confname@my_profile+flags{mintwo}"/>
</extension>

conference profile "my_profile" is:
<profile name="my_profile">
  <!-- Sample Rate-->
  <param name="rate" value="8000"/>
  <!-- Number of milliseconds per frame -->
  <param name="interval" value="20"/>
  <!-- Energy level required for audio to be sent to the other users -->
  <param name="energy-level" value="300"/>
  <!-- Name of the caller control group to use for this profile -->
  <param name="caller-controls" value="none"/>
  <param name="comfort-noise-level" value="1400"/>
  <!-- enable comfort noise generation -->
  <param name="comfort-noise" value="true"/>
</profile>

The "moving" itself is done by sending this for each (A,B,C) channel
SendMsg <uuid>
call-command: execute
execute-app-name: execute_extension
execute-app-arg: barge_in

- Result: A, B, C are in the same conference with name "my_confname", 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.

I also tried the "moving" to conference with
api uuid_transfer <A_uuid> -both barge_in
api uuid_transfer <C_uuid> barge_in
but result is the same.

Maybe someone already faced with such issue?


Thanks,
Artem

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@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/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400