Hi all
i was wondering if was it possible to launch commands on remote Asterisk server…
I have an SMS gateway with Asterisk inside and i wish i could launch sms sending via remote CLI.
is there a way via asterisk -rx “commands” ?
Thanks
Hi all
i was wondering if was it possible to launch commands on remote Asterisk server…
I have an SMS gateway with Asterisk inside and i wish i could launch sms sending via remote CLI.
is there a way via asterisk -rx “commands” ?
Thanks
I do not think you can connect with asterisk -rx to a remote server.
In the past I have been using plink to do similar things with other programs, so this might solve your problem.
Man pages : https://linux.die.net/man/1/plink
Download : http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
It’s been years since I used it, so I am not 100% sure where the linux binary is located.
But when push commes to shove, you can always compile from source.
Use AMI and command action
https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+ManagerAction_Command