getGateway().getATHandler().switchToCmdMode();
getGateway().getModemDriver().write("ATH\r");
getGateway().getModemDriver().getResponse();
response = event.response;
}
Service.getInstance().getNotifyQueueManager().getNotifyQueue().add(new CallNotification(getGateway(), getOriginator(response)));
//if (Service.getInstance().getCallNotification() != null) Service.getInstance().getCallNotification().process(getGateway().getGatewayId(), getOriginator(response));
}
else if (event.event == AsyncEvents.USSDRESPONSE)
{
Logger.getInstance().logDebug("Inbound USSD response detected!", null, getGateway().getGatewayId());