extension = parser.nextText();
callerId = parser.nextText(); } else if ("callerIDName".equals(parser.getName()) && parser.getEventType() == XmlPullParser.START_TAG) {  callerIdName = parser.nextText();
    private OnPhoneEvent createOnPhoneEvent(XmlPullParser parser,                                            String callID, String device    )            throws XmlPullParserException, IOException {        String extension = null;        while (!isDone(parser)) {            if ("extension".equals(parser.getName()) &&                    parser.getEventType() == XmlPullParser.START_TAG) {                extension = parser.nextText();            }            else if ("callerID".equals(parser.getName()) &&                    parser.getEventType() == XmlPullParser.START_TAG) {                extension = parser.nextText();            }            else {                parser.next(); //keep parsing until we find something useful            }        }        return new OnPhoneEvent(callID, device, extension);    }