DID (DDI) to Voicemail

With older versions of asterisk/FreePBX I had a DID routed to a custom app (custom-voicemail,*98,1).

[custom-voicemail]
include => app-messagecenter

I’ve not been able to re-create this since app-messagecenter disappeared by using app_voicemail…

Can someone point me in the right direction please?

Thanks
Alan

I had a bit more time to look at this…one solution was as simple as changing the calls to:

Custom App: custom-voicemail,s,1

:extensions_custom.conf

[custom-voicemail]
exten => s,1,VoiceMailMain()

:lol:

Alan