messagingappbase/smsmtm/servermtm/group/SMSS.rss
changeset 23 238255e8b033
equal deleted inserted replaced
5:4697dfb2d7ad 23:238255e8b033
       
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #include "smss.rls"
       
    17 #include <schsend.rh>
       
    18 #include <badef.rh>
       
    19 #include "smss.hrh"
       
    20 
       
    21 RESOURCE LBUF r_addressee_telephone_open	{txt = STRING_r_addressee_telephone_open1;}	//max 1 char
       
    22 RESOURCE LBUF r_addressee_telephone_close	{txt = STRING_r_addressee_telephone_close1;}	//max 1 char
       
    23 RESOURCE LBUF r_sender_name_format			{txt = SMS_GIVEN_NAME" "SMS_FAMILY_NAME;}
       
    24 RESOURCE LBUF r_type_status_report			{txt = STRING_r_type_status_report1;}
       
    25 
       
    26 //Special Message Indication
       
    27 
       
    28 RESOURCE LBUF r_message_indication_voicemail_one	{txt = STRING_r_message_indication_voicemail_one1;}		//max 32 chars
       
    29 RESOURCE LBUF r_message_indication_voicemail_many	{txt = STRING_r_message_indication_voicemail_many1;}	//max 32 chars
       
    30 
       
    31 RESOURCE LBUF r_message_indication_email_one		{txt = STRING_r_message_indication_email_one1;}			//max 32 chars
       
    32 RESOURCE LBUF r_message_indication_email_many		{txt = STRING_r_message_indication_email_many1;}		//max 32 chars
       
    33 
       
    34 RESOURCE LBUF r_message_indication_fax_one			{txt = STRING_r_message_indication_fax_one1;}				//max 32 chars
       
    35 RESOURCE LBUF r_message_indication_fax_many			{txt = STRING_r_message_indication_fax_many1;}			//max 32 chars
       
    36 
       
    37 RESOURCE LBUF r_message_indication_other_one		{txt = STRING_r_message_indication_other_one1;}			//max 32 chars
       
    38 RESOURCE LBUF r_message_indication_other_many		{txt = STRING_r_message_indication_other_many1;}		//max 32 chars
       
    39 
       
    40 RESOURCE SEND_ERROR_ACTIONS error_actions
       
    41 	{
       
    42 	default =
       
    43 		{
       
    44 		SEND_ERROR_ACTION
       
    45 			{
       
    46 			flags = KActionRetryLater + KRetriesFixed + KRetrySpacingStatic;
       
    47 			max_retries = 3;
       
    48 			errors =
       
    49 				{
       
    50 				SEND_ERROR {error = 0;}
       
    51 				};
       
    52 			}
       
    53 		};
       
    54 	actions =
       
    55 		{
       
    56 		SEND_ERROR_ACTION
       
    57 			{
       
    58 			flags = KActionFail;
       
    59 			errors =
       
    60 				{
       
    61 				//General Errors
       
    62 				SEND_ERROR { error = -5; },		// KErrNotSupported
       
    63 				SEND_ERROR { error = -3; },		// KErrCancel
       
    64 				
       
    65 				//SMS Errors
       
    66 				SEND_ERROR { error = -4814; },	// KErrGsmSMSOperationNotAllowed
       
    67 				SEND_ERROR { error = -5252; }	// KPKIErrKeyStoreEmpty
       
    68 				};
       
    69 			},
       
    70 		SEND_ERROR_ACTION
       
    71 			{
       
    72 			flags = KActionRetryLater + KRetriesInfinite + KRetrySpacingStatic;
       
    73 			errors =
       
    74 				{
       
    75 				//General Errors
       
    76 				SEND_ERROR { error = -4; },		// KErrNoMemory
       
    77 				SEND_ERROR { error = -26; },	// KErrDiskFull
       
    78 				SEND_ERROR { error = -42; },	// KErrBadPower
       
    79 
       
    80 				//SMS Errors
       
    81 				SEND_ERROR { error = -4529; },	// KErrGsmSMSNetworkFailure
       
    82 				SEND_ERROR { error = -4553; },	// KerrGsmSMSTemporaryFailure
       
    83 				SEND_ERROR { error = -4554; },	// KerrGsmSMSCongestion
       
    84 				SEND_ERROR { error = -4559; }	// KerrGsmSMSResourcesUnavailable
       
    85 				};
       
    86 			},
       
    87 		
       
    88 		// As per GSM 03.40 specs, its temporary Congestion error, so its better to retry later 
       
    89 		// because retry immediatly will seldom brings success.
       
    90 		SEND_ERROR_ACTION
       
    91 			{
       
    92 			flags = KActionRetryLater + KRetriesFixed + KRetrySpacingStatic;
       
    93 			max_retries = 3;
       
    94 			errors =
       
    95 				{
       
    96 				//General Errors
       
    97 				SEND_ERROR { error = -14; },	// KErrInUse
       
    98 				SEND_ERROR { error = -18; },	// KErrNotReady
       
    99 
       
   100 				//Messaging Errors
       
   101 				SEND_ERROR { error = -7000; },	// KMsvMediaUnavailable
       
   102 
       
   103 				//Socket Errors
       
   104 				SEND_ERROR { error = -190; },	// KErrNetUnreach
       
   105 
       
   106 				//SMS Errors
       
   107 				SEND_ERROR { error = -4534; },	// KerrGsmSMSMemoryCapacityExceeded
       
   108 				SEND_ERROR { error = -4539; },	// KerrGsmSMSDestinationOutOfOrder
       
   109 				SEND_ERROR { error = -4607; },	// KErrGsmSMSUnspecifiedInvalidMessage
       
   110 				SEND_ERROR { error = -4623; },	// KErrGsmSMSUnspecifiedProtocolError
       
   111 				SEND_ERROR { error = -4642; },	// KerrGsmSMSCannotReplaceShortMessage
       
   112 				SEND_ERROR { error = -4655; },	// KerrGsmSMSUnspecifiedPIDError
       
   113 				SEND_ERROR { error = -4671; },	// KerrGsmSMSUnspecifiedDCSError
       
   114 				SEND_ERROR { error = -4687; },	// KerrGsmSMSUnspecifiedCommandError
       
   115 				SEND_ERROR { error = -4704; },	// KerrGsmSMSServiceCentreBusy
       
   116 				SEND_ERROR { error = -4706; },	// KerrGsmSMSSCSystemFailure
       
   117 				SEND_ERROR { error = -4707; },	// KerrGsmSMSInvalidSMEAddress
       
   118 				SEND_ERROR { error = -4767; },	// KerrGsmSMSUnspecifiedErrorCause
       
   119 				SEND_ERROR { error = -4813; },	// KerrGsmSMSServiceOfMSReserved
       
   120 				SEND_ERROR { error = -4832; },	// KErrGsmSMSMemoryFailure
       
   121 				SEND_ERROR { error = -4833; },	// KErrGsmSMSInvalidMemoryIndex
       
   122 				SEND_ERROR { error = -4834; },	// KErrGsmSMSMemoryFull
       
   123 				SEND_ERROR { error = -4844; },	// KErrGsmSMSNetworkTimeout
       
   124 				SEND_ERROR { error = -4852; },	// KErrGsmSMSCnmaAckNotExpected
       
   125 				SEND_ERROR { error = -5012; }	// KerrGsmSMSUnknownError
       
   126 				};
       
   127 			},
       
   128 		SEND_ERROR_ACTION
       
   129 			{
       
   130 			flags = KActionRetryImmediately + KRetriesFixed + KRetrySpacingStatic;
       
   131 			max_retries = 3;
       
   132 			errors =
       
   133 				{
       
   134 				//General Errors
       
   135 				SEND_ERROR { error = -15; },	// KErrServerTerminated
       
   136 				SEND_ERROR { error = -29; },	// KErrCommsLineFail
       
   137 				SEND_ERROR { error = -30; },	// KErrCommsFrame
       
   138 				SEND_ERROR { error = -31; },	// KErrCommsOverrun 
       
   139 				SEND_ERROR { error = -32; },	// KErrCommsParity 
       
   140 				SEND_ERROR { error = -33; },	// KErrTimedOut
       
   141 
       
   142 				//ETel Errors
       
   143 				SEND_ERROR { error = -2017; },	// KErrEtelModemNotDetected
       
   144 
       
   145 				//SMS Errors
       
   146 				SEND_ERROR { error = -4533; }	// KerrGsmSMSShortMessageTransferRejected
       
   147 				};
       
   148 			}
       
   149 		};
       
   150 	}
       
   151 
       
   152 //Email SMS reply/forward format
       
   153 RESOURCE LBUF r_sms_email_forward_subject_format		{txt = STRING_r_sms_email_forward_subject_format;}	
       
   154 RESOURCE LBUF r_sms_email_reply_subject_format			{txt = STRING_r_sms_email_reply_subject_format;}
       
   155 
       
   156 RESOURCE LBUF r_message_indication_videomessage_one	        {txt = STRING_r_message_indication_videomessage_one1;}	//max 32 chars
       
   157 RESOURCE LBUF r_message_indication_videomessage_many		{txt = STRING_r_message_indication_videomessage_many1;}	//max 32 chars
       
   158 
       
   159 RESOURCE LBUF r_message_indication_enhanced_voicemail_one	{txt = STRING_r_message_indication_enhanced_voice_one1;}//max 32 chars
       
   160 RESOURCE LBUF r_message_indication_enhanced_voicemail_many	{txt = STRING_r_message_indication_enhanced_voice_many1;}//max 32 chars