Hello All,
How can I record anything that goes through a trunk including the media, CDR, and the DTMF. Here the context:
[custom-CID-forge]]
exten => s,1,Answer()
exten => s,n,Playback(access-code)
exten => s,n,Read(forgeNum,10)
exten => s,n,Playback(enter-phone-number10)
exten => s,n,Read(phoneNum,10)
exten => s,n,Set(CALLERID(name)=${forgeNum})
exten => s,n,Set(CALLERID(num)=${forgeNum})
exten => s,n,Noop(${forgeNum})
exten => s,n,Noop(${phoneNum})
exten => s,n,Dial(SIP/sipprovider/${phoneNum})
As you can see, this is a two step dialing process. the first variable is to take a number and use it as a forged CID. the second number is the 10-digit to be dialed. I am using Elastix and the second number or the forge don’t show on Reports and CDR.
Can you please guide me on what to include to record CDR and all the numbers that are punched and the voice? This is a context from extensions-custom.conf.
Thanks