#include <q931.h>
Definition at line 223 of file q931.h.
| enum Q931::MsgTypes |
| enum Q931::CauseValues |
| enum Q931::CallStates |
| enum Q931::SignalInfo |
| void Q931::SetBearerCapabilities | ( | InformationTransferCapability | capability, | |
| unsigned | transferRate, | |||
| unsigned | codingStandard = 0, |
|||
| unsigned | userInfoLayer1 = 5 | |||
| ) |
| transferRate | Number of 64k B channels |
| codingStandard | 0 = ITU-T standardized coding |
| userInfoLayer1 | 5 = Recommendations H.221 and H.242 |
Definition at line 808 of file q931.cxx.
References BearerCapabilityIE, and SetIE().
Referenced by BuildConnect(), BuildSetup(), and H323Connection::SendSignalSetup().
| BOOL Q931::GetBearerCapabilities | ( | InformationTransferCapability & | capability, | |
| unsigned & | transferRate, | |||
| unsigned * | codingStandard = NULL, |
|||
| unsigned * | userInfoLayer1 = NULL | |||
| ) |
| transferRate | Number of 64k B channels |
Definition at line 862 of file q931.cxx.
References BearerCapabilityIE, GetIE(), and HasIE().
| void Q931::SetCause | ( | CauseValues | value, | |
| unsigned | standard = 0, |
|||
| unsigned | location = 0 | |||
| ) |
| standard | 0 = ITU-T standardized coding |
| location | 0 = User |
Definition at line 912 of file q931.cxx.
References CauseIE, and SetIE().
Referenced by H323SignalPDU::BuildReleaseComplete(), BuildStatus(), and H323Transport::HandleFirstSignallingChannelPDU().
| Q931::CauseValues Q931::GetCause | ( | unsigned * | standard = NULL, |
|
| unsigned * | location = NULL | |||
| ) | const |
| standard | 0 = ITU-T standardized coding |
| location | 0 = User |
Definition at line 921 of file q931.cxx.
References CauseIE, ErrorInCauseIE, GetIE(), and HasIE().
Referenced by H323Connection::OnReceivedReleaseComplete().
| void Q931::SetCallState | ( | CallStates | value, | |
| unsigned | standard = 0 | |||
| ) |
| standard | 0 = ITU-T standardized coding |
Definition at line 946 of file q931.cxx.
References CallState_ErrorInIE, CallStateIE, and SetIE().
Referenced by BuildStatus().
| Q931::CallStates Q931::GetCallState | ( | unsigned * | standard = NULL |
) | const |
| standard | 0 = ITU-T standardized coding |
Definition at line 958 of file q931.cxx.
References CallState_ErrorInIE, CallStateIE, GetIE(), and HasIE().
| void Q931::SetCallingPartyNumber | ( | const PString & | number, | |
| unsigned | plan = 1, |
|||
| unsigned | type = 0, |
|||
| int | presentation = -1, |
|||
| int | screening = -1 | |||
| ) |
| number | Number string |
| plan | 1 = ISDN/Telephony numbering system |
| type | 0 = Unknown number type |
| presentation | 0 = presentation allowed, -1 = no octet3a |
| screening | 0 = user provided, not screened |
Definition at line 1186 of file q931.cxx.
References CallingPartyNumberIE, and SetIE().
Referenced by H323SignalPDU::SetQ931Fields().
| BOOL Q931::GetCallingPartyNumber | ( | PString & | number, | |
| unsigned * | plan = NULL, |
|||
| unsigned * | type = NULL, |
|||
| unsigned * | presentation = NULL, |
|||
| unsigned * | screening = NULL, |
|||
| unsigned | defPresentation = 0, |
|||
| unsigned | defScreening = 0 | |||
| ) | const |
| number | Number string |
| plan | ISDN/Telephony numbering system |
| type | Number type |
| presentation | Presentation indicator |
| screening | Screening indicator |
| defPresentation | Default value if octet3a not present |
| defScreening | Default value if octet3a not present |
Definition at line 1197 of file q931.cxx.
References CallingPartyNumberIE, and GetIE().
Referenced by H323Connection::OnReceivedSignalSetup().
| void Q931::SetCalledPartyNumber | ( | const PString & | number, | |
| unsigned | plan = 1, |
|||
| unsigned | type = 0 | |||
| ) |
| number | Number string |
| plan | 1 = ISDN/Telephony numbering system |
| type | 0 = Unknown number type |
Definition at line 1211 of file q931.cxx.
References CalledPartyNumberIE, and SetIE().
Referenced by H323SignalPDU::BuildSetup(), H323Connection::SendMoreDigits(), and H323SignalPDU::SetQ931Fields().
| BOOL Q931::GetCalledPartyNumber | ( | PString & | number, | |
| unsigned * | plan = NULL, |
|||
| unsigned * | type = NULL | |||
| ) | const |
| number | Number string |
| plan | ISDN/Telephony numbering system |
| type | Number type |
Definition at line 1218 of file q931.cxx.
References CalledPartyNumberIE, and GetIE().
Referenced by H323Connection::SendSignalSetup(), and H323Connection::SetRemotePartyInfo().
| void Q931::SetRedirectingNumber | ( | const PString & | number, | |
| unsigned | plan = 1, |
|||
| unsigned | type = 0, |
|||
| int | presentation = -1, |
|||
| int | screening = -1, |
|||
| int | reason = -1 | |||
| ) |
| number | Number string |
| plan | 1 = ISDN/Telephony numbering system |
| type | 0 = Unknown number type |
| presentation | 0 = presentation allowed, -1 = no octet3a |
| screening | 0 = user provided, not screened |
| reason | 0 = Unknown reason , -1 = no octet 3b |
Definition at line 1225 of file q931.cxx.
References RedirectingNumberIE, and SetIE().
| BOOL Q931::GetRedirectingNumber | ( | PString & | number, | |
| unsigned * | plan = NULL, |
|||
| unsigned * | type = NULL, |
|||
| unsigned * | presentation = NULL, |
|||
| unsigned * | screening = NULL, |
|||
| unsigned * | reason = NULL, |
|||
| unsigned | defPresentation = 0, |
|||
| unsigned | defScreening = 0, |
|||
| unsigned | defReason = 0 | |||
| ) | const |
| number | Number string |
| plan | ISDN/Telephony numbering system |
| type | Number type |
| presentation | Presentation indicator |
| screening | Screening indicator |
| reason | Reason for redirection |
| defPresentation | Default value if octet3a not present |
| defScreening | Default value if octet3a not present |
| defReason | Default value if octet 3b not present |
Definition at line 1237 of file q931.cxx.
References GetIE(), and RedirectingNumberIE.
| void Q931::SetConnectedNumber | ( | const PString & | number, | |
| unsigned | plan = 1, |
|||
| unsigned | type = 0, |
|||
| int | presentation = -1, |
|||
| int | screening = -1, |
|||
| int | reason = -1 | |||
| ) |
| number | Number string |
| plan | 1 = ISDN/Telephony numbering system |
| type | 0 = Unknown number type |
| presentation | 0 = presentation allowed, -1 = no octet3a |
| screening | 0 = user provided, not screened |
| reason | 0 = Unknown reason , -1 = no octet 3b |
Definition at line 1269 of file q931.cxx.
References ConnectedNumberIE, and SetIE().
| BOOL Q931::GetConnectedNumber | ( | PString & | number, | |
| unsigned * | plan = NULL, |
|||
| unsigned * | type = NULL, |
|||
| unsigned * | presentation = NULL, |
|||
| unsigned * | screening = NULL, |
|||
| unsigned * | reason = NULL, |
|||
| unsigned | defPresentation = 0, |
|||
| unsigned | defScreening = 0, |
|||
| unsigned | defReason = 0 | |||
| ) | const |
| number | Number string |
| plan | ISDN/Telephony numbering system |
| type | Number type |
| presentation | Presentation indicator |
| screening | Screening indicator |
| reason | Reason for redirection |
| defPresentation | Default value if octet3a not present |
| defScreening | Default value if octet3a not present |
| defReason | Default value if octet 3b not present |
Definition at line 1253 of file q931.cxx.
References ConnectedNumberIE, and GetIE().
| void Q931::SetChannelIdentification | ( | unsigned | interfaceType = 0, |
|
| unsigned | preferredOrExclusive = 0, |
|||
| int | channelNumber = 1 | |||
| ) |
Set the limitations to ChannelIdentification.
| interfaceType | 0 = basic, 1 = other (e.g. primary) |
| preferredOrExclusive | 0 = preferred, 1 = exclusive |
| channelNumber | -1 = any, 0 = none/D, 1 = channel 1/B1, etc. 1-15,17-31 |
Definition at line 1281 of file q931.cxx.
References ChannelIdentificationIE, and SetIE().
| BOOL Q931::GetChannelIdentification | ( | unsigned * | interfaceType = NULL, |
|
| unsigned * | preferredOrExclusive = NULL, |
|||
| int * | channelNumber = NULL | |||
| ) | const |
Get the limitations to ChannelIdentification.
| interfaceType | Interface type |
| preferredOrExclusive | Channel negotiation preference |
| channelNumber | Channel number |
Definition at line 1330 of file q931.cxx.
References ChannelIdentificationIE, GetIE(), and HasIE().
1.5.2