There are many factors in play here so a Yes / no answer would not be correct.
1. Gateway setup and type of gateway
2. Provider and provider based settings.
It would be ideal that you advise the issue you are having in this respect with your settings for the specific gateway / provider and extension if you are diverting outside via extension forwarding rules.