} else if (event instanceof NewExtenEvent) { NewExtenEvent neEvent = (NewExtenEvent) event;  if ("Dial".equals(neEvent.getApplication())) { getThreadPool().execute(new DialedTask(neEvent)); }
    public void handleEvent(ManagerEvent event) {        if (event instanceof ChannelEvent) {            handleChannelEvent((ChannelEvent) event);        } else if (event instanceof LinkEvent) {            getThreadPool().execute(new LinkTask((LinkEvent) event));        }    }