Browse code

Updated P-CSCF example with additional Rx_AAR params

Richard Good authored on 17/12/2014 08:58:00
Showing 1 changed files
... ...
@@ -983,7 +983,7 @@ route[Orig_Initial]
983 983
 
984 984
 #!ifdef WITH_RX
985 985
 	xlog("L_DBG","Diameter: Orig authorizing media via Rx\n");	
986
-	if(Rx_AAR("ORIG_SESSION_AAR","orig")==0){
986
+	if(Rx_AAR("ORIG_SESSION_AAR","orig","",-1)==0){
987 987
 		exit;
988 988
 	}
989 989
 }
... ...
@@ -1035,7 +1035,7 @@ onreply_route[Orig_Initial_reply]
1035 1035
 #!ifdef WITH_RX
1036 1036
 	if (t_check_status("180|183|200")){
1037 1037
 		xlog("L_DBG","Diameter: Orig authorizing media via Rx\n");	
1038
-		if(Rx_AAR("ORIG_SESSION_AAR_REPLY","orig")==0){
1038
+		if(Rx_AAR("ORIG_SESSION_AAR_REPLY","orig","",-1)==0){
1039 1039
 			exit;
1040 1040
 		}
1041 1041
 	}
... ...
@@ -1089,7 +1089,7 @@ route[Term_Initial]
1089 1089
 
1090 1090
 #!ifdef WITH_RX
1091 1091
 	xlog("L_DBG","Diameter: Term authorizing media via Rx\n");	
1092
-	if(Rx_AAR("TERM_SESSION_AAR","term")==0){
1092
+	if(Rx_AAR("TERM_SESSION_AAR","term","",-1)==0){
1093 1093
 		exit;
1094 1094
 	}
1095 1095
 }
... ...
@@ -1138,7 +1138,7 @@ onreply_route[Term_Initial_reply]
1138 1138
 #!ifdef WITH_RX
1139 1139
 	if (t_check_status("180|183|200")){
1140 1140
 		xlog("L_DBG","Diameter: Orig authorizing media via Rx\n");	
1141
-		if(Rx_AAR("TERM_SESSION_AAR_REPLY","term")==0){
1141
+		if(Rx_AAR("TERM_SESSION_AAR_REPLY","term","",-1)==0){
1142 1142
 			exit;
1143 1143
 		}
1144 1144
 	}