summaryrefslogtreecommitdiff
path: root/channels/misdn_config.c
diff options
context:
space:
mode:
authorRichard Mudgett <rmudgett@digium.com>2009-05-14 22:03:49 +0000
committerRichard Mudgett <rmudgett@digium.com>2009-05-14 22:03:49 +0000
commit7872538b83cbb2cc94df0140c5686cbcc8f66c32 (patch)
treee0f2c41e8e25a6cce74c5f115fef236b93d37d0f /channels/misdn_config.c
parent23f54f4c760427b601088fc8e5d2883319b43bf9 (diff)
Add outgoing_colp misdn.conf port parameter.
Select what to do with outgoing COLP information on this port. 0 - Send out COLP information unaltered. (default) 1 - Force COLP to restricted on all outgoing COLP information. 2 - Do not send COLP information. outgoing_colp=0 Also fixed sending the EctInform message so it always has the required redirectionNumber parameter when the status is active. JIRA ABE-1853 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@194479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/misdn_config.c')
-rw-r--r--channels/misdn_config.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/channels/misdn_config.c b/channels/misdn_config.c
index 293b8f8cb..1b645f27c 100644
--- a/channels/misdn_config.c
+++ b/channels/misdn_config.c
@@ -221,6 +221,12 @@ static const struct misdn_cfg_spec port_spec[] = {
"\n"
"\tscreen=0, presentation=0 -> callerid presented\n"
"\tscreen=1, presentation=1 -> callerid restricted (the remote end doesn't see it!)" },
+ { "outgoing_colp", MISDN_CFG_OUTGOING_COLP, MISDN_CTYPE_INT, "0", NONE,
+ "Select what to do with outgoing COLP information on this port.\n"
+ "\n"
+ "\t0 - Send out COLP information unaltered.\n"
+ "\t1 - Force COLP to restricted on all outgoing COLP information.\n"
+ "\t2 - Do not send COLP information." },
{ "display_connected", MISDN_CFG_DISPLAY_CONNECTED, MISDN_CTYPE_INT, "0", NONE,
"Put a display ie in the CONNECT message containing the following\n"
"\tinformation if it is available (nt port only):\n"