Duplicate UUID error will occur if you are creating multiple channels with same UUID. To set custom UUID you need to set origination_uuid
variable when you want to originate call. If you bridge call like this:
{origination_uuid=abc}user/1000,user/1001
uuid abc
will be set on both channels (1000 and 1001), therefore you will get Duplicate UUID
error. So if you want to set custom UUID to channel you need to use []
brackets instead of {}
brackets. You can then bridge call like this:
[origination_uuid=abc]user/100,[origination_uuid=def]user/1001
[]
brackets will set channel variables on single channel, and {}
brackets will set variables on all channels.
You can read more here about channel variables:
https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables