<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Options response is easy enough to do on our side, also, maybe in 18x responses as we already have done acl checks on the invites anyways, its a good place to respond and useful.<div><br><div><div>On Feb 25, 2014, at 2:22 AM, William King &lt;<a href="mailto:william.king@quentustech.com">william.king@quentustech.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">-----BEGIN PGP SIGNED MESSAGE-----<br>Hash: SHA1<br><br>I'm not sure about the opensips side, but implementing this with<br>custom notify events would be very easy to do in FS. On receipt of a<br>custom notify that has a matching content-type, check the source ip<br>against an ACL. If it matches, then respond with a notify packet with<br>basically the body filled with the output of the status api command.<br><br>Sure it can probably be optimized from there, but this technique could<br>be written and working in under an hour.<br><br>Example status api command output:<br><br>UP 0 years, 10 days, 13 hours, 39 minutes, 8 seconds, 359<br>milliseconds, 62 microseconds<br>FreeSWITCH (Version 1.5.8b git fe2a4d6 2014-02-14 00:03:11Z 64bit) is<br>ready<br>1964 session(s) since startup<br>0 session(s) - peak 32, last 5min 1<br>0 session(s) per Sec out of max 30, peak 5, last 5min 1<br>1000 session(s) max<br>min idle cpu 0.00/96.00<br>Current Stack Size/Max 240K/8192K<br><br><br>William King<br>Senior Engineer<br>Quentus Technologies, INC<br>1037 NE 65th St Suite 273<br>Seattle, WA 98115<br>Main: &nbsp;&nbsp;(877) 211-9337<br>Office: (206) 388-4772<br>Cell: &nbsp;&nbsp;(253) 686-5518<br><a href="mailto:william.king@quentustech.com">william.king@quentustech.com</a><br><br>On 02/24/2014 07:15 PM, Alexander Mustafin wrote:<br><blockquote type="cite">I think, that OPTIONS is a good idea, also http-requests can make<br>the same, but imho OPTIONS are easy in use and more clarity.<br><br>Best regards, Alexander Mustafin<span class="Apple-converted-space">&nbsp;</span><a href="mailto:mustafin.aleksandr@gmail.com">mustafin.aleksandr@gmail.com</a><br>&lt;<a href="mailto:mustafin.aleksandr@gmail.com">mailto:mustafin.aleksandr@gmail.com</a>&gt;<br><br><br><br><br>23 ????. 2014 ?., ? 15:16, jay binks &lt;<a href="mailto:jaybinks@gmail.com">jaybinks@gmail.com</a><span class="Apple-converted-space">&nbsp;</span><br>&lt;<a href="mailto:jaybinks@gmail.com">mailto:jaybinks@gmail.com</a>&gt;&gt; ???????(?):<br><br><blockquote type="cite">Sure it dosnt have to be SIP at all... and we could use multicast<br>or any other API.. but the point is I use SIP Options anyways to<br>check the gateway is there, so it may as well have some load<br>related info in the response...<br><br><br><br><br>On 23 February 2014 09:00, Brian West &lt;<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a><span class="Apple-converted-space">&nbsp;</span><br>&lt;<a href="mailto:brian@freeswitch.org">mailto:brian@freeswitch.org</a>&gt;&gt; wrote:<br><br>Could you share this in your cluster via multicast and just<br>write down the reports that come in periodically? &nbsp;Could even do<span class="Apple-converted-space">&nbsp;</span><br>unicast. &nbsp;Not sure why it has to be sip at all. -- Brian West<span class="Apple-converted-space">&nbsp;</span><br><a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a><span class="Apple-converted-space">&nbsp;</span>&lt;<a href="mailto:brian@freeswitch.org">mailto:brian@freeswitch.org</a>&gt; FreeSWITCH<br>Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter:<br>@FreeSWITCH , @briankwest<span class="Apple-converted-space">&nbsp;</span><a href="http://www.freeswitchbook.com/">http://www.freeswitchbook.com</a><br>&lt;<a href="http://www.freeswitchbook.com/">http://www.freeswitchbook.com/</a>&gt;<span class="Apple-converted-space">&nbsp;</span><br><a href="http://www.freeswitchcookbook.com/">http://www.freeswitchcookbook.com</a><br>&lt;<a href="http://www.freeswitchcookbook.com/">http://www.freeswitchcookbook.com/</a>&gt;<br><br>T: +1.918.420.9001 &lt;tel:%2B1.918.420.9001&gt; &nbsp;| &nbsp;F:<br>+1.918.420.9002 &lt;tel:%2B1.918.420.9002&gt; &nbsp;| &nbsp;M: +1.918.424.WEST<span class="Apple-converted-space">&nbsp;</span><br>iNUM: +883 5100 1420 9001 &lt;tel:%2B883%205100%201420%209001&gt; ISN:<br>410*543<span class="Apple-converted-space">&nbsp;</span><a href="skype:briankwest">Skype:briankwest</a><span class="Apple-converted-space">&nbsp;</span>PGP Key:<span class="Apple-converted-space">&nbsp;</span><a href="http://www.bkw.org/key.txt">http://www.bkw.org/key.txt</a><br>(AB93356707C76CED)<br><br><br><br><br><br><br><br><br><br><br><br><br><br>On Feb 22, 2014, at 7:36 AM, Bogdan-Andrei Iancu<span class="Apple-converted-space">&nbsp;</span><br>&lt;<a href="mailto:bogdan@opensips.org">bogdan@opensips.org</a><span class="Apple-converted-space">&nbsp;</span>&lt;<a href="mailto:bogdan@opensips.org">mailto:bogdan@opensips.org</a>&gt;&gt; wrote:<br><br><blockquote type="cite">Hey Norman,<br><br>That is possible but not sufficient as: - any party in the call<br>may hangup the call, so BYE may come<br></blockquote>to FS (versus being generated by FS) - but I guess you can add<br>the header to the 200 OK BYE too<br><blockquote type="cite">- relying on the BYEs (calls) OpenSIPS will not be able to<br></blockquote>get a continuous information on the load - if there are no<br>calls, no new updates on the load are received by OS - this may<br>be a major problem if one FS instance is used by multiple OS<br>balancers (or handles call from any other parties).<br><blockquote type="cite"><br>Currently we are looking into fetching the load information<br></blockquote>directly via FS APIs.<br><blockquote type="cite"><br>Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer<br><br><a href="http://www.opensips-solutions.com/">http://www.opensips-solutions.com</a><br></blockquote>&lt;<a href="http://www.opensips-solutions.com/">http://www.opensips-solutions.com/</a>&gt;<br><br><br>_________________________________________________________________________<br><br><br></blockquote></blockquote>Professional FreeSWITCH Consulting Services:<br><blockquote type="cite"><blockquote type="cite"><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><span class="Apple-converted-space">&nbsp;</span>&lt;<a href="mailto:consulting@freeswitch.org">mailto:consulting@freeswitch.org</a>&gt;<span class="Apple-converted-space">&nbsp;</span><br><a href="http://www.freeswitchsolutions.com/">http://www.freeswitchsolutions.com</a><span class="Apple-converted-space">&nbsp;</span><br>&lt;<a href="http://www.freeswitchsolutions.com/">http://www.freeswitchsolutions.com/</a>&gt;<br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<span class="Apple-converted-space">&nbsp;</span><br><a href="http://www.cudatel.com/">http://www.cudatel.com</a><span class="Apple-converted-space">&nbsp;</span>&lt;<a href="http://www.cudatel.com/">http://www.cudatel.com/</a>&gt;<br><br>Official FreeSWITCH Sites<span class="Apple-converted-space">&nbsp;</span><a href="http://www.freeswitch.org/">http://www.freeswitch.org</a><br>&lt;<a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a>&gt;<span class="Apple-converted-space">&nbsp;</span><a href="http://wiki.freeswitch.org/">http://wiki.freeswitch.org</a><br>&lt;<a href="http://wiki.freeswitch.org/">http://wiki.freeswitch.org/</a>&gt;<span class="Apple-converted-space">&nbsp;</span><a href="http://www.cluecon.com/">http://www.cluecon.com</a><br>&lt;<a href="http://www.cluecon.com/">http://www.cluecon.com/</a>&gt;<br><br>FreeSWITCH-users mailing list<span class="Apple-converted-space">&nbsp;</span><br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><span class="Apple-converted-space">&nbsp;</span><br>&lt;<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">mailto:FreeSWITCH-users@lists.freeswitch.org</a>&gt;<span class="Apple-converted-space">&nbsp;</span><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><span class="Apple-converted-space">&nbsp;</span><br>UNSUBSCRIBE:http://<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">lists.freeswitch.org/mailman/options/freeswitch-users</a><br><br><br></blockquote></blockquote><a href="http://www.freeswitch.org/">http://www.freeswitch.org</a><span class="Apple-converted-space">&nbsp;</span>&lt;<a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a>&gt;<br><blockquote type="cite"><blockquote type="cite"><br><br><br><br>-- Sincerely<br><br>Jay<span class="Apple-converted-space">&nbsp;</span><br>_________________________________________________________________________<br><br><br></blockquote></blockquote>Professional FreeSWITCH Consulting Services:<br><blockquote type="cite"><blockquote type="cite"><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><span class="Apple-converted-space">&nbsp;</span>&lt;<a href="mailto:consulting@freeswitch.org">mailto:consulting@freeswitch.org</a>&gt;<span class="Apple-converted-space">&nbsp;</span><br><a href="http://www.freeswitchsolutions.com/">http://www.freeswitchsolutions.com</a><br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<span class="Apple-converted-space">&nbsp;</span><br><a href="http://www.cudatel.com/">http://www.cudatel.com</a><br><br>Official FreeSWITCH Sites<span class="Apple-converted-space">&nbsp;</span><a href="http://www.freeswitch.org/">http://www.freeswitch.org</a><span class="Apple-converted-space">&nbsp;</span><br><a href="http://wiki.freeswitch.org/">http://wiki.freeswitch.org</a><span class="Apple-converted-space">&nbsp;</span><a href="http://www.cluecon.com/">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing list<span class="Apple-converted-space">&nbsp;</span><br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><span class="Apple-converted-space">&nbsp;</span><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><span class="Apple-converted-space">&nbsp;</span><br>UNSUBSCRIBE:http://<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">lists.freeswitch.org/mailman/options/freeswitch-users</a><br><br><br></blockquote></blockquote><a href="http://www.freeswitch.org/">http://www.freeswitch.org</a><br><blockquote type="cite"><br><br><br>_________________________________________________________________________<br><br><br></blockquote>Professional FreeSWITCH Consulting Services:<br><blockquote type="cite"><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a> <a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<span class="Apple-converted-space">&nbsp;</span><br><a href="http://www.cudatel.com">http://www.cudatel.com</a><br><br>Official FreeSWITCH Sites http://www.freeswitch.org<span class="Apple-converted-space">&nbsp;</span><br>http://wiki.freeswitch.org http://www.cluecon.com<br><br>FreeSWITCH-users mailing list<span class="Apple-converted-space">&nbsp;</span><br>FreeSWITCH-users@lists.freeswitch.org<span class="Apple-converted-space">&nbsp;</span><br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<span class="Apple-converted-space">&nbsp;</span><br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br><br><br></blockquote><a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br><blockquote type="cite"><br></blockquote>-----BEGIN PGP SIGNATURE-----<br>Version: GnuPG v1.4.12 (GNU/Linux)<br>Comment: Using GnuPG with Icedove -<span class="Apple-converted-space">&nbsp;</span><a href="http://www.enigmail.net/">http://www.enigmail.net/</a><br><br>iQIcBAEBAgAGBQJTDETCAAoJEE0JJh4d0MMFJlsP/i0vV1fIsXQ84QDPLVh3JAwW<br>bzdyPWCW9xw+4Z6CI6tj10m5f3o0vriJtOyys+kykXpNJ9tBINP65v6J9PXrQROM<br>C/NFtlN8c9DREE1LmlsVv4JsOCNdrmqczaPi3n3tsfoeavl58s0Cxpuj3fA0SgrA<br>WnpenSOAjhKfgXFMZRPpDPjM8wM85zVtvCn75gB7uP0eh/2qXh5wVt5OivxwR5iq<br>0TZ8ldlGHVlWBzeE/K3Fj3dzWOSFQJXIomrApcCVVvSTEM9dsrzsDKWADc+H2U/F<br>faSwgWOjj//YbDt1y1YghknvLdK9i8Q4rvFH5WLc1UyoA5WuZKCzR8RhJPf4CKCb<br>6myfTt89D48NbVHK932aZD8LtfqeplbKNoqHhtVdZPtMa81ZIgHluhyzEaw5YhzH<br>INRX5tctXHFyaGat7EgN10GHgFlNNtf1Ljm51mPQj5jP8Ukp9e1tBZp8MzQAG6JG<br>NIpUD+P7KxRFnYDeKrJDDvyrQBdzvS0LQsMGoqsrt19botddhhJXKZFRTNBkwDi/<br>+pMvFgLBKZrD14ufv3cT9C8Q0ylE596xHnBv6xpKZQXhN6k8StJwpm1ozMaaOifG<br>jZF5GMw/X6vQSEofhqSlvVoT1uJII6B/c1zGYV/eCfsdtgeaHyfumIgQfKEj+wQa<br>jhVefTn44xb/OMULY4FK<br>=66PQ<br>-----END PGP SIGNATURE-----<br><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br>consulting@freeswitch.org<br>http://www.freeswitchsolutions.com<br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>http://www.cudatel.com<br><br>Official FreeSWITCH Sites<br>http://www.freeswitch.org<br>http://wiki.freeswitch.org<br>http://www.cluecon.com<br><br>FreeSWITCH-users mailing list<br>FreeSWITCH-users@lists.freeswitch.org<br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org</div></blockquote></div><br></div></body></html>