Page 7 of 10
FusionPBX/CoolPBX usually bridges the outgoing call with a dialplan similar to this:
bridge sofia/gateway/40bc4ebd-1124-4e84-965e-11df899629db/$1
Change that line to:
lua app.lua lcr $1
Please take in mind that $1 is just an example. You should modify it accordingly.