--- sip.h.orig 2013-11-18 07:29:31.000000000 -0700
+++ sip.h 2013-11-16 15:41:04.000000000 -0700
@@ -83,7 +83,7 @@
#define DEFAULT_MAXMS 2000 /*!< Qualification: Must be faster than 2 seconds by default */
#define DEFAULT_QUALIFYFREQ 60 * 1000 /*!< Qualification: How often to check for the host to be up */
-#define DEFAULT_FREQ_NOTOK 10 * 1000 /*!< Qualification: How often to check, if the host is down... */
+#define DEFAULT_FREQ_NOTOK 10 * 1000 /*!< Qualification: How often to check, if the host is down.. Changed from 10 to 30 11-15-2013 Adam Roberts */
#define DEFAULT_RETRANS 1000 /*!< How frequently to retransmit Default: 2 * 500 ms in RFC 3261 */
#define DEFAULT_TIMER_T1 500 /*!< SIP timer T1 (according to RFC 3261) */
@@ -676,6 +676,7 @@
*/
struct sip_settings {
int peer_rtupdate; /*!< G: Update database with registration data for peer? */
+ int peer_rtlastms; /*!< G: Update database with lastms data for peer? */
int rtsave_sysname; /*!< G: Save system name at registration? */
int ignore_regexpire; /*!< G: Ignore expiration of peer */
int rtautoclear; /*!< Realtime ?? */
@@ -1252,6 +1253,7 @@
int lastms; /*!< Qualification: How long last response took (in ms), or -1 for no response */
int maxms; /*!< Qualification: Max ms we will accept for the host to be up, 0 to not monitor */
int qualifyfreq; /*!< Qualification: Qualification: How often to check for the host to be up */
+ int qualifynotok; /*!< Qualification: Qualification: How often to check for the host to be up when unreachable */
struct timeval ps; /*!< Qualification: Time for sending SIP OPTION in sip_pke_peer() */
struct ast_sockaddr defaddr; /*!< Default IP address, used until registration */
struct ast_ha *ha; /*!< Access control list */