The optional first argument will allow you to transfer both parties
(-both) or only the party to whom is talking.(-bleg). Beware that
-bleg actually means “the other leg”, so when it is executed on the
actual B leg uuid it will transfer the actual A leg that originated the
call and disconnect the actual B leg.
NOTE: if the call has been bridged, and you want to transfer either
side of the call, then you will need to use
(or the API
equivalent). If it’s not set, transfer doesn’t really work as you’d
expect, and leaves calls in limbo.