[Freeswitch-users] Better approach for multi-tenant SIP testing (part 1)

William King william.king at quentustech.com
Wed Jun 19 21:39:40 MSD 2013


If you're coming to ClueCon this year I'll be giving a lighting talk
that will cover work that has been done since the Polycom's were automated.

William King
Senior Engineer
Quentus Technologies, INC
1037 NE 65th St Suite 273
Seattle, WA 98115
Main:   (877) 211-9337
Office: (206) 388-4772
Cell:   (253) 686-5518
william.king at quentustech.com

On 05/31/2013 02:27 AM, Cal Leeming [Simplicity Media Ltd] wrote:
> Lmao - that is pretty freaking awesome, thanks for sharing!
> 
> This certainly takes automated unit testing to a whole new level, and
> would be great for blackbox tests on real phones - it would be
> interesting to see this approach on multiple different phone models as well.
> 
> Cal
> 
> 
> On Fri, May 31, 2013 at 6:07 AM, William King
> <william.king at quentustech.com <mailto:william.king at quentustech.com>> wrote:
> 
>     Cal,
> 
>     I took a different approach and took advantage of a rack of Polycom
>     phones and a bit of electronic tinkering.
> 
>     http://imgur.com/a/9JfcR
> 
>     I took the Polycom 550s and, using the built-in XML Command Push and the
>     state polling features, plus some perl automation, I was able to
>     automate a large batch of call scenarios. Then when I found that SLA and
>     BLF lights weren't available, I assimilated the phones borg style.
> 
>     In the album, I'm using an Arduino board, a muxer(to talk to multiple
>     chips easily), and a set of light sensors(color, and intensity) to now
>     detect presence issues in FreeSWITCH.
> 
>     William King
>     Senior Engineer
>     Quentus Technologies, INC
>     1037 NE 65th St Suite 273
>     Seattle, WA 98115
>     Main:   (877) 211-9337 <tel:%28877%29%20211-9337>
>     Office: (206) 388-4772 <tel:%28206%29%20388-4772>
>     Cell:   (253) 686-5518 <tel:%28253%29%20686-5518>
>     william.king at quentustech.com <mailto:william.king at quentustech.com>
> 
>     On 05/28/2013 07:03 AM, Cal Leeming [Simplicity Media Ltd] wrote:
>     > Hello all,
>     >
>     > After nearly a year of active development on building our own voice
>     > platform, we've adopted some cool tricks to speed up the workflow and
>     > make testing less tedious.
>     >
>     > Over the next few months I'll be posting more articles on the
>     tricks we
>     > have used and the lessons we have learnt.
>     >
>     > Here is part 1 - a write up about a neat hack we used to virtualize
>     > phone testing;
>     >
>     http://blog.simplicitymedialtd.co.uk/533/quick-and-easy-approach-for-multi-tenant-sip-testing
>     >
>     > For those that don't have time to read, here is a screenshot;
>     > http://i.imgur.com/e9kUdxg.jpg
>     >
>     > This trick, which we've used in development for approx 6 months, has
>     > saved countless hours in development overheads, with one-click
>     > start/stop functionality and all the necessary modules right there in
>     > one place.
>     >
>     > Of course, this should never be used as a full replacement as nothing
>     > beats a proper hardware test to catch those weird edge cases, but it
>     > does allow you to do the majority of your testing (95%) from a single
>     > screen rather than a desk full of phones. It also makes attaching
>     > wireshark a lot easier, without having to use span ports and the
>     alike.
>     >
>     > Hope this helps someone else!
>     >
>     > Cal
>     >
>     >
>     >
>     _________________________________________________________________________
>     > Professional FreeSWITCH Consulting Services:
>     > consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>     > http://www.freeswitchsolutions.com
>     >
>     > 
>     > 
>     >
>     > Official FreeSWITCH Sites
>     > http://www.freeswitch.org
>     > http://wiki.freeswitch.org
>     > http://www.cluecon.com
>     >
>     > FreeSWITCH-users mailing list
>     > FreeSWITCH-users at lists.freeswitch.org
>     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>     > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>     >
>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>     > http://www.freeswitch.org
>     >
> 
>     _________________________________________________________________________
>     Professional FreeSWITCH Consulting Services:
>     consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>     http://www.freeswitchsolutions.com
> 
>     
>     
> 
>     Official FreeSWITCH Sites
>     http://www.freeswitch.org
>     http://wiki.freeswitch.org
>     http://www.cluecon.com
> 
>     FreeSWITCH-users mailing list
>     FreeSWITCH-users at lists.freeswitch.org
>     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>     http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>     http://www.freeswitch.org
> 
> 
> 
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
> 



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list