extensions_custom.conf for misc destinations

It seems that one cannot add a custom dialplan for misc destinations. The Goto in the did section reads

exten => s,n,Goto(ext-miscdests,3,1)

in the [ext-miscdests] context, we have:

include => ext-miscdests-custom
exten => 3,1,Noop(MiscDest: YourNameHere)
exten => 3,n,Goto(from-internal,XXXX,1) (XXXX is your extension specified)

so putting anything in ext-miscdests-custom is pointless because the Goto from the did section skips over it? at least i am unable to execute anything in there…thoughts??

I does not skip over, the include puts the code at the end, right after the other Goto ;-(
You can verify this by executing:

dialplan show ext-miscdests

This has been discussed in the past - http://www.freepbx.org/forum/freepbx/users/how-to-execute-custom-code-at-start-of-macro-user-callerid

The autogenerated *-custom includes are simply not very useful in most of the cases …