aboutsummaryrefslogtreecommitdiffstats
path: root/channels/misdn_config.c
diff options
context:
space:
mode:
authorrmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b>2009-05-14 22:03:49 +0000
committerrmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b>2009-05-14 22:03:49 +0000
commit1d6926fa44d5d49f0d7e0bbef8a077d8641f7af1 (patch)
treee0f2c41e8e25a6cce74c5f115fef236b93d37d0f /channels/misdn_config.c
parentb32864c7692f7fdf3bb096cf87f01a1dd5bb0af8 (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: http://svn.digium.com/svn/asterisk/trunk@194479 f38db490-d61c-443f-a65b-d21fe96a405b
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"