[svn-commits] dvossel: branch dvossel/aoc_send r1570 - /team/dvossel/aoc_send/pri_aoc.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Mar 23 17:23:38 CDT 2010


Author: dvossel
Date: Tue Mar 23 17:23:35 2010
New Revision: 1570

URL: http://svnview.digium.com/svn/libpri?view=rev&rev=1570
Log:
fixes aoc-e billing id mapping error

Modified:
    team/dvossel/aoc_send/pri_aoc.c

Modified: team/dvossel/aoc_send/pri_aoc.c
URL: http://svnview.digium.com/svn/libpri/team/dvossel/aoc_send/pri_aoc.c?view=diff&rev=1570&r1=1569&r2=1570
==============================================================================
--- team/dvossel/aoc_send/pri_aoc.c (original)
+++ team/dvossel/aoc_send/pri_aoc.c Tue Mar 23 17:23:35 2010
@@ -529,6 +529,8 @@
 	case PRI_AOC_E_BILLING_ID_CREDIT_CARD:
 		return 2;
 	case PRI_AOC_E_BILLING_ID_CALL_FORWARDING_UNCONDITIONAL:
+		return 3;
+	case PRI_AOC_E_BILLING_ID_CALL_FORWARDING_BUSY:
 		return 4;
 	case PRI_AOC_E_BILLING_ID_CALL_FORWARDING_NO_REPLY:
 		return 5;
@@ -536,7 +538,7 @@
 		return 6;
 	case PRI_AOC_E_BILLING_ID_CALL_TRANSFER:
 		return 7;
-	};
+	}
 
 	return -1;
 }
@@ -560,7 +562,7 @@
 		return 1;
 	case PRI_AOC_E_BILLING_ID_CREDIT_CARD:
 		return 2;
-	};
+	}
 
 	return -1;
 }
@@ -761,7 +763,7 @@
 	default:
 		/* do nothing */
 		break;
-	};
+	}
 
 	pos = rose_encode_invoke(ctrl, pos, end, &msg);
 
@@ -842,7 +844,7 @@
 	default:
 		/* do nothing */
 		break;
-	};
+	}
 
 	pos = rose_encode_invoke(ctrl, pos, end, &msg);
 
@@ -1218,7 +1220,7 @@
 	case PRI_AOC_DE_CHARGE_UNITS:
 		end = enc_etsi_aoce_charging_unit(ctrl, buffer, buffer + sizeof(buffer), aoc_e);
 		break;
-	};
+	}
 
 	if (!end) {
 		return -1;
@@ -1261,7 +1263,7 @@
 	case PRI_AOC_DE_CHARGE_UNITS:
 		end = enc_etsi_aocd_charging_unit(ctrl, buffer, buffer + sizeof(buffer), aoc_d);
 		break;
-	};
+	}
 
 	if (!end) {
 		return -1;




More information about the svn-commits mailing list