Hi Abdul,
It sounds like the calling number that CME is sending is not what CUE is expecting. Try running a debug to confirm what is actually being sent, and to see the interaction between CME and CUE.
Have you had a chance to reset CUE after the changes were made? Might be worth a shot.
Here is a sample output of 'debug ccsip messages' on a CME router while pressing the Messages button on CME phone extension 4002. The CUE pilot number is 4200. The message is a SIP INVITE, and you can clearly see what is sent to the CUE as the calling number in the 'From' field:
INVITE sip:4200@10.30.2.2:5060 SIP/2.0
Via: SIP/2.0/UDP 10.30.2.1:5060;branch=z9hG4bK314E2
Remote-Party-ID: "Ph2" <4002>;party=calling;screen=no;privacy=off4002>
From: "Ph2" <4002>;tag=17A162A4-20D54002>
To: <4200>4200>
Capture the output of the same debug and post here.
Hope this helps.
Regards,
Michael.