Configuration Example

The following is an example configuration of the failure handling.

profile failure-handling fh1
  interface diameter
    message credit-control-initial
      failure-type any 
        retry 2
        action terminate with-term-req
      exit
      failure-type local-error
        retry 3 
        action continue local-fallback
      exit
      failure-type result-code 3000
        retry 2
        action continue discard-traffic
       exit
      exit
      failure-type result-code 4000 
        action continue retry-server-on-event
       exit
      exit
      failure-type result-code 4001-4010 
        action continue send-ccrt-on-call-termination
       exit
      exit
      failure-type result-code 4011-4020,4025,4030-4040 
        action terminate without-term-req
       exit
      exit
      failure-type exp-result-code 5000
        action terminate with-term-req
       exit
      exit
      failure-type exp-result-code 5010-5015
        action terminate
       exit
      exit
    exit
 
    message credit-control-terminate
      failure-type any 
        retry 2
        action terminate
      failure-type local-error 
        action continue retry-server-on-event
      exit
    exit
 
    message credit-control-update
      failure-type any 
        action continue send-ccrt-on-call-termination
      exit
      failure-type local-error 
        action continue discard-traffic
      exit
    exit
 
    message any
      failure-type any 
        action continue discard-traffic
      exit
      failure-type local-error 
        action continue
      exit
    exit
  exit
exit
 
profile failure-handling fh2
  interface diameter
    message credit-control-update
      failure-type any 
        retry 2
        action continue
      exit
      failure-type local-error 
        action terminate without-term-req
      exit
    exit
  exit
exit