[asterisk-commits] dvossel: branch dvossel/generic_aoc r257766 - /team/dvossel/generic_aoc/chann...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Apr 16 17:31:47 CDT 2010


Author: dvossel
Date: Fri Apr 16 17:31:45 2010
New Revision: 257766

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=257766
Log:
fixes issue with charging association not being set correctly out pri

Modified:
    team/dvossel/generic_aoc/channels/sig_pri.c

Modified: team/dvossel/generic_aoc/channels/sig_pri.c
URL: http://svnview.digium.com/svn/asterisk/team/dvossel/generic_aoc/channels/sig_pri.c?view=diff&rev=257766&r1=257765&r2=257766
==============================================================================
--- team/dvossel/generic_aoc/channels/sig_pri.c (original)
+++ team/dvossel/generic_aoc/channels/sig_pri.c Fri Apr 16 17:31:45 2010
@@ -2708,7 +2708,10 @@
 
 	switch (ca->charging_type) {
 	case AST_AOC_CHARGING_ASSOCIATION_NUMBER:
-		ast_copy_string(aoc_e->associated.charge.number.str, ca->charge.number.number, sizeof(aoc_e->associated.charge.number.str));
+		aoc_e->associated.charge.number.valid = 1;
+		ast_copy_string(aoc_e->associated.charge.number.str,
+			ca->charge.number.number,
+			sizeof(aoc_e->associated.charge.number.str));
 		aoc_e->associated.charge.number.plan = ca->charge.number.plan;
 		aoc_e->associated.charging_type = PRI_AOC_E_CHARGING_ASSOCIATION_NUMBER;
 		break;




More information about the asterisk-commits mailing list