# Parameters

`default_expiration` (integer)

  Default subscription expiration timeout in seconds.

  Default value is 3600.

`on_error_retry_time` (integer)

  Time in seconds to next attempt at subscription creation after receiving an error from peer (for example 404 response on SUBSCRIBE request).

  Default value is 120.

`presence_route` (string)

  Route header put into first generated SUBSCRIBE request.

  Default value: empty.

`additional_presence_headers` (string)

  Additional headers put into sent SUBSCRIBE requests.

  Default value: empty.

`wait_for_term_notify` (integer)

  Default timeout for receiving terminating NOTIFY after unsubscribe (SUBSCRIBE with Expires: 0). If no NOTIFY is received during this time, the subscription is destroyed without processing last notify.

  Default value is 30.

`resubscribe_delta` (integer)

  Number of seconds before subscription expiration when should be sent resubscription request. For example if this value is 60 and the subscription is for 3600 seconds (Expires in 2xx response), next SUBSCRIBE request will be sent after 3540 seconds.

  Default value is 30.

`min_resubscribe_time` (integer)

  Minimum number of seconds between consequent SUBSCRIBE requests. (Renewal SUBSCRIBE is sent at least after this number of seconds.)

  Default value is 30.

`handle_presence_subscriptions` (integer)

  If set to nonzero value the module will handle internal (QSA) subscriptions to presence events. If not set, these internal subscriptions are ignored.

  Default value is 1.

`presence_outbound_proxy`

  URI where to send all presence SUBSCRIBEs. It is better to use this than `presence_route`.

  Empty by default.

`max_subscribe_delay`

  If set to value greater than zero SUBSCRIBE requests are sent randomly at most after `max_subscribe_delay` seconds. SUBSCRIBE requests are sent immediately when processing internal (QSA) subscription when set to 0.

  Default value is 0.