the heartbeat you were seeing that needs a uuid was the session heartbeat which is a per-call heartbeat.<br>indeed, the system heartbeat is not customizable.<br><br><br><div class="gmail_quote">On Wed, Oct 14, 2009 at 1:31 AM, Artem Shiyanov <span dir="ltr"><<a href="mailto:shiyanov@gmail.com">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;">Finally!!<br>Thank you Michael, I didn't know about "status" app. It satisfies all my desires.<br>
<br>And again,<br>thanks for all the community for the strong support!<br><font color="#888888"><br>Artem<br><br><br><br><br></font><div class="gmail_quote"><div><div></div><div class="h5">
On Tue, Oct 13, 2009 at 10:48 PM, Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">
<br><br><div class="gmail_quote"><div>On Tue, Oct 13, 2009 at 8:32 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;">
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></blockquote></div><div><br>So if I understand correctly, you want to see the system heartbeat more frequently than every 20 seconds? What, exactly, is in the heartbeat that you need? You can get the same information by sending the API "status" and reading the results. <br>
<br>If I read the source code correctly it looks like the system heartbeat is hard-coded at 20 seconds. See switch_core.c, line 155. However, before you go messing with a core file I would make sure that you can't already use the tools that are available, like sending a "status" API every 5 seconds (or whatever interval you need).<br>
<br>-MC<br></div></div><br>
<br></div></div><div class="im">_______________________________________________<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></div></blockquote></div><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><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>