Port mrene's changes to ozmod_isdn:

Add "opts" parameter to span definition in pri_spans (removing suggest-channel parameter)
    Possible options are:

    suggest_channel - No idea what this one actually does...
    disable_tones   - Disable tone generating thread in NT (net) mode
    omit_display    - Disable sending caller name in call setup message (Display IE)



git-svn-id: http://svn.openzap.org/svn/openzap/trunk@702 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Stefan Knoblich committed 2009-03-19 23:06:04 +00:00
1 parent a6672fc558
commit 03dbc587fd
3 files changed
+46 -21

No files matched your search

+3 -3
View File
@@ -1850,8 +1850,8 @@ static switch_status_t load_config(void)
zap_span_t *span = NULL;
const char *tonegroup = NULL;
char *digit_timeout = NULL;
const char *opts = "none";
uint32_t to = 0;
uint32_t opts = 0;
int q921loglevel = -1;
int q931loglevel = -1;
// quick debug
@@ -1877,8 +1877,8 @@ static switch_status_t load_config(void)
}
} else if (!strcasecmp(var, "context")) {
context = val;
} else if (!strcasecmp(var, "suggest-channel") && switch_true(val)) {
opts |= 1;
} else if (!strcasecmp(var, "opts")) {
opts = val;
} else if (!strcasecmp(var, "dialplan")) {
dialplan = val;
} else if (!strcasecmp(var, "digit_timeout") || !strcasecmp(var, "digit-timeout")) {