In Unity 5.x and above you can config Unity to use the "Last Redirecting Number" on a Call Forward instead of the "Originally Dialed Number"
For Unity 4.x Versions;
For this configure a Voicemail profile (in CCM) for the User B and apply it to User A's DN that will allow this type of Call Forward to the desired mailbox.
Or in Unity set up Alternate Extensions so that User A is an Alternate Extension for User B etc. Sharing a Cisco Unity Voice Mail Box between Two or More IP Phones
Configure Alternate Extensions
Open the Unity System Administrator web page.
Navigate to the subscriber's profile. Select Subscribers > Find and Select a Subscriber > Enter Subscriber Information then click Find and click the Subscriber's name for the subscriber that owns the primary phone.
When the subscriber page comes up, select the Alternate Extensions option and click Add.
Enter the alternate extension number and click the Save icon.
Call Information Exchanged by the Phone System and Cisco Unity
The phone system and Cisco Unity exchange call information to manage calls and to make the integration features possible. With each call, the following call information is typically passed between the phone system and Cisco Unity:
â¢The extension of the called party.
â¢The extension of the calling party (for internal calls) or the phone number of the calling party (if it is an external call and the phone system supports caller ID).
â¢The reason for the forward (the extension is busy, does not answer, or is set to forward all calls). There is also a reason code for Direct Calls.
Cisco Unified Communications Manager SCCP and SIP trunk integrations can also provide the following call information (the choice of first and last redirecting number is set in the Advanced Settings Tool, which is available in Tools Depot):