> ## Documentation Index
> Fetch the complete documentation index at: https://notevil.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CAPLfunctionCallcontextSetDefaultAnswer

# callcontext::SetDefaultAnswer (obsolete)

[Valid for](../../../Shared/FeatureAvailability.md): CANoe DE

## Method Syntax

```plaintext theme={null}
void callContext::SetDefaultAnswer();
```

### Description

Sets the return value and the out parameters for the call to their defaults.

The values are set to their defaults on receival of a call if the **AutoAnswerMode** is set to **Auto**. You can (re)set them explicitly with this method.

You can change the defaults with the **ParamDefaults** and **DefaultResult** properties at the provider endpoint.

### Parameters

—

### Return Values

—

### Example

```plaintext theme={null}
on fct_Called MirrorAdjustment.providerSide[all,LeftMirror].Adjust
{
  this.SetDefaultAnswer();
  this.SetTimeToAnswer(10);
}
```

[Programming with the Communication Concept (C#, Python and CAPL)](../../../CANoeCANalyzer/CommunicationConcept/Programming/CCP.md) • [callcontext::SetTimeToAnswer](CAPLfunctionCallcontextSetTimeToAnswer.md) • [callcontext::ReturnCall](CAPLfunctionCallcontextReturnCall.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.