Question: I have the following code: 

```
 def getContentComponents: Action[AnyContent] = Action.async {
        contentComponentDTO.list().map(contentComponentsFuture =>
          contentComponentsFuture.foreach(contentComponentFuture =>

            contentComponentFuture.typeOf match {
              case 5 =>
                contentComponentDTO.getContentComponentText(contentComponentFuture.id.get).map(
                  text => contentComponentFuture.text = text.text
                )
            }
          )
            Ok(Json.toJson(contentComponentsFuture))
        )

```

and get this error message while assigning a value:

[![enter image description here](https://i.stack.imgur.com/FzB9O.png)](https://i.stack.imgur.com/FzB9O.png)

Is there a way to solve this issue? 

I thought about creating a copy but that would mean that I have do lots of other stuff later. It would be much easier for me if I could reassign the value.

thanks

Answer: 
You could try using the SIM Card in a normal 3G USB Dongle and an application called "[Gammu](https://wammu.eu/docs/manual/gammu/)" which can answer a call and sendDTMF codes i.e. number presses. I have only used Gammu on linux systems but I believe it works on Windows as well.
Another possible solution: 

1. Setup voicemail for that SIM card, and when you are asked to leave your voicemail message (the message which is played to whoever gets to the voicemail) just press the button #3.
2. When you want, use call forwarding to redirect all calls to the voicemail. Alternatively, turn off the phone (on most cellular networks this will redirect all calls to the voicemail).