Can i mack call from ssh ip ? And how ?!
I need help about pbx
It depends on is what is installed on ‘ip’ . But if asterisk is installed and working , start with
https://community.freepbx.org/t/how-to-originate-call-from-cli/48406
After logging in via putty to my IP address by my user, how can I make a connection directly through the window, do I use a specific code or script? Sorry for the inconvenience
I have read and did not understand well, but can I get a script in Python ready to be put into my root path to make calls via the command window ?!
With respect , you have a lot to learn but this forum is not the places to expect anyone to teach you, spend a few hours with a basic linux ‘bash’ tutorial then you will better understand users and ssh, then a few with the wiki here
and you will better understand Asterisk, FreePBX and how to script them, then a few more with a good python tutorial so you know how to write python scripts, having done all that here are several asterisk python AGI libraries available with a quick google search.
I am assuming that you have a working FreePBX system and you want to programmatically connect your extension to an external number.
If your extension number is 1234 and you execute from a root shell prompt:
asterisk -rx "channel originate local/1234@from-internal extension 18004377950@from-internal"
your phone will ring. When you answer Asterisk will call 18004377950 and connect you.
If you want to automate this with Python, your script should compute the required channel originate command and call os.system to execute it.