1、Information technology UPnP Device Architecture Part 26-12:Telephony device control protocol Level 2 Messaging serviceTechnologies de linformation Architecture de dispositif UPnP Partie 26-12:Protocole de contrle de dispositif de tlphonie Niveau 2 Service de messagerieINTERNATIONAL STANDARDISO/IEC 2
2、9341-26-12Reference numberISO/IEC 29341-26-12:2017(E)First edition2017-09 ISO/IEC 2017 ii ISO/IEC 2017 All rights reservedCOPYRIGHT PROTECTED DOCUMENT ISO/IEC 2017,Published in SwitzerlandAll rights reserved.Unless otherwise specified,no part of this publication may be reproduced or utilized otherwi
3、se in any form or by any means,electronic or mechanical,including photocopying,or posting on the internet or an intranet,without prior written permission.Permission can be requested from either ISO at the address below or ISOs member body in the country of the requester.ISO copyright officeCh.de Bla
4、ndonnet 8 CP 401CH-1214 Vernier,Geneva,SwitzerlandTel.+41 22 749 01 11Fax+41 22 749 09 47copyrightiso.orgwww.iso.orgISO/IEC 29341-26-12:2017(E)ISO/IEC 29341-26-12:2017(E)ISO/IEC 2017 All rights reserved iii CONTENTS 1Scope.vi2Normative references.13Terms,definitions,symbols and abbreviated terms.24N
5、otations and conventions.44.1Text conventions.44.2Data Types.44.3Vendor-defined Extensions.55Service Modeling Definitions.55.1Service Type.55.2Messaging Service Architecture.55.3State Variables.65.3.1State Variable Overview.65.3.2A_ARG_TYPE_MessagingCapabilities.75.3.3NewMessages.85.3.4SessionUpdate
6、s.95.3.5A_ARG_TYPE_TelephonyServerIdentity.105.3.6A_ARG_TYPE_MessageID.105.3.7A_ARG_TYPE_MessageClass.115.3.8A_ARG_TYPE_MessageFolder.115.3.9A_ARG_TYPE_MessageStatus.125.3.10A_ARG_TYPE_Message.125.3.11A_ARG_TYPE_MessageList.155.3.12A_ARG_TYPE_SessionID.165.3.13A_ARG_TYPE_SessionClass.165.3.14A_ARG_T
7、YPE_RecipientsList.175.3.15A_ARG_TYPE_SessionInfo.185.3.16A_ARG_TYPE_SessionsList.205.3.17A_ARG_TYPE_SupportedContentType.215.3.18A_ARG_TYPE_Subject.225.3.19A_ARG_TYPE_SessionStatus.225.3.20A_ARG_TYPE_FileInfoList.225.4Eventing and Moderation.245.4.1Eventing of NewMessages.245.4.2Eventing of Session
8、Updates.245.5Actions.255.5.1GetTelephonyIdentity().265.5.2GetMessagingCapabilities().275.5.3GetNewMessages().285.5.4SearchMessages().295.5.5ReadMessage().305.5.6SendMessage().315.5.7DeleteMessage().335.5.8CreateSession().34ISO/IEC 29341-26-12:2017(E)iv ISO/IEC 2017 All rights reserved 5.5.9ModifySes
9、sion().355.5.10AcceptSession().365.5.11GetSessionUpdates().375.5.12GetSessions().385.5.13JoinSession().395.5.14LeaveSession().405.5.15CloseSession().415.5.16StartFileTransfer().425.5.17CancelFileTransfer().435.5.18GetFileTransferSession().445.5.19Error Code Summary.455.6Service Behavioral Model.465.
10、6.1State Diagrams.466XML Service Description.47Annex A(normative)XML complex type peerType.56Annex B(normative)XML Schema.60Annex C(informative)Theory of Operation.64Annex D(informative)Bibliography.69 Figure 1 Architecture of the Messaging Service.5Figure 2 Lifecycle of Messages.46Figure 3 Lifecycl
11、e of Sessions.47Figure C.1 Message handling.64Figure C.2 Session handling in the Session Mode Messaging.66Figure C.3 Incoming Session handling in the Session Mode Messaging.66Figure C.4 File Transfer Session handling.67Figure C.5 File Transfer Session handling.68 Table 1 State Variables.6Table 2 All
12、owed values for sessionEvent and the corresponding values of the sessionStatus.9Table 3 allowedValueList for the A_ARG_TYPE_MessageClass state variable.11Table 4 allowedValueList for the A_ARG_TYPE_MessageFolder state variable.12Table 5 allowedValueList for the A_ARG_TYPE_MessageStatus state variabl
13、e.12Table 6 allowedValueList for the A_ARG_TYPE_SessionClass state variable.16Table 7 allowedValueList for the A_ARG_TYPE_SessionStatus state variable.22Table 8 Event Moderation.24Table 9 Actions.25Table 10 Arguments for GetTelephonyIdentity().26Table 11 Error Codes for GetTelephonyIdentity().27Tabl
14、e 12 Arguments for GetMessagingCapabilities().27Table 13 Error Codes for GetMessagingCapabilities().28Table 14 Arguments for GetNewMessages().28Table 15 Error Codes for GetNewMessages.29ISO/IEC 29341-26-12:2017(E)ISO/IEC 2017 All rights reserved v Table 16 Arguments for SearchMessages().29Table 17 E
15、rror Codes for SearchMessages().30Table 18 Arguments for ReadMessage().31Table 19 Error Codes for ReadMessage().31Table 20 Arguments for SendMessage().32Table 21 Error Codes for SendMessage().33Table 22 Arguments for DeleteMessage().33Table 23 Error Codes for DeleteMessage().34Table 24 Arguments for
16、 CreateSession().34Table 25 Error Codes for CreateSession().35Table 26 Arguments for ModifySession().35Table 27 Error Codes for ModifySession().36Table 28 Arguments for AcceptSession().36Table 29 Error Codes for AcceptSession().37Table 30 Arguments for GetSessionUpdates().37Table 31 Error Codes for GetSessionUpdates().38Table 32 Arguments for GetSessions().38Table 33 Error Codes for GetSessions().39Table 34 Arguments for JoinSession().39Table 35 Error Codes for JoinSession().40Table 36 Arguments