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
This commit is contained in:
Richard Mudgett
2009-05-14 22:03:49 +00:00
parent 23f54f4c76
commit 7872538b83
8 changed files with 124 additions and 20 deletions

View File

@@ -589,6 +589,15 @@ struct misdn_bchannel {
*/
int display_setup;
/*!
* \brief Select what to do with outgoing COLP information.
* \details
* 0 - pass (Send out COLP information unaltered.)
* 1 - restricted (Force COLP to restricted on all outgoing COLP information.)
* 2 - block (Do not send COLP information.)
*/
int outgoing_colp;
/*! \brief User set presentation restriction code
* 0=Allowed, 1=Restricted, 2=Unavailable
* \note It is settable by the misdn_set_opt() application.