diff options
author | rmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-06-02 17:13:53 +0000 |
---|---|---|
committer | rmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-06-02 17:13:53 +0000 |
commit | 66e4294cd7a5011d46eb05574e3f3bff648d71b2 (patch) | |
tree | 83295b56d65ab923171c7b49fccd825e1291635e /include | |
parent | aa138b6e3f15826d199ecac0160d6ba2f21cec84 (diff) |
Add ETSI Advice Of Charge (AOC) event reporting.
This feature generates AMI events in the new aoc event class from the
events passed up by libpri.
Review: https://reviewboard.asterisk.org/r/537/
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@267008 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/autoconfig.h.in | 4 | ||||
-rw-r--r-- | include/asterisk/manager.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/asterisk/autoconfig.h.in b/include/asterisk/autoconfig.h.in index dc4c74c9a..fb519741e 100644 --- a/include/asterisk/autoconfig.h.in +++ b/include/asterisk/autoconfig.h.in @@ -532,6 +532,10 @@ /* Define to 1 if you have the ISDN PRI library. */ #undef HAVE_PRI +/* Define to 1 if you have the ISDN PRI advice of charge supplementary service + events library. */ +#undef HAVE_PRI_AOC_EVENTS + /* Define to 1 if you have the ISDN PRI call hold library. */ #undef HAVE_PRI_CALL_HOLD diff --git a/include/asterisk/manager.h b/include/asterisk/manager.h index 34595dee2..4fbb1d202 100644 --- a/include/asterisk/manager.h +++ b/include/asterisk/manager.h @@ -83,6 +83,7 @@ #define EVENT_FLAG_AGI (1 << 13) /* AGI events */ #define EVENT_FLAG_HOOKRESPONSE (1 << 14) /* Hook Response */ #define EVENT_FLAG_CC (1 << 15) /* Call Completion events */ +#define EVENT_FLAG_AOC (1 << 16) /* Advice Of Charge events */ /*@} */ /*! \brief Export manager structures */ |