Module Description
This module implements XMPP Ping functionality as described in XEP-0199: XMPP Ping.
Options
send_pings(boolean, defaultfalse): If set to true, the server will send ping iqs to the client if they are not active for aping_interval.ping_interval(seconds, default60): Defines the client inactivity timeout after which the server will send a ping request if the above option is set totrue.timeout_action(none|kill, defaultnone): Defines if the client connection should be closed if it doesn't reply to a ping request in less thanping_req_timeout.ping_req_timeout(seconds, default32) Defines how long the server waits for the client to reply to the ping request.iqdisc(default:no_queue)
Example Configuration
{mod_ping, [{send_pings, true}]},