|
|
@ -149,7 +149,7 @@ AST_APP_OPTIONS(followme_opts, {
|
|
|
|
static int ynlongest = 0;
|
|
|
|
static int ynlongest = 0;
|
|
|
|
static time_t start_time, answer_time, end_time;
|
|
|
|
static time_t start_time, answer_time, end_time;
|
|
|
|
|
|
|
|
|
|
|
|
static char *featuredigittostr;
|
|
|
|
static const char *featuredigittostr;
|
|
|
|
static int featuredigittimeout = 5000; /*!< Feature Digit Timeout */
|
|
|
|
static int featuredigittimeout = 5000; /*!< Feature Digit Timeout */
|
|
|
|
static const char *defaultmoh = "default"; /*!< Default Music-On-Hold Class */
|
|
|
|
static const char *defaultmoh = "default"; /*!< Default Music-On-Hold Class */
|
|
|
|
|
|
|
|
|
|
|
@ -288,9 +288,9 @@ static int reload_followme(void)
|
|
|
|
int timeout;
|
|
|
|
int timeout;
|
|
|
|
char *timeoutstr;
|
|
|
|
char *timeoutstr;
|
|
|
|
int numorder;
|
|
|
|
int numorder;
|
|
|
|
char *takecallstr;
|
|
|
|
const char *takecallstr;
|
|
|
|
char *declinecallstr;
|
|
|
|
const char *declinecallstr;
|
|
|
|
char *tmpstr;
|
|
|
|
const char *tmpstr;
|
|
|
|
|
|
|
|
|
|
|
|
cfg = ast_config_load("followme.conf");
|
|
|
|
cfg = ast_config_load("followme.conf");
|
|
|
|
if (!cfg) {
|
|
|
|
if (!cfg) {
|
|
|
|