summaryrefslogtreecommitdiff
path: root/channels/misdn_config.c
diff options
context:
space:
mode:
authorChristian Richter <christian.richter@beronet.com>2006-10-11 08:34:03 +0000
committerChristian Richter <christian.richter@beronet.com>2006-10-11 08:34:03 +0000
commite09ad744af37cc1615fadd16fa5dda77bb0d3c75 (patch)
treeee3cc8aef59b14080e0ec4bb8dde77ddf49b2533 /channels/misdn_config.c
parent05c4624d9b87ca138581e7d66357ec99de8392f3 (diff)
Merged revisions 44561 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r44561 | crichter | 2006-10-06 14:50:25 +0200 (Fr, 06 Okt 2006) | 9 lines Merged revisions 44334 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r44334 | crichter | 2006-10-04 17:13:58 +0200 (Mi, 04 Okt 2006) | 1 line added the option 'reject_cause' to make it possible to set the RELEASE_COMPLETE - cause on the 3. incoming PMP channel, which is automatically rejected because chan_misdn does not support that kind of callwaiting. Therefore chan_misdn supports now 3 incoming channels on a PMP BRI Port. misdn_lib_get_free_bc now gets the info if the requested channel is incoming or outgoing to make the 3. channel possible ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44841 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/misdn_config.c')
-rw-r--r--channels/misdn_config.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/channels/misdn_config.c b/channels/misdn_config.c
index c8f70166a..c7131b0e4 100644
--- a/channels/misdn_config.c
+++ b/channels/misdn_config.c
@@ -271,6 +271,9 @@ static const struct misdn_cfg_spec port_spec[] = {
{ "max_outgoing", MISDN_CFG_MAX_OUT, MISDN_CTYPE_INT, "-1", NONE,
"Defines the maximum amount of outgoing calls per port for this group\n"
"\texceeding calls will be rejected" },
+
+ { "reject_cause", MISDN_CFG_REJECT_CAUSE, MISDN_CTYPE_INT, "21", NONE,
+ "Defines the cause with which a 3. call is rejected on PTMP BRI."},
{ "faxdetect", MISDN_CFG_FAXDETECT, MISDN_CTYPE_STR, "no", NONE,
"Setup fax detection:\n"
"\t no - no fax detection\n"
@@ -302,6 +305,7 @@ static const struct misdn_cfg_spec port_spec[] = {
"MSN's for TE ports, listen on those numbers on the above ports, and\n"
"\tindicate the incoming calls to Asterisk.\n"
"\tHere you can give a comma seperated list, or simply an '*' for any msn." },
+
};
static const struct misdn_cfg_spec gen_spec[] = {