/* * TeleStax, Open Source Cloud Communications * Copyright 2012, Telestax Inc and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * This software is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this software; if not, write to the Free * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA * 02110-1301 USA, or see the FSF site: http://www.fsf.org. */ package org.mobicents.protocols.ss7.inap.api.isup; import java.io.Serializable; import org.mobicents.protocols.ss7.inap.api.INAPException; import org.mobicents.protocols.ss7.isup.message.parameter.UserServiceInformation; /** * <code> bearerCapability: This parameter indicates the type of the bearer capability connection or the transmission medium requirements to the user. See IN CS2 Signalling Interworking Requirements [48]. It is a network option to select one of the two parameters to be used: - bearerCap: This parameter contains the value of the DSS1 Bearer Capability parameter (EN 300 403-1 [10]) in case the SSF is at local exchange level or the value of the ISUP User Service Information parameter (ITU-T Recommendation Q.763 [20]) in case the SSF is at transit exchange level. ETSI EN 301 140-1 V1.3.4 (1999-06) </code> * * @author sergey vetyutnev * */ public interface BearerInap extends Serializable { byte[] getData(); UserServiceInformation getUserServiceInformation() throws INAPException; // TODO: special "DSS1 Bearer Capability parameter" case - Bearer Capability // from Q.321 - from ISDN protocol byte[] getBearerCapability(); }