6.1.4. FirstUseHook Previous topic Parent topic Child topic Next topic

This hook will be called when the subscriber's quota still at the initial value and DCC (Diameter Credit-Control) message is received. The quota is initialised typically when during the first use or subsequently when the remaining quota is initialised by provisioning system or for some other external reason.
The default hook will log the event, but you may change the hook to call send SMS, call an external process or do any other action.
The following arguments are passed to the hook in the following order:
  • Reference to this AuthBy
  • Reference to the current OCSmsg
  • Amount of quota left after this reservation