84 KTAMESIN, |
84 KTAMESIN, |
85 "CALL: CPESupplementaryServcesMonitor::BarringEventOccurred aBarringEvent %d", |
85 "CALL: CPESupplementaryServcesMonitor::BarringEventOccurred aBarringEvent %d", |
86 aBarringEvent ); |
86 aBarringEvent ); |
87 switch( aBarringEvent ) |
87 switch( aBarringEvent ) |
88 { |
88 { |
89 case ECCESsIncomingCallBarred: /** Incoming call is barred. (DoCoMo) */ |
89 case ECCESsIncomingCallBarred: /** Incoming call is barred. (DoCoMo) */ |
90 case ECCESsAnonymousCallBarred: /** Anonymous call barring. */ |
90 case ECCESsAnonymousCallBarred: /** Anonymous call barring. */ |
91 case ECCESsOutgoingCallBarred: /** Outgoing call barring */ |
91 case ECCESsOutgoingCallBarred: /** Outgoing call barring */ |
92 iOwner.SendMessage( MEngineMonitor::EPEMessageCallBarred, KPECallIdNotUsed ); |
92 iOwner.SendMessage( MEngineMonitor::EPEMessageCallBarred, KPECallIdNotUsed ); |
93 break; |
93 break; |
94 |
94 |
95 default: |
95 default: |
96 break; |
96 break; |
97 } |
97 } |
98 } |
98 } |
99 |
99 |
100 |
100 |
101 // ----------------------------------------------------------------------------- |
101 // ----------------------------------------------------------------------------- |
102 // CPESupplementaryServicesMonitor::CLIEventOccurred |
102 // CPESupplementaryServicesMonitor::CLIEventOccurred |
103 // ----------------------------------------------------------------------------- |
103 // ----------------------------------------------------------------------------- |
104 // |
104 // |
105 EXPORT_C void CPESupplementaryServicesMonitor::CLIEventOccurred( |
105 EXPORT_C void CPESupplementaryServicesMonitor::CLIEventOccurred( |
106 const MCCESsObserver::TCCESsCLIEvent aCallLineEvent ) |
106 const MCCESsObserver::TCCESsCLIEvent aCallLineEvent ) |
107 { |
107 { |
108 |
108 |
109 switch( aCallLineEvent ) |
109 switch( aCallLineEvent ) |
110 { |
110 { |
111 case ECCESsTempClirSuppressUnsuccessful: /** Temporary CLIR suppression was unsuccessful */ |
111 case ECCESsTempClirSuppressUnsuccessful: /** Temporary CLIR suppression was unsuccessful */ |
112 iOwner.SendMessage( MEngineMonitor::EPEMessageTempClirSuppressUnsuccessful, KPECallIdNotUsed ); |
112 iOwner.SendMessage( MEngineMonitor::EPEMessageTempClirSuppressUnsuccessful, KPECallIdNotUsed ); |
113 break; |
113 break; |
114 |
114 |
115 case ECCESsTempClirActivationUnsuccessful: /** Temporary CLIR activation was unsuccessful*/ |
115 case ECCESsTempClirActivationUnsuccessful: /** Temporary CLIR activation was unsuccessful*/ |
116 iOwner.SendMessage( MEngineMonitor::EPEMessageTempClirActivationUnsuccessful, KPECallIdNotUsed ); |
116 iOwner.SendMessage( MEngineMonitor::EPEMessageTempClirActivationUnsuccessful, KPECallIdNotUsed ); |
117 break; |
117 break; |
118 |
118 |
119 default: |
119 default: |
120 break; |
120 break; |
121 } |
121 } |
122 |
122 |
123 } |
123 } |
124 |
124 |
125 // ----------------------------------------------------------------------------- |
125 // ----------------------------------------------------------------------------- |
126 // CPESupplementaryServicesMonitor::CallForwardEventOccurred |
126 // CPESupplementaryServicesMonitor::CallForwardEventOccurred |
127 // ----------------------------------------------------------------------------- |
127 // ----------------------------------------------------------------------------- |
128 // |
128 // |
129 EXPORT_C void CPESupplementaryServicesMonitor::CallForwardEventOccurred( |
129 EXPORT_C void CPESupplementaryServicesMonitor::CallForwardEventOccurred( |
130 const MCCESsObserver::TCCESsCallForwardEvent aCallForwardEvent, |
130 const MCCESsObserver::TCCESsCallForwardEvent aCallForwardEvent, |
131 const TDesC& /*aRemoteAddress*/ ) |
131 const TDesC& /*aRemoteAddress*/ ) |
132 { |
132 { |
133 TEFLOGSTRING2( |
133 TEFLOGSTRING2( |
134 KTAMESIN, |
134 KTAMESIN, |
135 "CALL: CPESupplementaryServcesMonitor::CallForwardEventOccurred aCallForwardEvent %d", |
135 "CALL: CPESupplementaryServcesMonitor::CallForwardEventOccurred aCallForwardEvent %d", |
136 aCallForwardEvent ); |
136 aCallForwardEvent ); |
137 switch( aCallForwardEvent ) |
137 switch( aCallForwardEvent ) |
138 { |
138 { |
139 case ECCESsIncCallIsForw: /** Incoming call is forwarded */ |
139 case ECCESsIncCallIsForw: /** Incoming call is forwarded */ |
140 iOwner.SendMessage( MEngineMonitor::EPEMessageIncCallIsForw, KPECallIdNotUsed ); |
140 iOwner.SendMessage( MEngineMonitor::EPEMessageIncCallIsForw, KPECallIdNotUsed ); |
141 break; |
141 break; |
142 |
142 |
143 case ECCESsIncCallForwToC: /** Incoming call was forwarded because of user own settings. */ |
143 case ECCESsIncCallForwToC: /** Incoming call was forwarded because of user own settings. */ |
144 iOwner.SendMessage( MEngineMonitor::EPEMessageIncCallForwToC, KPECallIdNotUsed ); |
144 iOwner.SendMessage( MEngineMonitor::EPEMessageIncCallForwToC, KPECallIdNotUsed ); |
145 break; |
145 break; |
146 |
146 |
147 case ECCESsOutCallForwToC: /** outgoing call was forwarded because of user own settings. */ |
147 case ECCESsOutCallForwToC: /** outgoing call was forwarded because of user own settings. */ |
148 iOwner.SendMessage( MEngineMonitor::EPEMessageOutCallForwToC, KPECallIdNotUsed ); |
148 iOwner.SendMessage( MEngineMonitor::EPEMessageOutCallForwToC, KPECallIdNotUsed ); |
149 break; |
149 break; |
150 |
150 |
151 case ECCESsForwardUnconditionalModeActive: |
151 case ECCESsForwardUnconditionalModeActive: |
152 iOwner.SendMessage( MEngineMonitor::EPEMessageForwardUnconditionalModeActive, KPECallIdNotUsed ); |
152 iOwner.SendMessage( MEngineMonitor::EPEMessageForwardUnconditionalModeActive, KPECallIdNotUsed ); |
153 break; |
153 break; |
154 |
154 |
155 case ECCESsForwardConditionallyModeActive: |
155 case ECCESsForwardConditionallyModeActive: |
156 iOwner.SendMessage( MEngineMonitor::EPEMessageForwardConditionallyModeActive, KPECallIdNotUsed ); |
156 iOwner.SendMessage( MEngineMonitor::EPEMessageForwardConditionallyModeActive, KPECallIdNotUsed ); |
157 break; |
157 break; |
158 |
158 |
159 case ESsCallWaiting: |
159 case ESsCallWaiting: |
160 iOwner.SendMessage( MEngineMonitor::EPEMessageCallWaiting, KPECallIdNotUsed ); |
160 iOwner.SendMessage( MEngineMonitor::EPEMessageCallWaiting, KPECallIdNotUsed ); |
161 TEFLOGSTRING( KTAINT, "CPESupplementaryServicesMonitor::CallForwardEventOccurred -> ECCESsCallWaiting" ); |
161 TEFLOGSTRING( KTAINT, "CPESupplementaryServicesMonitor::CallForwardEventOccurred -> ECCESsCallWaiting" ); |
162 break; |
162 break; |
163 |
163 |
164 default: |
164 default: |
165 break; |
165 break; |
166 } |
166 } |
167 } |
167 } |
168 |
168 |
169 // ----------------------------------------------------------------------------- |
169 // ----------------------------------------------------------------------------- |
170 // CPESupplementaryServicesMonitor::CallCugEventOccurred |
170 // CPESupplementaryServicesMonitor::CallCugEventOccurred |
171 // ----------------------------------------------------------------------------- |
171 // ----------------------------------------------------------------------------- |
172 // |
172 // |
173 EXPORT_C void CPESupplementaryServicesMonitor::CallCugEventOccurred( |
173 EXPORT_C void CPESupplementaryServicesMonitor::CallCugEventOccurred( |