Record call to a custom context

Hi everyone! And thanks for reading me!
I have a simple question about recording

I created a custom context, for expample:
exten => 655,1,Answer()
exten => 655,n,SayDigits(“123456”)
exten => 655,n,Hangup()

How can I record an internal call to this context?
If I call from ext 100, and I configured the ext 100 to record all the calls, it doesn’t record the call to the context. Why?
How can I solve it?

I hope beeing clear in the explanation
Thank you very much for reading this

Best Regards!
Marco

Because, I assume, your custom dialplan is in the [from-internal] context which is resulting the call not to follow the standard FreePBX dialplan.

To solve this, make your dialplan like this:

[mmguglielmi-custom]
exten => 655,1,Answer()
exten => 655,n,SayDigits(“123456”)
exten => 655,n,Hangup()

Create a custom destination which goes to mmguglielmi-custom,655,1 and then create a Misc Application with the feature code 655 and set the destination to the Custom Destination.

I have not tested this, but I think that this will work.

Hi! Thanks for your answer, but It doesn’t work…

Hi again!
Do you have another idea to solve it?

Thnxs in advance

Please provide a call trace via pastebin Providing Great Debug - Support Services - Documentation