Perhaps this will be useful for you:

 

Dialplan:

 

    <extension name="bind_and_join">

     ...
        <action application="bind_meta_app" data="4 a s execute_extension::sub_conf"/>

     ...
        <action application="conference" data="mainconf@cx"/>

     ...

    </extension>


    <extension name="sub_conf">

     ...
        <action application="bridge" data="loopback/app=conference:${conference_name}_sub@cx_sub"/>
     ...

    </extension>

 

conference.conf.xml:

 

    <group name="cx_controls">

     ...
      <control action="hangup" digits="9"/>
    </group>

    <group name="cx_sub_controls">

     ...
      <control action="hangup" digits="4"/>
    </group>

    <profile name="cx">

     ...
      <param name="caller-controls" value="cx_controls"/>
    </profile>

    <profile name="cx_sub">

     ...
      <param name="caller-controls" value="cx_sub_controls"/>
    </profile>

 

 

Dnia 20-12-2011 o godz. 18:21 Rodney napisał(a):

I am trying to transfer to a dynamic conference from within a static conference but when I do my callers loose control and can not use any dtmf caller control options and must hang up to get back. I tried using clear digit action but do not think this works on the "conf" realm. the dynamic conference works fine with all controls if i send them directly from the ivr but for what i am trying it is important to do this transfer from another conference. is there a method transfer and release all previous controls? i even tried using a difference conference profile so i transferred from static 501@default to <digits>@dynamic to see if giving new controls would work, to no avail. is there a log or something i can post that will help you in understanding how this is happening? or is it even fixable? thanks rodney

   <group name="default">
      <control action="mute" digits="1"/>
      <control action="hangup" digits="0"/>
      <control action="execute_application" digits="4" data="playback C:/Program Files/FreeSWITCH/recordings/conf_help.wav"/>
      <control action="execute_application" digits="8" data="execute_extension ANNOUNCE_CONF_COUNT_PRIVATE XML default"/>
      <control action="execute_application" digits="#" data="execute_extension 759 xml default"/>

-     <group name="dynamic">
        <control action="mute" digits="1"/>
        <control action="execute_application" digits="0" data="execute_extension 401 XML default"/>  (main ivr menu extension)
        <control action="execute_application" digits="8" data="execute_extension ANNOUNCE_CONF_COUNT_PRIVATE XML default"/>


condition      destination_number      ^759$      1     
  action      answer            2     
  action      set      conference_user_list=|      11     
  action      play_and_get_digits      4 4 3 5000 # askprivateroom.wav ivr/ivr-that_was_an_invalid_entry.wav target_num \d+      15     
  action      phrase      spell,${target_num}      16     
  action      conference      ${target_num}-127.0.0.1@default