/*
* 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.isup.message;
import org.mobicents.protocols.ss7.isup.message.parameter.AccessDeliveryInformation;
import org.mobicents.protocols.ss7.isup.message.parameter.ApplicationTransport;
import org.mobicents.protocols.ss7.isup.message.parameter.BackwardCallIndicators;
import org.mobicents.protocols.ss7.isup.message.parameter.BackwardGVNS;
import org.mobicents.protocols.ss7.isup.message.parameter.CallHistoryInformation;
import org.mobicents.protocols.ss7.isup.message.parameter.CallReference;
import org.mobicents.protocols.ss7.isup.message.parameter.ConferenceTreatmentIndicators;
import org.mobicents.protocols.ss7.isup.message.parameter.ConnectedNumber;
import org.mobicents.protocols.ss7.isup.message.parameter.DisplayInformation;
import org.mobicents.protocols.ss7.isup.message.parameter.EchoControlInformation;
import org.mobicents.protocols.ss7.isup.message.parameter.GenericNotificationIndicator;
import org.mobicents.protocols.ss7.isup.message.parameter.GenericNumber;
import org.mobicents.protocols.ss7.isup.message.parameter.NetworkSpecificFacility;
import org.mobicents.protocols.ss7.isup.message.parameter.OptionalBackwardCallIndicators;
import org.mobicents.protocols.ss7.isup.message.parameter.ParameterCompatibilityInformation;
import org.mobicents.protocols.ss7.isup.message.parameter.PivotRoutingBackwardInformation;
import org.mobicents.protocols.ss7.isup.message.parameter.RedirectStatus;
import org.mobicents.protocols.ss7.isup.message.parameter.RedirectionNumber;
import org.mobicents.protocols.ss7.isup.message.parameter.RedirectionNumberRestriction;
import org.mobicents.protocols.ss7.isup.message.parameter.RemoteOperations;
import org.mobicents.protocols.ss7.isup.message.parameter.ServiceActivation;
import org.mobicents.protocols.ss7.isup.message.parameter.TransmissionMediumUsed;
import org.mobicents.protocols.ss7.isup.message.parameter.UserToUserIndicators;
import org.mobicents.protocols.ss7.isup.message.parameter.UserToUserInformation;
import org.mobicents.protocols.ss7.isup.message.parameter.accessTransport.AccessTransport;
/**
* Start time:09:54:07 2009-07-23<br>
* Project: mobicents-isup-stack<br>
* <TABLE id="Table5" style="FONT-SIZE: 9pt; WIDTH: 584px; HEIGHT: 72px; TEXT-ALIGN: center" cellSpacing="1" cellPadding="1" width="584" align="center" border="1">
* <TR>
* <TD style="FONT-WEIGHT: bold; WIDTH: 328px; COLOR: teal; HEIGHT: 28px; TEXT-ALIGN: center" align="center" colSpan="3">
* <TABLE id="Table34" style="WIDTH: 575px; HEIGHT: 49px" cellSpacing="1" cellPadding="1" width="575" border="0">
* <TR>
* <TD style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: teal; HEIGHT: 28px; TEXT-ALIGN: center" colSpan="3">
* ANM (Answer Message)</TD>
*
* </TR>
* <TR>
* <TD style="FONT-SIZE: 9pt; COLOR: navy" colSpan="3">
* <P>
* When the called party answers, the destination switch terminates power ringing of the called line, removes audible ringing
* tone from the calling line and sends an Answer Message (ANM) to the originating switch. The originating switch initiates
* billing after verifying that the calling party's line is connected to the reserved trunk.
* </P>
* </TD>
* </TR>
* </TABLE>
* </TD>
*
* </TR>
* <TR>
* <TD style="FONT-WEIGHT: bold; WIDTH: 283px; HEIGHT: 30px; TEXT-ALIGN: center">
* Parameter</TD>
* <TD style="FONT-WEIGHT: bold; WIDTH: 145px; HEIGHT: 30px">Type</TD>
* <TD style="FONT-WEIGHT: bold; HEIGHT: 30px">Length (octet)</TD>
* </TR>
* <TR>
*
* <TD style="WIDTH: 283px; TEXT-ALIGN: left">Message type</TD>
* <TD style="WIDTH: 145px">F</TD>
* <TD>1</TD>
* </TR>
* <TR>
* <TD style="WIDTH: 283px; TEXT-ALIGN: left">Backward Call Indicators</TD>
* <TD style="WIDTH: 145px">O</TD>
*
* <TD>4</TD>
* </TR>
* <TR>
* <TD style="WIDTH: 283px; TEXT-ALIGN: left">Optional Backward Call Indicators</TD>
* <TD style="WIDTH: 145px">O</TD>
* <TD>3</TD>
* </TR>
*
* <TR>
* <TD style="WIDTH: 283px; TEXT-ALIGN: left">Call Reference</TD>
* <TD style="WIDTH: 145px">O</TD>
* <TD>7</TD>
* </TR>
* <TR>
* <TD style="WIDTH: 283px; TEXT-ALIGN: left">User to User Indicators</TD>
*
* <TD style="WIDTH: 145px">O</TD>
* <TD>3</TD>
* </TR>
* <TR>
* <TD style="WIDTH: 283px; TEXT-ALIGN: left">User to User Information</TD>
* <TD style="WIDTH: 145px">O</TD>
* <TD>3-131</TD>
*
* </TR>
* <TR>
* <TD style="WIDTH: 283px; TEXT-ALIGN: left">Connected Number</TD>
* <TD style="WIDTH: 145px">O</TD>
* <TD>4-12</TD>
* </TR>
* <TR>
*
* <TD style="WIDTH: 283px; TEXT-ALIGN: left">Access Transport</TD>
* <TD style="WIDTH: 145px">O</TD>
* <TD>3-?</TD>
* </TR>
* <TR>
* <TD style="WIDTH: 283px; TEXT-ALIGN: left">Generic Notification Indicator</TD>
* <TD style="WIDTH: 145px">O</TD>
*
* <TD>3</TD>
* </TR>
* <TR>
* <TD style="WIDTH: 283px; TEXT-ALIGN: left">Call History Information</TD>
* <TD style="WIDTH: 145px">O</TD>
* <TD>4</TD>
* </TR>
*
* <TR>
* <TD style="WIDTH: 283px; TEXT-ALIGN: left">Transmission Medium Used</TD>
* <TD style="WIDTH: 145px">O</TD>
* <TD>3</TD>
* </TR>
* <TR>
* <TD style="WIDTH: 283px; TEXT-ALIGN: left">Generic Number</TD>
*
* <TD style="WIDTH: 145px">O</TD>
* <TD>4-12</TD>
* </TR>
* <TR>
* <TD style="WIDTH: 283px; TEXT-ALIGN: left">Echo Control Information</TD>
* <TD style="WIDTH: 145px">O</TD>
* <TD>3</TD>
*
* </TR>
* <TR>
* <TD style="WIDTH: 283px; TEXT-ALIGN: left">Access Delivery Information</TD>
* <TD style="WIDTH: 145px">O</TD>
* <TD>3</TD>
* </TR>
* <TR>
*
* <TD style="WIDTH: 283px; TEXT-ALIGN: left">Redirection Number</TD>
* <TD style="WIDTH: 145px">O</TD>
* <TD>5-12</TD>
* </TR>
* <TR>
* <TD style="WIDTH: 283px; TEXT-ALIGN: left">Parameter Compatibility Information</TD>
* <TD style="WIDTH: 145px">O</TD>
*
* <TD>4-?</TD>
* </TR>
* <TR>
* <TD style="WIDTH: 283px; TEXT-ALIGN: left">Network Specific Facility</TD>
* <TD style="WIDTH: 145px">O</TD>
* <TD>4-?</TD>
* </TR>
*
* <TR>
* <TD style="WIDTH: 283px; TEXT-ALIGN: left">Remote Operations</TD>
* <TD style="WIDTH: 145px">O</TD>
* <TD>3-?</TD>
* </TR>
* <TR>
* <TD style="WIDTH: 283px; TEXT-ALIGN: left">Service Activation</TD>
*
* <TD style="WIDTH: 145px">O</TD>
* <TD>3-?</TD>
* </TR>
* <TR>
* <TD style="WIDTH: 283px; TEXT-ALIGN: left">Redirection Number Restriction</TD>
* <TD style="WIDTH: 145px">O</TD>
* <TD>3</TD>
*
* </TR>
* <TR>
* <TD style="WIDTH: 283px; TEXT-ALIGN: left">Backward GVNS</TD>
* <TD style="WIDTH: 145px">O</TD>
* <TD>1</TD>
* </TR>
* <TR>
* <TD style="WIDTH: 283px; TEXT-ALIGN: left">Display Information</TD>
* <TD style="WIDTH: 145px">O</TD>
* <TD>1</TD>
* </TR>
* <TR>
* <TD style="WIDTH: 283px; TEXT-ALIGN: left">Conference Treatment Indicators</TD>
* <TD style="WIDTH: 145px">O</TD>
* <TD>1</TD>
* </TR>
* <TR>
* <TD style="WIDTH: 283px; TEXT-ALIGN: left">Application Transport Parameter</TD>
* <TD style="WIDTH: 145px">O</TD>
* <TD>1</TD>
* </TR>
* <TR>
* <TD style="WIDTH: 283px; TEXT-ALIGN: left">Pivot Routing Backward Information</TD>
* <TD style="WIDTH: 145px">O</TD>
* <TD>1</TD>
* </TR>
* <TR>
* <TD style="WIDTH: 283px; TEXT-ALIGN: left">Redirect Status</TD>
* <TD style="WIDTH: 145px">O</TD>
* <TD>1</TD>
* </TR>
* <TR>
* <TD style="WIDTH: 283px; TEXT-ALIGN: left">End of Optional Parameters</TD>
* <TD style="WIDTH: 145px">O</TD>
* <TD>1</TD>
* </TR>
* </TABLE>
*
* @author <a href="mailto:baranowb@gmail.com">Bartosz Baranowski </a>
*/
public interface AnswerMessage extends ISUPMessage {
/**
* Answer Message, Q.763 reference table 22 <br>
* {@link AnswerMessage}
*/
int MESSAGE_CODE = 0x09;
void setBackwardCallIndicators(BackwardCallIndicators indicators);
BackwardCallIndicators getBackwardCallIndicators();
void setOptionalBackwardCallIndicators(OptionalBackwardCallIndicators value);
OptionalBackwardCallIndicators getOptionalBackwardCallIndicators();
void setCallReference(CallReference value);
CallReference getCallReference();
void setUserToUserIndicators(UserToUserIndicators value);
UserToUserIndicators getUserToUserIndicators();
void setUserToUserInformation(UserToUserInformation value);
UserToUserInformation getUserToUserInformation();
void setConnectedNumber(ConnectedNumber value);
ConnectedNumber getConnectedNumber();
void setAccessTransport(AccessTransport value);
AccessTransport getAccessTransport();
void setGenericNotificationIndicator(GenericNotificationIndicator value);
GenericNotificationIndicator getGenericNotificationIndicator();
void setCallHistoryInformation(CallHistoryInformation value);
CallHistoryInformation getCallHistoryInformation();
void setTransmissionMediumUsed(TransmissionMediumUsed value);
TransmissionMediumUsed getTransmissionMediumUsed();
void setGenericNumber(GenericNumber value);
GenericNumber getGenericNumber();
void setEchoControlInformation(EchoControlInformation value);
EchoControlInformation getEchoControlInformation();
void setAccessDeliveryInformation(AccessDeliveryInformation value);
AccessDeliveryInformation getAccessDeliveryInformation();
void setRedirectionNumber(RedirectionNumber value);
RedirectionNumber getRedirectionNumber();
void setParameterCompatibilityInformation(ParameterCompatibilityInformation value);
ParameterCompatibilityInformation getParameterCompatibilityInformation();
void setNetworkSpecificFacility(NetworkSpecificFacility value);
NetworkSpecificFacility getNetworkSpecificFacility();
void setRemoteOperations(RemoteOperations value);
RemoteOperations getRemoteOperations();
void setServiceActivation(ServiceActivation value);
ServiceActivation getServiceActivation();
RedirectionNumberRestriction getRedirectionNumberRestriction();
void setRedirectionNumberRestriction(RedirectionNumberRestriction value);
void setBackwardGVNS(BackwardGVNS value);
BackwardGVNS getBackwardGVNS();
void setDisplayInformation(DisplayInformation value);
DisplayInformation getDisplayInformation();
void setConferenceTreatmentIndicators(ConferenceTreatmentIndicators value);
ConferenceTreatmentIndicators getConferenceTreatmentIndicators();
void setApplicationTransportParameter(ApplicationTransport value);
ApplicationTransport getApplicationTransportParameter();
void setPivotRoutingBackwardInformation(PivotRoutingBackwardInformation value);
PivotRoutingBackwardInformation getPivotRoutingBackwardInformation();
void setRedirectStatus(RedirectStatus value);
RedirectStatus getRedirectStatus();
}