[Freeswitch-users] Odp: transfer to conference from conference / caller controls
Anthony Minessale
anthony.minessale at gmail.com
Fri Dec 23 02:30:10 MSK 2011
You should be using transfer not execute_extension or you are going into
the new conference mid digit parse and blocking in the first conference
waiting to return. If you use the transfer app then you will exit the
current conference and transfer to the new one.
On Dec 22, 2011 2:42 PM, "Rodney" <notlikeme75 at yahoo.com> wrote:
> Mariusz, using your suggestion, i worked out a solution that works.
> although i have to drop the bleg with sched_hangup in order for it to work
> with my hangup back to ivr method. it still looks like crap in my cdr but I
> can deal with it for now since i am crazy for wanting to transfer from
> static conference right to dynamic :) but doing it with this loopback
> method seems to give me the caller controls back. thanks for your help.
> ~rodney
>
> condition destination_number ^760$ 1
> action answer 3
> action set conference_user_list=| 10
> action play_and_get_digits 4 4 3 5000 # ask4digit.wav
> ivr/ivr-that_was_an_invalid_entry.wav target_num \d+ 20
> action phrase spell,${target_num} 30
> action sched_hangup +10 normal_clearing bleg 35
> action bridge
> loopback/app=conference:${target_num}-127.0.0.1 at dynamic_conf
>
>
> 4. Odp: transfer to conference from conference / caller controls
> (Mariusz Czulada)
>
>
>
> 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 at cx"/>
> ...
> </extension>
>
> <extension name="sub_conf">
> ...
> <action application="bridge"
> data="loopback/app=conference:${conference_name}_sub at 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 at 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 at default
>
>
>
>
> _______________________________________________
> 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
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20111222/732641eb/attachment-0001.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list