[asterisk-commits] rmudgett: branch rmudgett/aoc_event r248843 - in /team/rmudgett/aoc_event: co...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Feb 25 13:29:09 CST 2010


Author: rmudgett
Date: Thu Feb 25 13:29:05 2010
New Revision: 248843

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=248843
Log:
Add the aoc AMI permission level.

Modified:
    team/rmudgett/aoc_event/configs/manager.conf.sample
    team/rmudgett/aoc_event/main/manager.c

Modified: team/rmudgett/aoc_event/configs/manager.conf.sample
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/aoc_event/configs/manager.conf.sample?view=diff&rev=248843&r1=248842&r2=248843
==============================================================================
--- team/rmudgett/aoc_event/configs/manager.conf.sample (original)
+++ team/rmudgett/aoc_event/configs/manager.conf.sample Thu Feb 25 13:29:05 2010
@@ -103,6 +103,7 @@
 ; originate - Permission to originate new calls.  Write-only.
 ; agi       - Output AGI commands executed.  Input AGI command to execute.
 ; cc        - Call Completion events.  Read-only.
+; aoc       - Advice Of Charge events.  Read-only.
 ;
 ;read = system,call,log,verbose,agent,user,config,dtmf,reporting,cdr,dialplan
 ;write = system,call,agent,user,config,command,reporting,originate

Modified: team/rmudgett/aoc_event/main/manager.c
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/aoc_event/main/manager.c?view=diff&rev=248843&r1=248842&r2=248843
==============================================================================
--- team/rmudgett/aoc_event/main/manager.c (original)
+++ team/rmudgett/aoc_event/main/manager.c Thu Feb 25 13:29:05 2010
@@ -981,6 +981,7 @@
 	{ EVENT_FLAG_ORIGINATE, "originate" },
 	{ EVENT_FLAG_AGI, "agi" },
 	{ EVENT_FLAG_CC, "cc" },
+	{ EVENT_FLAG_AOC, "aoc" },
 	{ INT_MAX, "all" },
 	{ 0, "none" },
 };




More information about the asterisk-commits mailing list