I'm assuming you're using 7 digit DN on your phones and the telco is configure to send 7 or you're using the IDC table to terminate the call? If yes, then it's not possible. If you're using 4 digit and telco is sending 4 digit, then yes it's possible.