} else if (PhoneAction.Type.INVITE.name().equals(type)) { handleInvite(iq);
    public void processPacket(IQ iq) {        Element element = iq.getChildElement();        String namespace = element.getNamespaceURI();        if (NAMESPACE.equals(namespace)) {            String type = element.attributeValue("type");            if (PhoneAction.Type.DIAL.name().equals(type)) {                handleDial(iq);            }            else if(PhoneAction.Type.FORWARD.name().equals(type)) {                handleForward(iq);            }            else if (PhoneAction.Type.INVITE.name().equals(type)) {                handleInvite(iq);            }        }        else if ("http://jabber.org/protocol/disco#info".equals(namespace)) {            handleDisco(iq);        }        else {            // We were given a packet we don't know how to handle, send an error back            IQ reply = IQ.createResultIQ(iq);            reply.setType(IQ.Type.error);            PacketError error = new PacketError(PacketError.Condition.feature_not_implemented,                    PacketError.Type.cancel,                    "Unknown operation");            reply.setError(error);            send(reply);        }    }