copy variables from a-leg to b-leg
When I bridge a call and I want to copy all variables from the a-leg to b-leg of a call I can use the „export“ function, and all variables are copied automatically. To implement call queueing I use another approach. On an incoming call I set some channel variables and then park the call. After that, I use originate to call (one or more) targets and in case a target gets answered I use uuid_bridge to connect both call legs together. The point is that the „export“ function does not work in that scenario. Is there another way to copy channel variables from one call leg to another? Thanks Markus
Try uuid_setvar. Regards, Ali Pey On Tue, Feb 4, 2014 at 10:27 AM, mbo <mbodbg@gmx.net> wrote:
When I bridge a call and I want to copy all variables from the a-leg to b-leg of a call I can use the "export" function, and all variables are copied automatically. To implement call queueing I use another approach. On an incoming call I set some channel variables and then park the call. After that, I use originate to call (one or more) targets and in case a target gets answered I use uuid_bridge to connect both call legs together. The point is that the "export" function does not work in that scenario. Is there another way to copy channel variables from one call leg to another?
Thanks
Markus
_________________________________________________________________________ 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
You can also use bridge_export app instead of export. It works the same way only it exports the vars every time the channel is bridged. On Tue, Feb 4, 2014 at 1:07 PM, Ali Pey <alipey@gmail.com> wrote:
Try uuid_setvar.
Regards, Ali Pey
On Tue, Feb 4, 2014 at 10:27 AM, mbo <mbodbg@gmx.net> wrote:
When I bridge a call and I want to copy all variables from the a-leg to b-leg of a call I can use the „export“ function, and all variables are copied automatically. To implement call queueing I use another approach. On an incoming call I set some channel variables and then park the call. After that, I use originate to call (one or more) targets and in case a target gets answered I use uuid_bridge to connect both call legs together. The point is that the „export“ function does not work in that scenario. Is there another way to copy channel variables from one call leg to another?
Thanks
Markus
_________________________________________________________________________ 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
_________________________________________________________________________ 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
-- Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬ ☞ http://freeswitch.org/ ☞ http://cluecon.com/ ☞ http://twitter.com/FreeSWITCH ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+ <http://freeswitch.org/g+>* ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org ☎ +19193869900
participants (3)
-
Ali Pey
-
Anthony Minessale
-
mbo