Incoming DID Calls Don't always record

Freepbx 2.9

; Setup DID in bulk and play recording before ring
exten => _761xxxx,1,answer
exten => _761xxxx,n,Playback(silence/1)
exten => _761xxxx,n,Playback(custom/your-call-may-be-recorded)
exten => _761xxxx,n(dest-ext),Goto(from-did-direct,${EXTEN:3},1)

I’ve just noticed that some of these calls will not be recorded, while others are. The particular call I was looking at was about an hour long, had a call file name, “__REC_STATUS=INITIALIZED” set, but never showed “__REC_STATUS=RECORDING”

Is it obviously my custom dialplan, or do I need to keep digging?


Well, I added the highest priority for everyone and then changed the context in the “Goto” on my last line to “from-internal”. I know that’s not the best solution, but it has resolved my problem for now. If anyone can make a better suggestion, I’d appreciate it.