It is necessary to distinguish between two cases, depending on settings in the authorisation class
Outside line with the exchange code
Automatic outside line