Can I call a phone number from the Terminal?
You can with open "tel://+316123456789" start a phone call process - but you still need to click on the "Call" button to make the call.



To do so, you may also simply press ↩. To automate everything via Applescript:

open location "tel://+351918306031"
delay 2
tell application "System Events" to key code 36