libisdn
|
Go to the source code of this file.
L3INT Q931AckConnect | ( | struct Q931_Call * | call | ) |
Definition at line 535 of file Q931api.c.
References Q931mes_Generic::CRV, Q931mes_Generic::CRVFlag, L3UCHAR, Q931mes_Generic::MesType, Q931CallGetCRV(), Q931CallGetTrunk(), Q931CallIsOutgoing(), Q931InitMesGeneric(), Q931L4BUF, Q931mes_CONNECT_ACKNOWLEDGE, Q931Tx32(), and Q931mes_Generic::Size.
Referenced by Q931ProcConnectTE().
L3INT Q931AckRestart | ( | Q931_TrunkInfo_t * | trunk, |
Q931mes_Generic * | msg | ||
) |
Definition at line 500 of file Q931api.c.
References Q931ie_RestartInd::Class, Q931mes_Generic::CRVFlag, Q931ie_RestartInd::IEId, L3INT, L3UCHAR, Q931mes_Generic::MesType, Q931_MSG_FROM_L4, Q931AppendIE(), Q931GetGlobalCall(), Q931ie_RESTART_INDICATOR, Q931mes_RESTART_ACKNOWLEDGE, Q931Proc(), and Q931mes_Generic::RestartInd.
Referenced by Q931ProcRestartNT(), and Q931ProcRestartTE().
L3INT Q931AckService | ( | Q931_TrunkInfo_t * | trunk, |
Q931mes_Generic * | msg | ||
) |
Definition at line 549 of file Q931api.c.
References Q931mes_Generic::CRV, Q931mes_Generic::CRVFlag, Q931mes_Generic::MesType, Q931_MSG_FROM_L4, Q931GetGlobalCall(), Q931mes_SERVICE_ACKNOWLEDGE, and Q931Proc().
L3INT Q931AckSetup | ( | Q931_TrunkInfo_t * | trunk, |
Q931mes_Generic * | msg | ||
) |
Definition at line 521 of file Q931api.c.
References Q931mes_Generic::MesType, Q931_MSG_FROM_L4, Q931GetGlobalCall(), Q931mes_SETUP_ACKNOWLEDGE, and Q931Proc().
Referenced by Q931ProcSetupNT(), and Q931ProcSetupTE().
Q931_API ie Q931AppendIE | ( | Q931mes_Generic * | msg, |
L3UCHAR * | pi | ||
) |
Definition at line 181 of file Q931api.c.
References Q931mes_Generic::buf, L3INT, L3UCHAR, and Q931mes_Generic::Size.
Referenced by Q931AckRestart(), Q931CallSendStatus(), Q931ProcStatusTE(), Q931ProcTimeoutT304TE(), Q931ProcTimeoutT305TE(), Q931ProcTimeoutT308TE(), Q931ProcTimeoutT310TE(), Q931ProcTimeoutT313TE(), Q931ProcTimeoutT318TE(), Q931Release(), Q931ReleaseComplete(), Q931Start(), and Q931StatusEnquiryResponse().
L3INT Q931CallSendStatus | ( | const struct Q931_Call * | call, |
const L3UCHAR | causeval | ||
) |
Send STATUS message with cause code.
Q931CallSendStatus
[in] | call | Q.931 call handle |
[in] | causeval | Q.850 cause code |
Definition at line 464 of file Q931api.c.
References Q931ie_CallState::CallState, Q931mes_Generic::CallState, Q931mes_Generic::Cause, Q931ie_CallState::CodStand, Q931ie_Cause::CodStand, Q931mes_Generic::CRVFlag, Q931ie_Cause::Diag, Q931ie_CallState::IEId, Q931ie_Cause::IEId, L3UCHAR, Q931ie_Cause::Location, Q931mes_Generic::MesType, Q931_CODING_ITU, Q931AppendIE(), Q931CallGetState(), Q931CallGetTrunk(), Q931CallIsOutgoing(), Q931ie_CALL_STATE, Q931ie_CAUSE, Q931InitMesGeneric(), Q931L4BUF, Q931mes_STATUS, Q931Tx32(), Q931ie_Cause::Recom, Q931ie_CallState::Size, Q931ie_Cause::Size, Q931mes_Generic::Size, and Q931ie_Cause::Value.
L3INT Q931Disconnect | ( | Q931_TrunkInfo_t * | trunk, |
L3INT | iTo, | ||
L3INT | iCRV, | ||
L3INT | iCause | ||
) |
Definition at line 357 of file Q931api.c.
Referenced by Q931ProcSetupNT(), Q931ProcSetupTE(), and Q931Rx23().
L3INT Q931GetMesSize | ( | Q931mes_Generic * | msg | ) |
Definition at line 164 of file Q931api.c.
References Q931mes_Generic::buf, L3INT, and L3UCHAR.
Referenced by Q931InitMesGeneric(), Q931InitMesRestartAck(), and Q931InitMesResume().
L3INT Q931GetUniqueCRV | ( | Q931_TrunkInfo_t * | trunk | ) |
Definition at line 196 of file Q931api.c.
References L3INT, Q931_TrunkInfo::LastCRV, Q931_BRI_MAX_CRV, Q931_IS_BRI, Q931_PRI_MAX_CRV, and Q931GetCallByCRV().
Referenced by Q931CallNew().
Definition at line 236 of file Q931api.c.
References Q931ie_BearerCap::IEId, Q931ie_BearerCap::ITR, Q931ie_BEARER_CAPABILITY, and Q931ie_BearerCap::Size.
Definition at line 317 of file Q931api.c.
References Q931ie_CalledNum::IEId, Q931ie_CALLED_PARTY_NUMBER, and Q931ie_CalledNum::Size.
Definition at line 325 of file Q931api.c.
References Q931ie_CalledSub::IEId, Q931ie_CALLED_PARTY_SUBADDRESS, and Q931ie_CalledSub::Size.
Definition at line 301 of file Q931api.c.
References Q931ie_CallingNum::IEId, Q931ie_CALLING_PARTY_NUMBER, and Q931ie_CallingNum::Size.
Definition at line 309 of file Q931api.c.
References Q931ie_CallingSub::IEId, Q931ie_CALLING_PARTY_SUBADDRESS, and Q931ie_CallingSub::Size.
Q931_API L3INT Q931InitIEChanID | ( | Q931ie_ChanID * | ie | ) |
Definition at line 245 of file Q931api.c.
References Q931ie_ChanID::IEId, Q931ie_CHANNEL_IDENTIFICATION, and Q931ie_ChanID::Size.
Referenced by Q931Start().
Definition at line 277 of file Q931api.c.
References Q931ie_DateTime::IEId, Q931ie_DATETIME, and Q931ie_DateTime::Size.
Q931_API L3INT Q931InitIEDisplay | ( | Q931ie_Display * | ie | ) |
Definition at line 269 of file Q931api.c.
References Q931ie_Display::IEId, Q931ie_DISPLAY, and Q931ie_Display::Size.
Q931_API L3INT Q931InitIEHLComp | ( | Q931ie_HLComp * | ie | ) |
Definition at line 349 of file Q931api.c.
References Q931ie_HLComp::IEId, Q931ie_HIGH_LAYER_COMPATIBILITY, and Q931ie_HLComp::Size.
Definition at line 285 of file Q931api.c.
References Q931ie_KeypadFac::IEId, Q931ie_KEYPAD_FACILITY, and Q931ie_KeypadFac::Size.
Q931_API L3INT Q931InitIELLComp | ( | Q931ie_LLComp * | ie | ) |
Definition at line 341 of file Q931api.c.
References Q931ie_LLComp::IEId, Q931ie_LOW_LAYER_COMPATIBILITY, and Q931ie_LLComp::Size.
Q931_API L3INT Q931InitIENetFac | ( | Q931ie_NetFac * | ie | ) |
Definition at line 261 of file Q931api.c.
References Q931ie_NetFac::IEId, Q931ie_NETWORK_SPECIFIC_FACILITIES, and Q931ie_NetFac::Size.
Q931_API L3INT Q931InitIEProgInd | ( | Q931ie_ProgInd * | ie | ) |
Definition at line 253 of file Q931api.c.
References Q931ie_ProgInd::IEId, Q931ie_PROGRESS_INDICATOR, and Q931ie_ProgInd::Size.
Q931_API L3INT Q931InitIESignal | ( | Q931ie_Signal * | ie | ) |
Definition at line 293 of file Q931api.c.
References Q931ie_Signal::IEId, Q931ie_SIGNAL, and Q931ie_Signal::Size.
Definition at line 333 of file Q931api.c.
References Q931ie_TransNetSel::IEId, Q931ie_TRANSIT_NETWORK_SELECTION, and Q931ie_TransNetSel::Size.
Q931_API L3INT Q931InitMesGeneric | ( | Q931mes_Generic * | msg | ) |
Definition at line 210 of file Q931api.c.
References Q931mes_Generic::ProtDisc, Q931GetMesSize(), and Q931mes_Generic::Size.
Referenced by Q931AckConnect(), Q931CallSendStatus(), Q931ProcStatusTE(), Q931ProcTimeoutT304TE(), Q931ProcTimeoutT305TE(), Q931ProcTimeoutT308TE(), Q931ProcTimeoutT310TE(), Q931ProcTimeoutT313TE(), Q931ProcTimeoutT318TE(), Q931Release(), Q931ReleaseComplete(), Q931Rx23(), Q931Start(), and Q931StatusEnquiryResponse().
Definition at line 227 of file Q931api.c.
References Q931mes_Generic::MesType, Q931mes_Generic::ProtDisc, Q931GetMesSize(), Q931mes_RESTART_ACKNOWLEDGE, and Q931mes_Generic::Size.
Q931_API L3INT Q931InitMesResume | ( | Q931mes_Generic * | msg | ) |
Definition at line 218 of file Q931api.c.
References Q931mes_Generic::MesType, Q931mes_Generic::ProtDisc, Q931GetMesSize(), Q931mes_RESUME, and Q931mes_Generic::Size.
Q931_API L3INT Q931InitTrunk | ( | Q931_TrunkInfo_t * | trunk, |
Q931Dialect_t | Dialect, | ||
Q931NetUser_t | NetUser, | ||
Q931_TrunkType_t | TrunkType, | ||
Q931Tx34CB_t | Q931Tx34CBProc, | ||
Q931Tx32CB_t | Q931Tx32CBProc, | ||
Q931ErrorCB_t | Q931ErrorCBProc, | ||
void * | PrivateData32, | ||
void * | PrivateData34 | ||
) |
Definition at line 46 of file Q931api.c.
References Q931_TrunkInfo::_charray::Available, Q931_TrunkInfo::call, Q931_TrunkInfo::ch, Q931_TrunkInfo::_charray::ChanType, Q931_TrunkInfo::Dialect, Q931_TrunkInfo::Enabled, Q931_Call::InUse, Q931_TrunkInfo::LastCRV, Q931_TrunkInfo::NetUser, Q931_TrunkInfo::PrivateData32, Q931_TrunkInfo::PrivateData34, Q931_ChType_B, Q931_ChType_D, Q931_ChType_NotUsed, Q931_ChType_Sync, Q931_TrType_BRI, Q931_TrType_BRI_PTMP, Q931_TrType_E1, Q931_TrType_J1, Q931_TrType_T1, Q931DialectGet(), Q931_TrunkInfo::Q931ErrorCBProc, Q931MAXCHPERTRUNK, Q931_TrunkInfo::Q931Tx32CBProc, Q931_TrunkInfo::Q931Tx34CBProc, Q931_Call::Trunk, Q931_TrunkInfo::TrunkState, and Q931_TrunkInfo::TrunkType.
L3INT Q931Release | ( | Q931_TrunkInfo_t * | trunk, |
struct Q931_Call * | call, | ||
L3UCHAR | causeval | ||
) |
Definition at line 367 of file Q931api.c.
References Q931mes_Generic::Cause, Q931ie_Cause::CodStand, Q931mes_Generic::CRV, Q931mes_Generic::CRVFlag, Q931ie_Cause::Diag, Q931ie_Cause::IEId, L3UCHAR, Q931ie_Cause::Location, Q931mes_Generic::MesType, Q931_CODING_ITU, Q931_DIRECTION_INBOUND, Q931AppendIE(), Q931CallGetCRV(), Q931CallGetDirection(), Q931ie_CAUSE, Q931InitMesGeneric(), Q931L4BUF, Q931mes_RELEASE, Q931Tx32(), Q931ie_Cause::Recom, Q931ie_Cause::Size, Q931mes_Generic::Size, and Q931ie_Cause::Value.
L3INT Q931ReleaseComplete | ( | Q931_TrunkInfo_t * | trunk, |
struct Q931_Call * | call, | ||
L3UCHAR | causeval | ||
) |
Definition at line 394 of file Q931api.c.
References Q931mes_Generic::Cause, Q931ie_Cause::CodStand, Q931mes_Generic::CRV, Q931mes_Generic::CRVFlag, Q931ie_Cause::Diag, Q931ie_Cause::IEId, L3UCHAR, Q931ie_Cause::Location, Q931mes_Generic::MesType, Q931_CODING_ITU, Q931_DIRECTION_INBOUND, Q931AppendIE(), Q931CallGetCRV(), Q931CallGetDirection(), Q931ie_CAUSE, Q931InitMesGeneric(), Q931L4BUF, Q931mes_RELEASE_COMPLETE, Q931Tx32(), Q931ie_Cause::Recom, Q931ie_Cause::Size, Q931mes_Generic::Size, and Q931ie_Cause::Value.
Referenced by Q931ProcReleaseCompleteTE(), Q931ProcReleaseNT(), and Q931ProcReleaseTE().
L3INT Q931Send | ( | struct Q931_Call * | call, |
Q931mes_Generic * | msg, | ||
L3INT | bcast | ||
) |
Definition at line 528 of file Q931api.c.
References Q931CallGetTrunk(), Q931Tx32(), and Q931mes_Generic::Size.
Q931_API L3INT Q931Start | ( | Q931_TrunkInfo_t * | trunk | ) |
Start Q.931 Trunk (Send RESTART)
Definition at line 132 of file Q931api.c.
References Q931mes_Generic::ChanID, Q931ie_RestartInd::Class, Q931ie_ChanID::CodStand, Q931mes_Generic::CRV, Q931ie_RestartInd::IEId, Q931ie_ChanID::IntType, L3UCHAR, Q931mes_Generic::MesType, Q931_IS_PRI, Q931_MSG_FROM_L4, Q931AppendIE(), Q931GetGlobalCall(), Q931ie_RESTART_INDICATOR, Q931InitIEChanID(), Q931InitMesGeneric(), Q931L4BUF, Q931mes_RESTART, Q931Proc(), Q931mes_Generic::RestartInd, and Q931ie_RestartInd::Size.
L3INT Q931StatusEnquiryResponse | ( | Q931_TrunkInfo_t * | trunk, |
struct Q931_Call * | call, | ||
L3UCHAR | causeval | ||
) |
Definition at line 421 of file Q931api.c.
References Q931ie_CallState::CallState, Q931mes_Generic::CallState, Q931mes_Generic::Cause, Q931ie_CallState::CodStand, Q931ie_Cause::CodStand, Q931mes_Generic::CRV, Q931mes_Generic::CRVFlag, Q931ie_Cause::Diag, Q931ie_CallState::IEId, Q931ie_Cause::IEId, L3UCHAR, Q931ie_Cause::Location, Q931mes_Generic::MesType, Q931_CODING_ITU, Q931_DIRECTION_INBOUND, Q931AppendIE(), Q931CallGetCRV(), Q931CallGetDirection(), Q931CallGetState(), Q931ie_CALL_STATE, Q931ie_CAUSE, Q931InitMesGeneric(), Q931L4BUF, Q931mes_STATUS, Q931Tx32(), Q931ie_Cause::Recom, Q931ie_CallState::Size, Q931ie_Cause::Size, Q931mes_Generic::Size, and Q931ie_Cause::Value.
Referenced by Q931ProcStatusEnquiryNT(), Q931ProcStatusEnquiryTE(), and Q931Rx23().