sometimes customers says ...
vs
but when you see a call with a caller id M345837457394857984
You've made a logical jump here without stating that a client has told you that is what they see.
his phone number answer me that is not able to take calls from blocked numbers
Once again, you don't seem to be testing this on a regular phone line such as a cell phone company or NON-voip line to find out what is actually being seen by the call recipient.
All the logic in the world, all the decisions and hair pulling can't replace a real-world test.
It could just be that your system is broadcasting the agent's phone number (which is often 0000000000) or broken in some other way. Test it real world. And remember that Manual Dial and Autodial must be handled separately for testing. They are not related.