I've been very interested in Automating an IP phone, currently I am automating phone calls by using PuTTY to a Dial-Up modem through simple AT commands. However, this is a poor method because it does little beyond dialing and picking up; even worse, it can only dial certain numbers.
What I've tried:
I have a program that can somehow control my IP phone through my computer (too high level in the sense it doesn't have an API). Using Wireshark, I've been able to capture the packets it sends to the phone which I believe will make the command to call some number.
At this point, I thought I could send the hex values that I got from Wireshark through PuTTY using a Telnet connection. My first issue is that I'm unsure of the port number; I have tried 23 and 80 however, and in both cases: when I'm typing, the keystrokes will appear in PuTTY. That's got to be a good sign right? Unfortunately after about 20 seconds, the window closes out on its own. I've gone on the IP phone's local webpage through my browser and no information on a port number.
I can also ping the phone without specifying a port number.
Can anyone explain why my PuTTY session is closing on its own and/or an alternative solution to automating an IP Phone?