01-15-2019 04:08 AM - edited 03-17-2019 01:56 PM
Hello,
I'm trying to connect to the SSH Consolle of our CUCM via a PHP script. The connection (login) to the CUCM works, but when i set up a command, it gives me the error message below. Other Cisco SSH consoles work via PHP properly.
I found this website, but via php connector it doesn`t work...
https://community.cisco.com/t5/ip-telephony-and-phones/cm-platform-access-with-plink-exe/m-p/1822270
stty: standard input: Invalid argument stty: standard input: Invalid argument stty: standard input: Invalid argument Exception in thread "main" java.lang.NumberFormatException: For input string: "" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:504) at java.lang.Integer.parseInt(Integer.java:527) at sdMain.initialize(sdMain.java:501) at sdMain.main(sdMain.java:676) stty: standard input: Invalid argument Command Line Interface is starting up, please wait ...
Thanks,
Regards
01-15-2019 05:28 AM
What command are you sending and are you waiting long enough for specific admin prompt as unlike IOS devices for example the CUCM SSH session takes longer to load and it's important to wait/confirm an expected prompt is present before pushing commends.
01-16-2019 02:28 AM
Now it works with SOPA API (AXLAPI.wsdl).
Thanks
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide