Sorry for my foolishness but I stil can't grasp it.<br>I'm developing app based on inbound mod_event_socket and I don't know how to run "enable_heartbeat" or " sched_heartbeat" without specifying any alive session uuid. I tried to use "create_uuid" and send mentioned commands to the created uuid but this approach doesn't work. I do need to monitor the FS state itself rather then any particular call.<br>
<br>Please, enlighten me!<br>Artem<br><br><br><br><div class="gmail_quote">On Mon, Oct 12, 2009 at 6:26 PM, Anthony Minessale <span dir="ltr"><<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">it works in either case with or without media<br>the syntax for setting the frequency was answered above.<div>
<div></div><div class="h5"><br><br><br><div class="gmail_quote">On Mon, Oct 12, 2009 at 12:38 AM, Artem Shiyanov <span dir="ltr"><<a href="mailto:shiyanov@gmail.com" target="_blank">shiyanov@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Michael, Diego,<br>thanks for the rapid answers!<br><br>As far as I understand, "enable_heartbeat" app is launching SESSION_HEARTBEAT events that will stop when the call will be cleared. Also I "heard" that "enable_heartbeat" works only for calls with proxied media.<br>
<br>What I want is to monitor FreeSwitch status: is it alive and what is the system status message. This info is provided in HEARTBEAT event gracefully but in constant time period = 20 sec. So the main question is- how to customize this period?<br>
<font color="#888888">
<br><br>Artem</font><div><div></div><div><br><br><br><br><div class="gmail_quote">On Mon, Oct 12, 2009 at 2:52 AM, Michael Jerris <span dir="ltr"><<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><br>
On Oct 11, 2009, at 5:44 PM, Diego Viola wrote:<br>
<br>
> Maybe you want enable_heartbeat or sched_heartbeat from mod_dptools?<br>
><br>
> You can pass your parameters in second to these two.<br>
><br>
> Example:<br>
><br>
> <action application="enable_heartbeat" data="1"/><br>
> <action application="sched_heartbeat" data="1"/><br>
><br>
> Where 1 in this case is the number of heartbeats per seconds.<br>
><br>
<br>
</div>Number of seconds between hearbeats, not hearbeats per second.<br>
<div><br>
<br>
> You can use that example on the Dialplan XML but you can also use it<br>
> on mod_event_socket outbound, etc.<br>
<br>
<br>
</div><div><div></div><div>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
</div></div></blockquote></div><br>
</div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
<br></blockquote></div><br><br clear="all"><br></div></div>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
<a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>
<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>
<br></blockquote></div><br>