
Chapter 19: Wireless Wide-Area Networking
Call Forwarding
Psion Mobile Devices Developers Guide
224
Terminating One Selected Call
Use the VoiceCall function HangUp to terminate one selected call. The behaviour of HangUp depends on
the WWAN modem. The MC75 terminates a call in any state. The HC25 terminates calls in the active and
held states.
19.13.9 Call Forwarding
The Mobile Devices SDK supports call forwarding; although, call forwarding is only available when the
computer is associated with a WWAN network that provides a call forwarding service.
Conditional Call Forwarding
Conditional call forwarding has one of the following settings:
• Busy: An incoming call is forwarded if there is already an active call.
• No answer: An incoming call is forwarded if it is not answered within a specified time.
• Not reachable: An incoming call is forwarded when the WWAN network cannot reach the computer.
Unconditional Call Forwarding
Unconditional call forwarding forwards all incoming calls. Unconditional forwarding takes precedence over
any conditional forwarding settings that are in force at the same time.
19.13.10 Dual-Tone Multifrequency (DTMF)
DTMF is a tone signalling scheme often used for control purposes on a telephone network. For example, it
can be used for the remote control of an answering machine, to control voice mail, or to dial an extension.
For example, to dial an extension number of 1234, there are two options:
• Call SendDTMF with the string 1234, or
• Call SendDTMF four times. The first time set the string to 1, the second time set the string to 2, then to
3, then to 4.
You can use SendDTMF for any touch-tone service.
19.13.11 Blocking Inbound and Outbound Calls
To ensure that the application has control of the call notifications, set the suppress call notifications flag
before blocking calls. See Section 19.8 Access Flags on page 211 for details.
Blocking (Rejecting) Inbound Calls
While processing the VoiceCallManager incoming call event, use GetOtherPartyCallerId to get the caller
ID. If the caller ID is recognized as one that should be blocked, use RejectIncoming to reject the call.
If the incoming call has its caller ID blocked, GetOtherPartyCallerId returns an empty string. Also, in the
Voicecall status changed event, the voice call flag is withheld incoming number.
Blocking Outbound Calls
To prevent phone calls to selected phone numbers, monitor the Voicecall status changed events. While the
outbound call is in the alerting state, use HangUp to block the call.
19.13.12 Blocking Caller ID on Outgoing Calls
Use SetOutgoingCallerIdEnabled to block caller ID on outgoing calls. Use GetOutgoingCallerIdEnabled to
query the state of the outgoing caller ID.
Comentarios a estos manuales