[libpri-commits] rmudgett: branch rmudgett/aoc_event r1506 - /team/rmudgett/aoc_event/

SVN commits to the libpri project libpri-commits at lists.digium.com
Wed Feb 24 17:47:35 CST 2010


Author: rmudgett
Date: Wed Feb 24 17:47:32 2010
New Revision: 1506

URL: http://svnview.digium.com/svn/libpri?view=rev&rev=1506
Log:
Change the name of a PRI_AOC_RATE_TYPE enum value.

Modified:
    team/rmudgett/aoc_event/libpri.h
    team/rmudgett/aoc_event/pri_aoc.c

Modified: team/rmudgett/aoc_event/libpri.h
URL: http://svnview.digium.com/svn/libpri/team/rmudgett/aoc_event/libpri.h?view=diff&rev=1506&r1=1505&r2=1506
==============================================================================
--- team/rmudgett/aoc_event/libpri.h (original)
+++ team/rmudgett/aoc_event/libpri.h Wed Feb 24 17:47:32 2010
@@ -669,7 +669,7 @@
 	PRI_AOC_RATE_TYPE_DURATION,
 	PRI_AOC_RATE_TYPE_FLAT,
 	PRI_AOC_RATE_TYPE_VOLUME,
-	PRI_AOC_RATE_TYPE_SPECIAL_ARRANGEMENT,
+	PRI_AOC_RATE_TYPE_SPECIAL_CODE,
 };
 enum PRI_AOC_TIME_SCALE {
 	PRI_AOC_TIME_SCALE_HUNDREDTH_SECOND,

Modified: team/rmudgett/aoc_event/pri_aoc.c
URL: http://svnview.digium.com/svn/libpri/team/rmudgett/aoc_event/pri_aoc.c?view=diff&rev=1506&r1=1505&r2=1506
==============================================================================
--- team/rmudgett/aoc_event/pri_aoc.c (original)
+++ team/rmudgett/aoc_event/pri_aoc.c Wed Feb 24 17:47:32 2010
@@ -156,7 +156,7 @@
 		/* Rate method being used. */
 		switch (info->list[idx].currency_type) {
 		case 0:/* specialChargingCode */
-			aoc_s->item[idx].rate_type = PRI_AOC_RATE_TYPE_SPECIAL_ARRANGEMENT;
+			aoc_s->item[idx].rate_type = PRI_AOC_RATE_TYPE_SPECIAL_CODE;
 			aoc_s->item[idx].rate.special = info->list[idx].u.special_charging_code;
 			break;
 		case 1:/* durationCurrency */
@@ -268,7 +268,7 @@
 		return;
 	}
 	subcmd->u.aoc_s.item[0].chargeable = PRI_AOC_CHARGED_ITEM_SPECIAL_ARRANGEMENT;
-	subcmd->u.aoc_s.item[0].rate_type = PRI_AOC_RATE_TYPE_SPECIAL_ARRANGEMENT;
+	subcmd->u.aoc_s.item[0].rate_type = PRI_AOC_RATE_TYPE_SPECIAL_CODE;
 	subcmd->u.aoc_s.item[0].rate.special =
 		invoke->args.etsi.AOCSSpecialArr.special_arrangement;
 }




More information about the libpri-commits mailing list