diff options
author | rmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-06-02 22:28:58 +0000 |
---|---|---|
committer | rmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-06-02 22:28:58 +0000 |
commit | e3c619b555ca0b461e53d3b4ba7acbf14d1c5bff (patch) | |
tree | 46889ba3707ca2fe6760cdd940141233f4959320 /include | |
parent | aebddbc16489c633d3be4f43d8dcc9aed3f3394e (diff) |
Add ETSI Malicious Call ID support.
Add the ability to report malicious callers as an AMI event in the call
event class.
Relevant specification: EN 300 180
Review: https://reviewboard.asterisk.org/r/576/
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@267350 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/autoconfig.h.in | 3 | ||||
-rw-r--r-- | include/asterisk/channel.h | 20 |
2 files changed, 23 insertions, 0 deletions
diff --git a/include/asterisk/autoconfig.h.in b/include/asterisk/autoconfig.h.in index fe13b2502..a97017a60 100644 --- a/include/asterisk/autoconfig.h.in +++ b/include/asterisk/autoconfig.h.in @@ -557,6 +557,9 @@ /* Define to 1 if you have the ISDN PRI set_inbanddisconnect library. */ #undef HAVE_PRI_INBANDDISCONNECT +/* Define to 1 if you have the ISDN PRI Malicious Call ID library. */ +#undef HAVE_PRI_MCID + /* Define to 1 if you have the ISDN progress with cause library. */ #undef HAVE_PRI_PROG_W_CAUSE diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index f5eaeeb12..5cf0d11db 100644 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -2462,6 +2462,26 @@ void ast_party_subaddress_set(struct ast_party_subaddress *dest, const struct as void ast_party_subaddress_free(struct ast_party_subaddress *doomed); /*! + * \brief Initialize the given party id structure. + * \since 1.8 + * + * \param init Party id structure to initialize. + * + * \return Nothing + */ +void ast_party_id_init(struct ast_party_id *init); + +/*! + * \brief Destroy the party id contents + * \since 1.8 + * + * \param doomed The party id to destroy. + * + * \return Nothing + */ +void ast_party_id_free(struct ast_party_id *doomed); + +/*! * \since 1.8 * \brief Initialize the given caller structure. * |