event.event = AsyncEvents.NOTHING;
response = event.response;
Logger.getInstance().logDebug("USSD response : " + formatLog(response), null, getGateway().getGatewayId());
if (Service.getInstance().getUSSDNotification() != null)
{
USSDResponse ussdResponse = new USSDResponse(response, getGateway().getGatewayId());
ussdResponse.setContent(getGateway().getATHandler().formatUSSDResponse(ussdResponse.getContent()));
Service.getInstance().getUSSDNotification().process(getGateway(), ussdResponse);
}
}
}
catch (InterruptedException e)