[Freeswitch-users] How to test Freeswitch before moving to production?

Michael Collins msc at freeswitch.org
Wed Jan 23 01:24:01 MSK 2013


That begs the question: does anyone know of any SIP phones that have an API
where you can poll the status of the lamps as well as what's on the
display, whether MWI is on, etc.? That would be epic.

-MC

On Mon, Jan 21, 2013 at 8:40 PM, Tim St. Pierre <
fs-list at communicatefreely.net> wrote:

> Hmm.  Good idea.
>
> I know that you can do this with Aastra phones, and possibly others.
>
> With the Aastra's, there is an XML API that you can use to push
> notifications, apps, etc.
>   You can push XML to the phone on an HTTP interface (there is an ACL to
> tell it where to
> allow it from), and you can initiate phone calls, as well as hang up,
> transfer, etc.
> There is also an action URI, so you can have the phone report what is
> coming in on caller
> ID, when it is ringing, hung up, etc.
>
> I don't know if you can get lamp status from this or not, but perhaps you
> could have a
> system where a pattern of calls is generated, and after many repetitions,
> the system calls
> or a human to check and see that the lights match an expected state.
>
> Just an idea anyway.
>
> -Tim
>
> Michael Collins wrote:
> > This test suite does not presently exist. I would love to see some work
> > done in this area.
> >
> > One challenge is that there are numerous kinds of devices that can
> > interop with FS so the test suite will need to have some way to handle
> > the various phone makes and models. Also, I don't know which hard
> > phones, if any, support automated testing. I would *love* to see some
> > sort of web/network API on various phones where you could poll the phone
> > to see the state of each SLA/BLF key as well as what's in the display.
> > That would make automated testing much cleaner. As it stands now,
> > testing BLFs is a tedious process of watching phones and waiting to see
> > if the lights do what they should be doing.
> >
> > If anyone has practical suggestions (nothing pie-in-the-sky, if you get
> > my meaning) then by all means share with the group.
> >
> > -MC
> >
> > On Mon, Jan 21, 2013 at 10:03 AM, Yehavi Bourvine
> > <yehavi.bourvine at gmail.com <mailto:yehavi.bourvine at gmail.com>> wrote:
> >
> >     Hello,
> >
> >       We are running version 1.0.6; we did not upgrade for a long time
> >     due to some problems (mainly stuck BLFs) with the newer versions
> >     which have been corrected a few months ago.
> >
> >     A few weeks ago I pulled the latest GIT and did functional testings
> >     on our development system; all was OK.
> >
> >     Yesterday I moved our production system to that version. After a few
> >     hours the problems started: stuck BLFs, hangups, LUA scripts
> >     sometimes do not run. I had to revert back to the old version.
> >
> >     My question: Is there some simple test suite which I can test
> >     various scnarios on my development system? like, "call XX, while
> >     this call is active call YY which is monitored by XX and hangup",
> >     etc. It is hard to cover all cases manually, so I would like
> >     something automated.
> >
> >                        Thanks, __Yehavi:
> >
> >
> _________________________________________________________________________
> >     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
> >
> >
> >
> >
> > --
> > Michael S Collins
> > Twitter: @mercutioviz
> > http://www.FreeSWITCH.org
> > http://www.ClueCon.com
> > http://www.OSTAG.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
>
>
> _________________________________________________________________________
> 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
>



-- 
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130122/55858812/attachment-0001.html 


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