the heartbeat you were seeing that needs a uuid was the session heartbeat which is a per-call heartbeat. indeed, the system heartbeat is not customizable.
On Wed, Oct 14, 2009 at 1:31 AM, Artem Shiyanov <shiya...@gmail.com> wrote: > Finally!! > Thank you Michael, I didn't know about "status" app. It satisfies all my > desires. > > And again, > thanks for all the community for the strong support! > > Artem > > > > > On Tue, Oct 13, 2009 at 10:48 PM, Michael Collins <m...@freeswitch.org>wrote: > >> >> >> On Tue, Oct 13, 2009 at 8:32 AM, Artem Shiyanov <shiya...@gmail.com>wrote: >> >>> Sorry for my foolishness but I stil can't grasp it. >>> 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. >>> >>> Please, enlighten me! >>> Artem >>> >> >> 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. >> >> 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). >> >> -MC >> >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> FreeSWITCH-users@lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users@lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_miness...@hotmail.com <msn%3aanthony_miness...@hotmail.com> GTALK/JABBER/PAYPAL:anthony.miness...@gmail.com<paypal%3aanthony.miness...@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:8...@conference.freeswitch.org <sip%3a...@conference.freeswitch.org> iax:gu...@conference.freeswitch.org/888 googletalk:conf+...@conference.freeswitch.org<googletalk%3aconf%2b...@conference.freeswitch.org> pstn:213-799-1400
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org