As long as I tell my friend "I'm going to call up, pretend you are whoever I ask for", then when I call up and say "hello is Mr X there?" it's irrelevant whether I just dialed my friend, or whether he was sat on the line waiting for me to fake dial.
The person being duped provides a name and a number.
You leave your line open with a friend. Then you dial the new number, which doesn't work because the line is open, but it appears to work, fooling the person being duped.
Dialing the new number is a required part of the illusion so the person you are duping believes you are calling the person they provided the info for.
If you just dial your friends number and don't use the fake number... and they see you doing that... then that's stupid and your friends would have to be exceedingly trashed to fall for what is essentially you just dialing a friends number and talking to them.