I agree that a custom script on the server side is probably the easiest to get working. Back in the dial up days sharing a phone line with a voice recorder it was common to call and let it ring once or twice, hang up and wait a set number of seconds then call back. A POTS port knock... The program would then send the AT command to answer phone.
You could then send a secret code which if accepted would run a script to logon and configure the switch as desired. Depending on the switch syntax/protocol you can do this a number of ways i.e expect or a heredoc. The program sends back a response and the connection is terminated.
|