In a SIP environment you need some sort of SIP endpoint such as PJSUA which is an open source command line SIP user agent (softphone) . For example, the command below will automatically answer all incoming calls with 200/OK, playback the WAV file to incoming calls, and loopback the calls media to itself (remote will hear the file mixed with their own voice):
NOTE: PJSUA player port supports for reading WAV file with uncompressed 16 bit PCM format or compressed G.711 A-law/U-law format.
In terms of CTI control you can used the platform SDK to write some code to login and make test agents associated with PJSUA SIP EPs (DNs) ready etc. There are plenty of code samples available.
Thanks Craig. What if I use TLib functions to do steps 1-9? It should work right? But, one more doubt is how do I dial to a TFN programmatically to fully automate it?
@cavagnaro Pardon me for the duplicate post. “If you use API you are adding another point of failure. You would need tests to validate that your tests tools work fine” - Could you mention in detail?
My idea is to automate steps 1-9 through Genesys PSDK/TLib functions. To dial TFN, I plan to use Avaya communicator, along with any UI automation framework.
You could use TestSoftphone from Genesys. Ask for it at support site.
My comment goes that I’m you are trying to test something you developed to automate the inputs. If you develop something to use the Genesys SDK then you would have what you are asking for but with the risk of a scenario not controlled like an error on the place for example.
You would have to develop something to control agent login then something to dial in like what Craig mentioned.
I’ve written a power shell script that let me login and make constant calls between two WDE clients on the same machine..
I used UIAutomation to login and make the calls.. then WDE and SIP endpoint handled everything in terms of audio.. but I was not testing the audio so I didn’t need to play or listen for a particular thing - only logi. And do some basic functions then end the call all via WDE