How do I bridge-unbridge and then bridge again?
Hi, I want to do the following. 1. Caller is bridged to an agent. 2. Agent presses dtmf and is transferred to a supervisor while the caller is listening to MOH( achieved using "bind_meta_app"). 3. Now when the supervisor hangs-up, the agent should be bridged back to the caller. I am not able to find a simple way to do the third step. Any suggestions or ideas is greatly appreciated. Thanks, JP
What do you do for steps 1 and 2? Is the caller held with uuid_hold or uuid_park or what? Most likely you'll need to store the uuid of the caller's call leg in a channel variable and then perform a uuid_bridge back to that uuid once the agent is done speaking to the supervisor. -MC On Tue, Oct 9, 2012 at 3:27 PM, JP <jaykris@gmail.com> wrote:
Hi, I want to do the following. 1. Caller is bridged to an agent. 2. Agent presses dtmf and is transferred to a supervisor while the caller is listening to MOH( achieved using "bind_meta_app"). 3. Now when the supervisor hangs-up, the agent should be bridged back to the caller.
I am not able to find a simple way to do the third step. Any suggestions or ideas is greatly appreciated.
Thanks, JP
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
Hi all, i update to the current git version. I use debian squeeze 32bit. I have the errors: usr/src/freeswitch/src/include -I/usr/src/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -pthrea d -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/src/freeswit ch/libs/apr/include -I/usr/src/freeswitch/libs/apr-util/include -I/usr/src/frees witch/libs/apr-util/xml/expat/lib -I/usr/src/freeswitch/libs/libtpl-1.5/src -I/u sr/src/freeswitch/libs/stfu -I/usr/src/freeswitch/libs/sqlite -I/usr/src/freeswi tch/libs/pcre -I/usr/src/freeswitch/libs/speex/include -Ilibs/speex/include -I/u sr/src/freeswitch/libs/srtp/include -I/usr/src/freeswitch/libs/srtp/crypto/inclu de -Ilibs/srtp/crypto/include -I/usr/src/freeswitch/libs/spandsp/src -I/usr/src/ freeswitch/libs/tiff-4.0.2/libtiff -DENABLE_SRTP -DSWITCH_HAVE_ODBC -I/usr/inclu de -I/usr/src/freeswitch/libs/libedit/src -DSWITCH_HAVE_LIBEDIT -I/usr/src/frees witch/libs/curl/include -I/usr/src/freeswitch/src/include -I/usr/src/freeswitch/ src/include -I/usr/src/freeswitch/libs/libteletone/src -fPIC -Werror -fvisibilit y=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb -Wall -std=c99 - pedantic -Wdeclaration-after-statement -g -O2 -MT libfreeswitch_la-switch_core_s qldb.lo -MD -MP -MF .deps/libfreeswitch_la-switch_core_sqldb.Tpo -c src/switch_c ore_sqldb.c -fPIC -DPIC -o .libs/libfreeswitch_la-switch_core_sqldb.o cc1: warnings being treated as errors src/switch_core_sqldb.c: In function 'switch_user_sql_thread': src/switch_core_sqldb.c:1399: error: format '%ld' expects type 'long int', but a rgument 8 has type 'switch_size_t' make[1]: *** [libfreeswitch_la-switch_core_sqldb.lo] error 1 make: *** [all] error 2 Can you help please? thanks. --------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
try again with latest. On Wed, Oct 10, 2012 at 9:31 AM, Thomas Hoellriegel <admin@blindi.net>wrote:
Hi all, i update to the current git version. I use debian squeeze 32bit. I have the errors: usr/src/freeswitch/src/include -I/usr/src/freeswitch/libs/**libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -pthrea d -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/src/freeswit ch/libs/apr/include -I/usr/src/freeswitch/libs/**apr-util/include -I/usr/src/frees witch/libs/apr-util/xml/expat/**lib -I/usr/src/freeswitch/libs/**libtpl-1.5/src -I/u sr/src/freeswitch/libs/stfu -I/usr/src/freeswitch/libs/**sqlite -I/usr/src/freeswi tch/libs/pcre -I/usr/src/freeswitch/libs/**speex/include -Ilibs/speex/include -I/u sr/src/freeswitch/libs/srtp/**include -I/usr/src/freeswitch/libs/** srtp/crypto/inclu de -Ilibs/srtp/crypto/include -I/usr/src/freeswitch/libs/**spandsp/src -I/usr/src/ freeswitch/libs/tiff-4.0.2/**libtiff -DENABLE_SRTP -DSWITCH_HAVE_ODBC -I/usr/inclu de -I/usr/src/freeswitch/libs/**libedit/src -DSWITCH_HAVE_LIBEDIT -I/usr/src/frees witch/libs/curl/include -I/usr/src/freeswitch/src/**include -I/usr/src/freeswitch/ src/include -I/usr/src/freeswitch/libs/**libteletone/src -fPIC -Werror -fvisibilit y=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb -Wall -std=c99 - pedantic -Wdeclaration-after-statement -g -O2 -MT libfreeswitch_la-switch_core_s qldb.lo -MD -MP -MF .deps/libfreeswitch_la-switch_**core_sqldb.Tpo -c src/switch_c ore_sqldb.c -fPIC -DPIC -o .libs/libfreeswitch_la-switch_**core_sqldb.o cc1: warnings being treated as errors src/switch_core_sqldb.c: In function 'switch_user_sql_thread': src/switch_core_sqldb.c:1399: error: format '%ld' expects type 'long int', but a rgument 8 has type 'switch_size_t' make[1]: *** [libfreeswitch_la-switch_core_**sqldb.lo] error 1 make: *** [all] error 2
Can you help please? thanks.
--------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/**listinfo/blinde-misc<http://www.blindi.net/mailman/listinfo/blinde-misc>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
Thanks, Here is the complete dialplan xml that did the trick for me. <include> <extension name="Supervisor connection"> <condition field="destination_number" expression="^(9915)$"> <action application="answer" /> <action application="bind_meta_app" data="1 b s execute_extension::check_with_supervisor XML default"/> <action application="export" data="orig_caller_uuid=${uuid}"/> <action application="bridge" data="sofia/internal/ sip:1002@10.192.217.11:61842" /> </condition> </extension> <extension name="check_with_supervisor"> <condition field="destination_number" expression="^(check_with_supervisor)$"> <action application="bridge" data="sofia/internal/ sip:1003@10.192.217.11:5085" /> <action application="eval" data="${uuid_bridge(${uuid} ${orig_caller_uuid})}"/> </condition> </extension> </include> On Tue, Oct 9, 2012 at 4:42 PM, Michael Collins <msc@freeswitch.org> wrote:
What do you do for steps 1 and 2? Is the caller held with uuid_hold or uuid_park or what? Most likely you'll need to store the uuid of the caller's call leg in a channel variable and then perform a uuid_bridge back to that uuid once the agent is done speaking to the supervisor.
-MC
On Tue, Oct 9, 2012 at 3:27 PM, JP <jaykris@gmail.com> wrote:
Hi, I want to do the following. 1. Caller is bridged to an agent. 2. Agent presses dtmf and is transferred to a supervisor while the caller is listening to MOH( achieved using "bind_meta_app"). 3. Now when the supervisor hangs-up, the agent should be bridged back to the caller.
I am not able to find a simple way to do the third step. Any suggestions or ideas is greatly appreciated.
Thanks, JP
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
participants (4)
-
Christopher Rienzo
-
JP
-
Michael Collins
-
Thomas Hoellriegel