[Freeswitch-users] mod_socket: custom timeout for HEARTBEAT event

Anthony Minessale anthony.minessale at gmail.com
Mon Oct 12 07:26:18 PDT 2009


it works in either case with or without media
the syntax for setting the frequency was answered above.


On Mon, Oct 12, 2009 at 12:38 AM, Artem Shiyanov <shiyanov at gmail.com> wrote:

> Michael, Diego,
> thanks for the rapid answers!
>
> 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.
>
> 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?
>
>
> Artem
>
>
>
>
> On Mon, Oct 12, 2009 at 2:52 AM, Michael Jerris <mike at jerris.com> wrote:
>
>>
>> On Oct 11, 2009, at 5:44 PM, Diego Viola wrote:
>>
>> > Maybe you want enable_heartbeat or sched_heartbeat from mod_dptools?
>> >
>> > You can pass your parameters in second to these two.
>> >
>> > Example:
>> >
>> > <action application="enable_heartbeat" data="1"/>
>> > <action application="sched_heartbeat" data="1"/>
>> >
>> > Where 1 in this case is the number of heartbeats per seconds.
>> >
>>
>> Number of seconds between hearbeats, not hearbeats per second.
>>
>>
>> > You can use that example on the Dialplan XML but you can also use it
>> > on mod_event_socket outbound, etc.
>>
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at 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 at 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_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091012/14c983dd/attachment-0002.html 


More information about the FreeSWITCH-users mailing list