<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>I see further down the thread there's a mention of Aastra's polling feature as well. Polycom's implementation is similar, and I'd have to read the documentation but there's a chance you can get the status of a particular line. That might be what you're after.&nbsp;</div><div><br></div><div>I would actually be interested in helping in this area, if we find out those polling features would be beneficial in troubleshooting, even if it doesn't apply to this particular case.</div><div><br>Sent from my iPhone</div><div><br>On Jan 22, 2013, at 5:24 PM, Michael Collins &lt;<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>&gt; wrote:<br><br></div><blockquote type="cite"><div>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.<br><br>-MC<br><br><div class="gmail_quote">
On Mon, Jan 21, 2013 at 8:40 PM, Tim St. Pierre <span dir="ltr">&lt;<a href="mailto:fs-list@communicatefreely.net" target="_blank">fs-list@communicatefreely.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hmm. &nbsp;Good idea.<br>
<br>
I know that you can do this with Aastra phones, and possibly others.<br>
<br>
With the Aastra's, there is an XML API that you can use to push notifications, apps, etc.<br>
&nbsp; You can push XML to the phone on an HTTP interface (there is an ACL to tell it where to<br>
allow it from), and you can initiate phone calls, as well as hang up, transfer, etc.<br>
There is also an action URI, so you can have the phone report what is coming in on caller<br>
ID, when it is ringing, hung up, etc.<br>
<br>
I don't know if you can get lamp status from this or not, but perhaps you could have a<br>
system where a pattern of calls is generated, and after many repetitions, the system calls<br>
or a human to check and see that the lights match an expected state.<br>
<br>
Just an idea anyway.<br>
<br>
-Tim<br>
<br>
Michael Collins wrote:<br>
&gt; This test suite does not presently exist. I would love to see some work<br>
&gt; done in this area.<br>
&gt;<br>
&gt; One challenge is that there are numerous kinds of devices that can<br>
&gt; interop with FS so the test suite will need to have some way to handle<br>
&gt; the various phone makes and models. Also, I don't know which hard<br>
&gt; phones, if any, support automated testing. I would *love* to see some<br>
&gt; sort of web/network API on various phones where you could poll the phone<br>
&gt; to see the state of each SLA/BLF key as well as what's in the display.<br>
&gt; That would make automated testing much cleaner. As it stands now,<br>
&gt; testing BLFs is a tedious process of watching phones and waiting to see<br>
&gt; if the lights do what they should be doing.<br>
&gt;<br>
&gt; If anyone has practical suggestions (nothing pie-in-the-sky, if you get<br>
&gt; my meaning) then by all means share with the group.<br>
&gt;<br>
&gt; -MC<br>
&gt;<br>
&gt; On Mon, Jan 21, 2013 at 10:03 AM, Yehavi Bourvine<br>
&gt; &lt;<a href="mailto:yehavi.bourvine@gmail.com">yehavi.bourvine@gmail.com</a> &lt;mailto:<a href="mailto:yehavi.bourvine@gmail.com">yehavi.bourvine@gmail.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt; &nbsp; &nbsp; Hello,<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; We are running version 1.0.6; we did not upgrade for a long time<br>
&gt; &nbsp; &nbsp; due to some problems (mainly stuck BLFs) with the newer versions<br>
&gt; &nbsp; &nbsp; which have been corrected a few months ago.<br>
&gt;<br>
&gt; &nbsp; &nbsp; A few weeks ago I pulled the latest GIT and did functional testings<br>
&gt; &nbsp; &nbsp; on our development system; all was OK.<br>
&gt;<br>
&gt; &nbsp; &nbsp; Yesterday I moved our production system to that version. After a few<br>
&gt; &nbsp; &nbsp; hours the problems started: stuck BLFs, hangups, LUA scripts<br>
&gt; &nbsp; &nbsp; sometimes do not run. I had to revert back to the old version.<br>
&gt;<br>
&gt; &nbsp; &nbsp; My question: Is there some simple test suite which I can test<br>
&gt; &nbsp; &nbsp; various scnarios on my development system? like, "call XX, while<br>
&gt; &nbsp; &nbsp; this call is active call YY which is monitored by XX and hangup",<br>
&gt; &nbsp; &nbsp; etc. It is hard to cover all cases manually, so I would like<br>
&gt; &nbsp; &nbsp; something automated.<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Thanks, __Yehavi:<br>
&gt;<br>
&gt; &nbsp; &nbsp; _________________________________________________________________________<br>
&gt; &nbsp; &nbsp; Professional FreeSWITCH Consulting Services:<br>
&gt; &nbsp; &nbsp; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a> &lt;mailto:<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>&gt;<br>
&gt; &nbsp; &nbsp; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; &nbsp; &nbsp; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt; &nbsp; &nbsp; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt; &nbsp; &nbsp; Official FreeSWITCH Sites<br>
&gt; &nbsp; &nbsp; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; &nbsp; &nbsp; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt; &nbsp; &nbsp; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; &nbsp; &nbsp; FreeSWITCH-users mailing list<br>
&gt; &nbsp; &nbsp; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; &nbsp; &nbsp; &lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>&gt;<br>
&gt; &nbsp; &nbsp; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; &nbsp; &nbsp; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; &nbsp; &nbsp; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Michael S Collins<br>
&gt; Twitter: @mercutioviz<br>
&gt; <a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br>
&gt; <a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
&gt; <a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br>
&gt;<br>
&gt;<br>
&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br>
</div></blockquote><blockquote type="cite"><div><span>_________________________________________________________________________</span><br><span>Professional FreeSWITCH Consulting Services:</span><br><span><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></span><br><span><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a></span><br><span></span><br><span>FreeSWITCH-powered IP PBX: The CudaTel Communication Server</span><br><span><a href="http://www.cudatel.com">http://www.cudatel.com</a></span><br><span></span><br><span>Official FreeSWITCH Sites</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br><span><a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a></span><br><span><a href="http://www.cluecon.com">http://www.cluecon.com</a></span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br></div></blockquote></body></html>