isupiefmt.hpp

来自「ABis无线接口全套资料」· HPP 代码 · 共 1,077 行 · 第 1/3 页

HPP
1,077
字号
 								//	NOTE - Coding of this indicator is frozen; no additional codes can be defined for compatibility.
	unsigned char epri		: 1;// Event presentation restricted indicator.
								// 0		no indication
								// 1		presentation restricted
};

struct SFacilityIndicators
{
	unsigned char fi;	// Facility indicator.
					// 0 0 0 0 0 0 0 0	spare
					// 0 0 0 0 0 0 0 1	spare
					// 0 0 0 0 0 0 1 0	user-to-user service
 					// All other values are spare.
};

struct SForwardCallIndicators
{ // Add 2005-05-04, by Wujianjin.
	unsigned short nici		: 1;// National/International call indicator.
								// 0		call to be treated as a national call
								// 1		call to be treated as an international call
	unsigned short e2emi	: 2;// End-to-End method indicator.
								// 0 0 	no end-to-end method available (only link-by-link method available)
								// 0 1 	pass-along method available (national use)
								// 1 0 	SCCP method available 
								// 1 1 	pass-along and SCCP methods available (national use)
	unsigned short ii		: 1;// Interworking indicator.
								// 0		no interworking encountered (No. 7 signalling all the way)
								// 1		interworking encountered
	unsigned short e2eii	: 1;// End-to-End information indicator.
								// 0		no end-to-end information available
								// 1		end-to-end information available
	unsigned short isupi	: 1;// ISDN user part indicator.
								// 0		ISDN user part not used all the way
								// 1		ISDN user part used all the way
	unsigned short isuppi	: 2;// ISDN user part preferred indicator.
								// 0 0	ISDN user part preferred all the way
								// 0 1	ISDN user part not required all the way
								// 1 0	ISDN user part required all the way
								// 1 1	spare
	unsigned short isdnai	: 1;// ISDN access indicator.
								// 0		originating access non-ISDN
								// 1		originating access ISDN
	unsigned short sccpmi	: 2;// SCCP method indicator.
								// 0 0	no indication
								// 0 1	connectionless method available (national use)
								// 1 0	connection oriented method available
								// 1 1	connectionless and connection oriented methods available (national use)
	unsigned short spare	: 1;// Spare.
	unsigned short reserved	: 4;	// Reserved for national used.
};

struct SGenericDigits_H
{
	unsigned char tod		: 5;// Type of digits.
								// 0 0 0 0 0	reserved for account code
								// 0 0 0 0 1	reserved for authorisation code
								// 0 0 0 1 0	reserved for private networking travelling class mark
								// 0 0 0 1 1	reserved for business communication group identity
 								// reserved for national use
								// 1 1 1 1 1	reserved for extension
	unsigned char es		: 3;// Encoding scheme.
								// 0 0 0	BCD even: (even number of digits)
								// 0 0 1	BCD odd: (odd number of digits)
								// 0 1 0	IA5 character
								// 0 1 1	binary coded
								// All other values are spre.
};

struct SGenericNotificationIndicator
{
	unsigned char ni		: 7;// Notification indicator.
								// 0 0 0 0 0 0 0	user suspended	
								// 0 0 0 0 0 0 1	user resumed	
								// 0 0 0 0 0 1 0
								// 0 0 0 0 0 1 1	bearer service change
								// discriminator for extension to ASN.1
								// encoded component	 
								// (used in DSS 1)
								// 0 0 0 0 1 0 0	call completion delay	
								// 1 0 0 0 0 1 0	conference established	
								// 1 0 0 0 0 1 1	conference disconnected	
								// 1 0 0 0 1 0 0	other party added	
								// 1 0 0 0 1 0 1	isolated	
								// 1 0 0 0 1 1 0	reattached	
								// 1 0 0 0 1 1 1	other party isolated	
								// 1 0 0 1 0 0 0	other party reattached	
								// 1 0 0 1 0 0 1	other party split	
								// 1 0 0 1 0 1 0	other party disconnected	
								// 1 0 0 1 0 1 1	conference floating	
								// 1 1 0 0 0 0 0	call is a waiting call	
								// 1 1 0 1 0 0 0	diversion activated (used in DSS 1)	
								// 1 1 0 1 0 0 1	call transfer, alerting	
								// 1 1 0 1 0 1 0	call transfer, active	
								// 1 1 1 1 0 0 1	remote hold	
								// 1 1 1 1 0 1 0	remote retrieval	
								// 1 1 1 1 0 1 1	call is diverting	
								// All other values are currently not used and are reserved for future extensions.
	unsigned char ext		: 1;// Extension indicator.
								// 0	information continues in the next octet
								// 1	last octet
};

struct SInformationIndicators
{
	unsigned char cpari		: 2;// Calling party address response indicator.
								// 0 0	calling party address not included
								// 0 1	calling party address not available
								// 1 0	spare
								// 1 1	calling party address included
	unsigned char hpi		: 1;// Hold provided indicator.
								// 0		hold not provided
								// 1		hold provided
	unsigned char spare0	: 2;// Spare.
	unsigned char cpcri		: 1;// Calling party's category response indicator.
								// 0		calling party's category not included
								// 1		calling party's category included
	unsigned char ciri		: 1;// Charge information response indicator.
								// 0		charge information not included
								// 1		charge information included
	unsigned char sii		: 1;// Solicit information indicator.
								// 0		solicited
								// 1		unsolicited
	unsigned char spare1	: 4;// Spare.
	unsigned char reserved	: 4;// Reserved.
};

struct SInformationRequestIndicators
{
	unsigned short cpari	: 1;// Calling party address request indicator.
								// 0		calling party address not requested
								// 1		calling party address requested
	unsigned short hi		: 1;// Holding indicator.
								// 0		holding not requested
								// 1		holding requested
	unsigned short spare0	: 1;// Spare
	unsigned short cpcri	: 1;// Calling party's category request indicator.
								// 0		calling party's category not requested
								// 1		calling party's category requested
	unsigned short ciri		: 1;// Charge information request indicator.
								// 0		charge information not requested
								// 1		charge information requested
	unsigned short spare1	: 2;// Spare
	unsigned short mciri	: 1;// Malicious call identification request indicator (reserved, used in ISUP'88 Blue Book)
								// 0		malicious call identification not requested
								// 1		malicious call identification requested
	unsigned short spare2	: 4;// Spare
	unsigned short reserved	: 4;
};

struct SMcidRrequestIndicators
{
	unsigned char mri		: 1;// MCID request indicator.
								// 0		MCID not requested
								// 1		MCID requested
	unsigned char hi		: 1;// Holding indicator.
								// 0		Holding not requested
								// 1		Holding requested
	unsigned char spare		: 6;// Spare.
};

struct SMcidResponseIndicators
{
	unsigned char mri		: 1;// MCID request indicator.
								// 0		MCID not included
								// 1		MCID included
	unsigned char hpi		: 1;// Holding provided indicator.
								// 0		Holding not provided
								// 1		Holding provided
	unsigned char spare		: 6;// Spare.
};

struct SMessageCompatibilityInformation
{
	unsigned char tiei		: 1;// Transit at intermediate exchange indicator
								// 0		transit interpretation
								// 1		end node interpretation
	unsigned char rci		: 1;// Release call indicator.
								// 0		do not release call
								// 1		release call
	unsigned char sni		: 1;// Send notification indicator.
								// 0		do not send notification
								// 1		send notification
	unsigned char dmi		: 1;// Discard message indicator.
								// 0		do not discard message (pass on)
								// 1		discard message
	unsigned char ponpi		: 1;// Pass on not possible indicator.
								// 0		release call
								// 1		discard information
	unsigned char bnii		: 2;// Broadband/Narrowband interworking indicator.
								// 0 0	pass on
								// 0 1	discard message
								// 1 0	release call
								// 1 1	reserved, assume 00
	unsigned char ext		: 1;// Extension indicaror.
								// 0		information continues through the next octet 
								// 1		last octet
};

struct SMlppPrecedence
{ // CHINA ISUP not used at present.
	unsigned char pl		: 4;// Precedence level.
								// 0 0 0 0	flash override
								// 0 0 0 1	flash
								// 0 0 1 0	immediate
								// 0 0 1 1	priority
								// 0 1 0 0	routine
 								// All other valuse are spare.
	unsigned char spare0	: 1;// Spare
	unsigned char lfb		: 2;// LFB allowed.
								// 0 1	Path reserved (national use)
								// 1 0	LFB not allowed
								// 1 1	spare
	unsigned char spare1	: 1;// Spare
	unsigned short ni;		// Network ID
	unsigned short msdl;	// MLPP service domain lower word.
	unsigned char msdh;	// MLPP service domain high byte.
};

struct SNatureOfConnection
{
	unsigned char si		: 2;// Satellite indicator.
								// 0 0	no satellite circuit in the connection
								// 0 1	one satellite circuit in the connection
								// 1 0	two satellite circuits in the connection
								// 1 1	spare
	unsigned char cci		: 2;// Continuity indicator.
								// 0 0	continuity check not required
								// 0 1	continuity check required on this circuit
								// 1 0	continuity check performed on a previous circuit
								// 1 1	spare
	unsigned char ecdi		: 1;// Echo control device indicator.
								// 0		outgoing echo control device not included
								// 1		outgoing echo control device included
	unsigned char reserved	: 3; // Spare.
};

// struct SNetworkSpecificFacility

struct SOptionalBackwardCallIndicators
{
	unsigned char iii		: 1;// In-band information indicator.
								// 0		no indication
								// 1		in-band information or an appropriate pattern is now available
	unsigned char cdmoi		: 1;// Call diversion may occur indicator.
								// 0		no indication
								// 1		call diversion may occur
	unsigned char ssi		: 1;// Simple segmentation indicator.
								// 0		no additional information will be sent
								// 1		additional information will be sent in a segmentation message
	unsigned char mui		: 1;// MLPP user indicator.
								// 0		no indication
								// 1		MLPP user
	unsigned char reserved	: 4;// Reserved for national used.
};

struct SOptionalForwardCallIndicators
{
	unsigned char cugci		: 2;	// Close user group call indicator.
								// 0 0	non-CUG call
								// 0 1	spare
								// 1 0	closed user group call, outgoing access allowed
								// 1 1	closed user group call, outgoing access not allowed
	unsigned char ssi			: 1;	// Simple segmentation indicator.
								// 0		no additional information will be sent
								// 1		additional information will be sent in a segmentation message
	unsigned char spare		: 4; // Spare
	unsigned char cliri			: 1;
								// 0		not requested
								// 1		requested
};

struct SIOriginationIscPointCode // ITU-T ISUP format
{
	unsigned short spc		: 14;// Signaling point code.
	unsigned short spare	: 2;	// Spare
};

struct SCOriginationIscPointCode // CHINA ISUP format
{
	unsigned short spcl;	// Signaling point code lower word.
	unsigned char spch;	// Signaling point code high byte.
};

struct SIParameterCompatibilityInformation // ITU-T ISUP format.
{
	unsigned char up;		// Update parameter.
	unsigned char tiei		: 1;// Transit at intermediate exchange indicator.
								// 0		transit interpretation
								// 1		end node interpretation
	unsigned char rci		: 1;// Release call indicator.
								// 0		do not release call
								// 1		release call
	unsigned char sni		: 1;// Send notification indicator.
								// 0		do not send notification
								// 1		send notification
	unsigned char dmi		: 1;// Discard message indicator.
								// 0		do not discard message (pass on)
								// 1		discard message
	unsigned char dpi		: 1;// Discard parameter indicator.
								// 0		do not discard parameter (pass on)
								// 1		discard parameter
	unsigned char ponpi		: 2;// Pass on not possible indicator.
								// 0 0	release call
								// 0 1	discard message
								// 1 0	discard parameter
								// 1 1	reserved (interpreted as 00)
	unsigned char ext0		: 1;// Extension indicator, default to zero.
								// 0		information continues through the next octet 
								// 1		last octet
	unsigned char bnii		: 2;// Broadband/Narrowband interworking indicator.
								// 0 0	pass on
								// 0 1	discard message
								// 1 0	release call
								// 1 1	discard parameter
	unsigned char spare		: 5;// Spare.
	unsigned char ext1		: 1;// Extension indicator, default to 1.
};

struct SCParameterCompatibilityInformation // CHINA ISUP format.
{
	unsigned char up;		// Update parameter.
	unsigned char tiei		: 1;// Transit at intermediate exchange indicator.
								// 0		transit interpretation
								// 1		end node interpretation
	unsigned char rci		: 1;// Release call indicator.
								// 0		do not release call
								// 1		release call
	unsigned char sni		: 1;// Send notification indicator.
								// 0		do not send notification
								// 1		send notification
	unsigned char dmi		: 1;// Discard message indicator.
								// 0		do not discard message (pass on)
								// 1		discard message
	unsigned char dpi		: 1;// Discard parameter indicator.
								// 0		do not discard parameter (pass on)
								// 1		discard parameter
	unsigned char bnii		: 2;// Broadband/Narrowband interworking indicator.
								// 0 0	pass on
								// 0 1	discard message
								// 1 0	release call
								// 1 1	discard parameter
	unsigned char ext0		: 1;// Extension indicator, default to 1.
};

struct SPropagationDelayCounter
{
	unsigned short pdv;	// Propagation delay value.
};

// struct SRangeAndStatus

struct SRedirectionInformation
{
	unsigned short ri		: 3;// Redirecting indicator.
								// 0 0 0	no redirection (national use)
								// 0 0 1	call rerouted (national use)
								// 0 1 0	call rerouted, all redirection information presentation restricted (national use)
								// 0 1 1	call diverted
								// 1 0 0	call diverted, all redirection information presentation restricted

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?