Improvement: show avp name if known (validation)
[anna.git] / example / diameter / launcher / resources / basic / configure.sh
index 39a1e82..a5d1515 100755 (executable)
@@ -6,10 +6,12 @@
 
 # Diameter dictionary:
 STD_DICTIONARY=stacks/avps_etsi.xml,stacks/avps_ietf.xml,stacks/avps_tgpp.xml,stacks/commands_baseProtocol.xml
-APP_DICTIONARY=stacks/commands_pccPS_EricssonSAPC_se.xml
+APP_DICTIONARY=stacks/commands_qosControl.xml
 DICTIONARY=$STD_DICTIONARY,$APP_DICTIONARY
 # Perhaps the stack is not fully defined:
-KINDNESS=-ignoreErrors
+#KINDNESS=-ignoreErrors
+# But we prefer stack to generate Failed-AVP automatically:
+KINDNESS=
 
 # Communication endpoints:
 LOCAL_STANDARD_ENDPOINT=localhost:3868
@@ -44,6 +46,7 @@ cd \`dirname \$0\`
 STARTED=\`pgrep $1 2>/dev/null\`
 [ \$? -eq 0 ] && { echo "Already started!"; echo "\$STARTED" ; exit 1 ; }
 0> launcher.traces
+rm -f counters/*
 # Execution line:
 ./$@ &
 echo \$! > .pid