did you mean this?
```javascript
if (index === undefined) {
  index = DsdsSettings.getIccCardIndexForCallSettings();
}
```