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: https://origsvn.digium.com/svn/asterisk/trunk@267008 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Richard Mudgett
2010-06-02 17:13:53 +00:00
parent 48dd4d1249
commit 28264c52b9
8 changed files with 985 additions and 1 deletions

View File

@@ -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

View File

@@ -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 */