Disable monitor upon transfer

I’m looking for a way to stop recording an incoming call when transferred to specific extensions. Imagine this, in order to remain compliant with PCI (credit card processing) I want to ensure I don’t record a conversation when I’m collecting credit card information from an end customer. If the credit card number is stored in a recording it could be compromised and the CC numbers could be stolen. The goal is to transfer a customer to another extension before CC information is collected on a channel that is not recorded. Cannot figure out a way to make this happen right now.

Any guidance, even if very creative, is welcomed.

Add a StopMixMonitor() command to the target extension’s dialplan.

https://wiki.asterisk.org/wiki/display/AST/Application_StopMixMonitor

exten => 700,1,StopMixMontior()
same => n,Dial(SIP/700,16,tkw)
same => n,Voicemail(700)
same => n,Hangup()

1 Like