If you read the tooltip for the Custom Destination you will see that the field is expected to be formatted exactly as you would for a goto/gosub application, which is "context, exten, priority". In your case it would be:
Main-IVR,s,1
If you are using a Gosub, then you will need to ensure there is a return statement added to your user defined context.