Until now all we had to work with were real sets or maybe a softphone requiring direct access to the PBX (and a pricey license to boot). Because we need direct network access for those it is not possible to run them through dial-up sessions. Giving you the not so welcome prospect of having to drive over to that remote site in the dead of night to examine a problem.
So I thought it would be an interesting experiment to write some software to use as a 'terminal softphone' which I can run from anywhere as long as I have a shell on the call server.
The result of this is a very small (several kb) piece of software called 'online_set' which will allow me to dial a number and playback a G.711 aLaw test sound (1000Hz sinus) as well as pick up an incoming call and play back the same test sound.
Requirements:
1 CS (with role address set up)
1 standard IP user license
Instructions:
- Log on to the call server and upload the binary somewhere you like (/DHS3bin/mtcl for instance)
- Add a 4008 set
- Configure this set with a fake mac address (eg 00:00:00:00:00:01) and disable "Reset For Update Authorized"
- Start the online set with
Code: Select all
./online_set <role IP address CS> <fake mac address> <local IP address CS>
Dialing:
Code: Select all
dial <character sequence>
Code: Select all
hook
Code: Select all
release
Code: Select all
quit
Press enter to confirm a command, I did not implement backspace because ancient ncurses was misbehaving when combined with readline (so I had to drop readline) and I couldn't be bothered to fix that
Download here
Disclaimer:
This was written just for fun, I take no responsibility for your OXE blowing up on you. I have intentionally crippled voice functionality because this is a troubleshooting tool.
It works alright for me on release 11.2 but I have no reason to assume earlier releases won't work. I expect it will be broken on release 12, but we'll just have to wait and see.
Implementing G.711 muLaw should be no problem, drop me a line. Compressed codecs are pretty much out of the question.