Use the create_uuid API to generate a uuid and then use that value in the braces. I agree that knowing the uuid beforehand makes life a lot easier. :) -MC On Fri, Feb 27, 2015 at 4:38 PM, Royce Mitchell III <royce3@gmail.com> wrote:
I need to initiate a call on an agent's behalf, but I can't seem to get it to work.
This is the closest I've gotten ( 7777 puts agent back in the call-queue )
uuid_setvar <agent-uuid> transfer_after_bridge 7777
uuid_transfer <agent-uuid> <pstn-number>
I have 2 problems:
1) the transfer_after_bridge isn't happening, or it's not going to the right place
2) I have to wait forever to get a uuid to control that call.
I want to be able to allocate a uuid for the outbound leg before I initiate the call, but I can't figure out the syntax to make it work.
I've tried this, but I get a fast busy:
uuid_transfer <agent-uuid> {origination_uuid=<new-uuid>}<pstn-number>
I've also tried this and it doesn't work either:
originate {origination_uuid=<new-uuid>}sofia/external/<pstn-number> &bridge(<agent-extension>)
Please help, thanks
Royce Mitchell, IT Consultant ITAS Solutions royce3@itas-solutions.com
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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