Testing call flows
We've built our various plugins and applets to create call flows. Now we want to test them without dialing in multiple times as we develop our call flows.
Thanks to the Browser Phone built into OpenVBX, this plugin will let us test our flows without even touching a phone.
When you start testing, the OpenVBX Browser Phone will ring; however, once it's answered, you can continue testing the different flows or the Text-to-Speech engine while the call is ongoing.
For the plugins used in this book, I use the call flow tester heavily, so I can attest to just how handy this is to use.
Getting ready
The complete source code for this recipe can be found at Chapter10/Recipe6
in the source code for this book.
How to do it…
We've built our plugins; now we want to test whether they work properly. This interface will let us test our call flows to make sure they all behave correctly, without using any minutes from our Twilio accounts. Perform the following steps to do so:
Inside your
plugins...