diff options
author | crichter <crichter@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-10-06 12:50:25 +0000 |
---|---|---|
committer | crichter <crichter@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-10-06 12:50:25 +0000 |
commit | 4d6c4cc64f10a45808ba7b4d06c10915ea5e9a8f (patch) | |
tree | 86838bc3a5fd52149a75fa70ead94071e7788149 /channels/misdn_config.c | |
parent | e8b084baa07b898eccd35bb5c5eec81028998331 (diff) |
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: http://svn.digium.com/svn/asterisk/branches/1.4@44561 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/misdn_config.c')
-rw-r--r-- | channels/misdn_config.c | 4 |
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[] = { |