diff options
author | jim <jim@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-09-08 17:29:49 +0000 |
---|---|---|
committer | jim <jim@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-09-08 17:29:49 +0000 |
commit | 3e280f3af9209cc0da793a26b590d2a583984102 (patch) | |
tree | 1dfa035b00ec8c99669d4c58ca739594e533c5d9 /apps/app_rpt.c | |
parent | 5e9ef4297883bb382f5f41ae8b7e4fceb30cda05 (diff) |
Fixed signalling problem with pciradio
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6553 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_rpt.c')
-rwxr-xr-x | apps/app_rpt.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/app_rpt.c b/apps/app_rpt.c index 1952b322a..56fe1b57a 100755 --- a/apps/app_rpt.c +++ b/apps/app_rpt.c @@ -3,7 +3,7 @@ * Asterisk -- A telephony toolkit for Linux. * * Radio Repeater / Remote Base program - * version 0.28 08/21/05 + * version 0.29 09/04/05 * * See http://www.zapatatelephony.org/app_rpt.html * @@ -180,7 +180,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include "asterisk/say.h" #include "asterisk/localtime.h" -static char *tdesc = "Radio Repeater / Remote Base version 0.28 08/21/2005"; +static char *tdesc = "Radio Repeater / Remote Base version 0.29 09/04/2005"; static char *app = "Rpt"; @@ -4797,13 +4797,13 @@ char cmd[MAXDTMF+1] = ""; /* if RX key */ if (f->subclass == AST_CONTROL_RADIO_KEY) { - if (debug) printf("@@@@ rx key\n"); + if (debug) printf("@@@@ rx key1 %s\n",myrpt->name); myrpt->keyed = 1; } /* if RX un-key */ if (f->subclass == AST_CONTROL_RADIO_UNKEY) { - if (debug) printf("@@@@ rx un-key\n"); + if (debug) printf("@@@@ rx un-key1 %s\n",myrpt->name); if(myrpt->keyed) { rpt_telemetry(myrpt,UNKEY,NULL); } @@ -4963,13 +4963,13 @@ char cmd[MAXDTMF+1] = ""; /* if RX key */ if (f->subclass == AST_CONTROL_RADIO_KEY) { - if (debug) printf("@@@@ rx key\n"); + if (debug) printf("@@@@ rx key2, %s\n",l->name); l->lastrx = 1; } /* if RX un-key */ if (f->subclass == AST_CONTROL_RADIO_UNKEY) { - if (debug) printf("@@@@ rx un-key\n"); + if (debug) printf("@@@@ rx un-key2, %s\n",l->name); l->lastrx = 0; } if (f->subclass == AST_CONTROL_HANGUP) @@ -5115,7 +5115,7 @@ pthread_attr_t attr; /* start with blank config */ memset(&rpt_vars,0,sizeof(rpt_vars)); - cfg = ast_load("rpt.conf"); + cfg = ast_config_load("rpt.conf"); if (!cfg) { ast_log(LOG_NOTICE, "Unable to open radio repeater configuration rpt.conf. Radio Repeater disabled.\n"); pthread_exit(NULL); |