ohst->getDiameterIdentity()->setValue("c0-10-70-238-74-w5p1vepg1.vepc.ericsson.se");
orlm->getDiameterIdentity()->setValue("vepc.ericsson.se");
int inRange = 65535;
int outRange = inRange + 1;
//((tmeAvp*)cca.addAvp("CS-Result-Code"))->getUnsigned16()->setValue(inRange);
((tmeAvp*)cca.addAvp("CS-Result-Code"))->getUnsigned16()->setValue(outRange); // WILL BE 0 !!
ohst->getDiameterIdentity()->setValue("c0-10-70-238-74-w5p1vepg1.vepc.ericsson.se");
orlm->getDiameterIdentity()->setValue("vepc.ericsson.se");
int inRange = 65535;
int outRange = inRange + 1;
//((tmeAvp*)cca.addAvp("CS-Result-Code"))->getUnsigned16()->setValue(inRange);
((tmeAvp*)cca.addAvp("CS-Result-Code"))->getUnsigned16()->setValue(outRange); // WILL BE 0 !!
-
-/*
- <command name="Credit-Control-Answer" code="272" type="Answer">
- <avprule id="Session-Id" type="Fixed"/>
- <avprule id="Result-Code" type="Mandatory"/>
- <avprule id="CS-Result-Code" type="Optional"/>
- <avprule id="CS-Dialogue-Handling" type="Optional"/>
- <avprule id="Origin-Host" type="Mandatory"/>
- <avprule id="Origin-Realm" type="Mandatory"/>
- <avprule id="Auth-Application-Id" type="Mandatory"/>
- <avprule id="CC-Request-Type" type="Mandatory"/>
- <avprule id="CC-Request-Number" type="Mandatory"/>
- <avprule id="Granted-Service-Unit" type="Optional"/>
- <avprule id="Cost-Information" type="Optional"/>
- <avprule id="Low-Balance-Indication" type="Optional"/>
- <avprule id="Remaining-Balance" type="Optional"/>
- <avprule id="Credit-Control-Failure-Handling" type="Optional"/>
- <avprule id="CC-Correlation-Id" type="Optional"/>
- <avprule id="Redirect-Host" type="Optional" qual="*"/>
- <avprule id="Redirect-Host-Usage" type="Optional"/>
- <avprule id="Redirect-Max-Cache-Time" type="Optional"/>
- <avprule id="Proxy-Info" type="Optional" qual="*"/>
- <avprule id="Route-Record" type="Optional" qual="*"/>
- <avprule id="Failed-AVP" type="Optional" qual="*"/>
- <avprule id="Service-Information" type="Optional"/>
- <avprule id="AVP" type="Optional" qual="*"/>
- </command>
-*/
- LOGDEBUG(Logger::debug(cca.asXMLString(), ANNA_FILE_LOCATION));
-
- _exit("Open 'file.trace' in order to see traces");
+ /*
+ <command name="Credit-Control-Answer" code="272" type="Answer">
+ <avprule id="Session-Id" type="Fixed"/>
+ <avprule id="Result-Code" type="Mandatory"/>
+ <avprule id="CS-Result-Code" type="Optional"/>
+ <avprule id="CS-Dialogue-Handling" type="Optional"/>
+ <avprule id="Origin-Host" type="Mandatory"/>
+ <avprule id="Origin-Realm" type="Mandatory"/>
+ <avprule id="Auth-Application-Id" type="Mandatory"/>
+ <avprule id="CC-Request-Type" type="Mandatory"/>
+ <avprule id="CC-Request-Number" type="Mandatory"/>
+ <avprule id="Granted-Service-Unit" type="Optional"/>
+ <avprule id="Cost-Information" type="Optional"/>
+ <avprule id="Low-Balance-Indication" type="Optional"/>
+ <avprule id="Remaining-Balance" type="Optional"/>
+ <avprule id="Credit-Control-Failure-Handling" type="Optional"/>
+ <avprule id="CC-Correlation-Id" type="Optional"/>
+ <avprule id="Redirect-Host" type="Optional" qual="*"/>
+ <avprule id="Redirect-Host-Usage" type="Optional"/>
+ <avprule id="Redirect-Max-Cache-Time" type="Optional"/>
+ <avprule id="Proxy-Info" type="Optional" qual="*"/>
+ <avprule id="Route-Record" type="Optional" qual="*"/>
+ <avprule id="Failed-AVP" type="Optional" qual="*"/>
+ <avprule id="Service-Information" type="Optional"/>
+ <avprule id="AVP" type="Optional" qual="*"/>
+ </command>
+ */
+ LOGDEBUG(Logger::debug(cca.asXMLString(), ANNA_FILE_LOCATION));
+ _exit("Open 'file.trace' in order to see traces");