mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-15 08:44:14 +00:00
lun mar 17 19:11:15 CET 2003
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@649 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -113,6 +113,7 @@ static char *config = "zapata.conf";
|
||||
#define SIG_FXOKS ZT_SIG_FXOKS
|
||||
#define SIG_PRI ZT_SIG_CLEAR
|
||||
#define SIG_R2 ZT_SIG_CAS
|
||||
#define SIG_SF ZT_SIG_SF
|
||||
|
||||
#define NUM_SPANS 32
|
||||
#define RESET_INTERVAL 3600 /* How often (in seconds) to reset unused channels */
|
||||
@@ -776,6 +777,8 @@ static char *sig2str(int sig)
|
||||
return "PRI Signalling";
|
||||
case SIG_R2:
|
||||
return "R2 Signalling";
|
||||
case SIG_SF:
|
||||
return "SF (Tone) Signalling";
|
||||
case 0:
|
||||
return "Pseudo Signalling";
|
||||
default:
|
||||
@@ -6207,6 +6210,21 @@ int load_module()
|
||||
} else if (!strcasecmp(v->value, "em_txrx")) {
|
||||
cur_signalling = SIG_EM;
|
||||
cur_radio = 2;
|
||||
} else if (!strcasecmp(v->value, "sf")) {
|
||||
cur_signalling = SIG_SF;
|
||||
cur_radio = 0;
|
||||
} else if (!strcasecmp(v->value, "sf_rx")) {
|
||||
cur_signalling = SIG_SF;
|
||||
cur_radio = 1;
|
||||
} else if (!strcasecmp(v->value, "sf_tx")) {
|
||||
cur_signalling = SIG_SF;
|
||||
cur_radio = 1;
|
||||
} else if (!strcasecmp(v->value, "sf_rxtx")) {
|
||||
cur_signalling = SIG_SF;
|
||||
cur_radio = 2;
|
||||
} else if (!strcasecmp(v->value, "sf_txrx")) {
|
||||
cur_signalling = SIG_SF;
|
||||
cur_radio = 2;
|
||||
} else if (!strcasecmp(v->value, "featd")) {
|
||||
cur_signalling = SIG_FEATD;
|
||||
cur_radio = 0;
|
||||
|
Reference in New Issue
Block a user