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 <[email protected]> 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 <[email protected]>wrote: > >> >> >> On Tue, Oct 13, 2009 at 8:32 AM, Artem Shiyanov <[email protected]>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 >> [email protected] >> 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 > [email protected] > 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:[email protected] <msn%[email protected]> GTALK/JABBER/PAYPAL:[email protected]<paypal%[email protected]> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:[email protected] <sip%[email protected]> iax:[email protected]/888 googletalk:[email protected]<googletalk%3aconf%[email protected]> pstn:213-799-1400
_______________________________________________ FreeSWITCH-users mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
