IS-637 je původní označení standardu, který popisuje formát SMS v CDMA sítích. Organizace 3GPP2 jej vydává pod názvem C.S0015, verze z listopadu 2012 nese název C.S0015-C v1.0.
Kapitola 3 dokumentu C.S0015-C popisuje formát PDU, které se přenáší mezi mobilním telefonem a MSC. Mezi jednotlivými MSC a mezi MSC a MC se zprávy přenášejí jako parametry MAP protokolu, popsané v X.S0004; kapitola 4 C.S0015-C platí pro přenos SMS celou mobilní sítí mezi telefonem a MC
Průchod SMS zprávy mobilní sítí V IS-41 sítích není cesta SM tak jednoduchá jako v GSM sítích:
Z MO mobilu je zpráva zaslána do Serving MSC, odtud může být poslána přes několik Tandem MSC až dorazí do Anchor MSC. Pro posílání MO zprávy mezi MSC se používá operace SMSDeliveryBackward. Teprve Anchor MSC pošle zprávu do střediska textových zpráv, které se v ANS.I standardech anglicky nazývá Message Center (MC), pomocí operace SMSDeliveryPointToPoint. Zpráva pak může být poslána do druhého MC pomocí SMSDeliveryPointToPoint. Odtud další operací SMSDeliveryPointToPoint Anchor MSC. Z něho přes případná Tandem MSC operací SMSDeliveryForward až do Serving MSC. A teprve z něj do MT mobilu.
Pokud má být zpráva doručena mobilnímu zařízení, použije MC zprávu SMSRequest pro získání adresy, na kterou má zprávu poslat (routing address). Žádost obvykle obsahuje MobileDirectoryNumber příjemce, ve staré verzi standardu však bylo uvedeno, že zpráva musí obsahovat MIN, které nemá MC kde získat.
Zkratka IS-41 MAP operace má obdobu v GSM MAP operaci SMDPP SMSDeliveryPointToPoint forwardSM SMDBACK SMSDeliveryBackward není (MSC si nepředávají SMs) SMDFWD SMSDeliveryForward není (MSC si nepředávají SMs) SMSNOT SMSNotification alertServiceCenter SMSREQ SMSRequest sendRoutingInfoForSM
V dokumentech se pro žádosti (INVOKE) používají zkratky psané velkými písmeny (např. SMDPP), pro odpovědi (RETURN RESULT) zkratky psané malými písmeny (smdpp).
Zatímco v GSM sítích prochází standardně zpráva pouze střediskem krátkých textových zpráv odesilatele, a možnost, aby zpráva procházela i SMS centrem příjemce zprávy byla doplněna dodatečně a stále vypadá jako přílepek, IS-41 umožňuje v MO zprávě v IS-41 parametru SMS_OriginationRestrictions určit, zda má být zpráva poslána na SMS centrum odesilatele (), nebo přímo na SMS centrum příjemce (). Při indirect routing (který je doporučován) zpráva prochází i SMS centrem příjemce. Pro dopravu zpráv mezi SMS centry při indirect routingu se často používá protokol SMPP.
MAP parametry týkající se SMS mají následující BER (ASN.1) kódy:
MAP parametr BER kód MobileIdentificationNumber 88 ElectronicSerialNumber 89 SMS_Address 9F 68 SMS_BearerData 9F 69 SMS_ChargeIndicator 9F 6A SMS_DestinationAddress 9F 6B SMS_MessageCount 9F 6C SMS_NotificationIndicator 9F 6D SMS_OriginalDestinationAddress 9F 6E SMS_OriginalDestination-Subaddress 9F 6F SMS_OriginalOriginatingAddress 9F 70 SMS_OriginalOriginating-Subaddress 9F 71 SMS_OriginatingAddress 9F 72 SMS_OriginationRestrictions 9F 73 SMS_TeleserviceIdentifier 9F 74 SMS_TerminationRestrictions 9F 75 SMS_MessageWaitingIndicator 9F 76 ActionCode 9F 81 00 SMS_AcessDeniedReason 9F 81 18 SMS_CauseCode 9F 81 19 NewlyAssignedMIN 9F 81 3B TemporaryReferenceNumber 9F 81 43 MobileStationIMSI 9F 82 1E NewlyAssignedIMSI 9F 82 1F ServiceIndicator 9F 82 41 InterMessageTime 9F 82 46 NewMINExtension 9F 82 48
Hodnoty SMS_AcessDeniedReason Hodnoty SMS_AcessDeniedReason (ve Wiresharku použít filtr frame contains 9F:81:18:01:xx):
Hodnota (hex) Význam 00 Not used 01 Denied Požadavek nemůže být vykonán; MS je neznámé, nebo je známé, ale nepodporuje SMS nebo pro ně není povoleno, či je pozastaveno. Notifikace nebude poslána. 02 Posponed MS je známé, ale nedosažitelné a SMSNotificationIndicator indikuje, že má být oznámeno, když se stane dostupným. Notifikace nebude poslána. 03 Unavailable MS je známé, ale nedosažitelné a SMSNotificationIndicator indikuje, že nemá být oznámeno, když se stane dostupným. Notifikace nebude poslána. 04 Invalid Chybný SMS_TeleserviceID. Notifikace nebude poslána. 05-3F Rezervováno; zpracovat stejně jako chybu 01, Denied 40-7F Rezervováno; zpracovat stejně jako chybu 02, Postponed 80-DF Rezervováno; zpracovat stejně jako chybu 03, Unavailable E0-FF Rezervováno pro rozšíření protokolu TIA/EIA-41; není-li chyba známa, zpracovat stejně jako chybu 03, Unavailable
Postponed může mít následující důvod:
MS-based SME unreachable SME is not currently available MS receiver is off MS-based SME is busy
Hodnoty SMS_CauseCode
Pokud pokus o přenos SM skončil chybou, vrátí příjemce TCAP response package obsahující Return Result pro příslušnou MAP zprávu (např. SMSDeliveryPointToPoint) obsahující na MAP úrovni parametr SMS_CauseCode, který nabývá následujících hodnot (ve Wiresharku použít filtr frame contains 9F:81:19:01:xx):
Hodnota (dec) Význam 0 Address vacant. SMS Destination Address is valid but not currently allocated to an SMS terminal. The MIN associated with a valid destination address is not known to its HLR. 1 Address translation failure. The SMS Destination Address is invalid (e.g., address is not a recognized address type, address is not for a known or possible SMS functional entity, the MIN associated with a destination MS address does not correspond to its HLR, the ESN associated with a destination MS does not match the expected value, the SMS_Destination-Address, SMS_OriginalDestinationAddress, destination MIN, or original destination subaddress does not match the address of a destination SME, etc.). 2 Network resource shortage. Network transmission failed due to lack of a network resource or link capacity. 3 Network failure. A network node failed, a link failed or a required operation failed. 4 Invalid Teleservice ID. The SMS_TeleserviceIdentifier is not known, is not supported or is not authorized by an addressed functional entity. 5 Other network problem. A network problem other than identified above. 6-31 Reserved. Treat the same as value 5, Other network problem. 32 No page response. The addressed MS-based SME is known, but it does not respond to a page. SMS Notification is not pending. 33 Destination busy. The destination MS-based SME is SMS capable, but is currently engaged in a call, a service or a call mode that precludes the use of SMS or the destination SME is congested. This value shall only be used between the MSC and the MC when allowed by bilateral agreement. SMS Notification is not pending. 34 No acknowledgment. The destination SME does not acknowledge receipt of the SMS delivery. This value may be used when terminal busy and no page response are not appropriate. SMS Notification is not pending. 35 Destination resource shortage. A required terminal resource (e.g., memory, etc.) is not available to process this message. SMS notification is not pending. 36 SMS delivery postponed. Delivery is not currently possible (e.g., No page response, Destination busy, No acknowledgment, Destination out of service, Other terminal problem), but SMS notification is pending. 37 Destination out of service. The addressed destination is out of service for an extended period of time (e.g., MS sleep, inactive, power off). SMS notification is not pending. 38 Destination no longer at this address. The MS-based SME is no longer at the temporary SMS routing address. The message sender should not re-use the temporary SMS routing address. SMS notification is not pending. 39 Other terminal problem. A terminal problem other than described above. SMS notification is not pending. 40-47 Reserved. Treat the same as value 39, Other terminal problems. 48-63 Reserved. Treat the same as value 36, SMS delivery postponed. 64 Radio interface resource shortage. There is no channel available or there is radio congestion at this time. 65 Radio interface incompatibility. The MS for an MS-based SME is operating in a mode that does not support SMS at this time. 66 Other radio interface problem. A radio interface problem to an MS-based SME other than described above. 67-95 Reserved. Treat the same as value 66, Other radio interface problem. 96 Encoding problem. The size of a parameter or field is not what is expected. 97 SMS origination denied The originating MIN is not recognized, the originating address is not allowed for the originating MIN, the ESN does not match the originating MIN, the origination is not authorized, the originating address is not recognized, etc. 98 SMS termination denied. The destination is not authorized to receive the SMS message, the MC refused the message, the destination SME refused the message, the destination is not authorized for a required supplementary service, etc. 99 Supplementary service not supported. The originating supplementary service is not known or supported, the sender is not authorized for an originating supplementary service, etc. 100 SMS not supported. SMS is not supported by an addressed functional entity. 101 Reserved. 102 Missing expected parameter An optional parameter that is required for a particular function). 103 Missing mandatory parameter. A parameter is missing that is mandatory for a particular message. 104 Unrecognized parameter value. A known parameter has a unknown or unsupported value. 105 Unexpected parameter value. A known parameter has a known, but unexpected value. 106 User Data size error. The User Data size is too large for access technology, transport network, or call mode, etc. The User Data size is not what is expected for the indicated teleservice. 107 Other general problems. 108-223 Reserved. Treat the same as value 107, Other general problems. 224-255 Reserved for TIA/EIA-41 protocol extension. If unknown, treat the same as value 107, Other general problems.
Postup při doručování CDMA SMS zpráv SMSC vyšle TCAP package queryWithPerm obsahující komponentu invokeLast s operation code 2359 (SMSRequest). Starší standardy až po N.S0005-0 v1.0 uvádějí, že SMSRequest INVOKE musí obsahovat MobileIdentificationNumber. MC však nemá žádnou možnost, jak tuto hodnotu získat, což po zavedení Mobile Number Portability (kdy MIN se nemusí rovnat MDN) vedlo k různým krkolomným řešením používajícím nestandardizované dotazy na různé databáze. X.S0004-540-E v2.0 již připouští, aby SMSRequest INVOKE posílaný z MC na HLR obsahoval MSID (tj. MIN nebo IMSI) nebo MobileDirectoryNumber, které je známé z SMS_OriginalDestinationAddress nebo obdobné adresy při použití jiného protokolu než CDMA pro submit původní zprávy.
HLR vrátí odpověď v TCAP package response se stejným identifier, jaký měl dotaz, obsahující komponentu returnResultLast, ve které je electronicSerialNumber a adresu anchor MSC příjemce v parametru sms-Address; v USA sms-Address obvykle obsahuje PC a SSN.
SMSC pak vyšle TCAP package queryWithPerm obsahující komponentu invokeLast s operation code 2357 (SMSDeliveryPointtoPoint) obsahující získané electronicSerialNumber, původní mobileIdentificationNumber na SCCP adresu vrácenou jako sms-Address (např. PC + SSN).
Na což bude odpovězeno pomocí TCAP package response obsahující komponentu returnResultLast; pokud operace skončila úspěchem, bývá MAP prázdný (tvořený pouze tagem F2 a oktetem obsahujícím délku s hodnotou 0), může však obsahovat i SMS_BearerData; pokud operace selhala, obsahuje SMS_CauseCode s číslem chyby.
Další operace, která se týká SMSC, je (2358) SMSNotification, kterou posílá HLR nebo MSC na MC nebo OTAF. Tato operace slouží k oznámení, že stav MS týkající se schopnosti přijímat SMS se změnil.
Typy zpráv Rozlišují se následující typy SMS zpráv: