Could you use the `Wait` object here (and throughout)? Something like:

```python
Wait(self.api, timeout, message='The call was not connected').until(
    lambda p: p.make_call({
        'from': self.from_number,
        'to': to_number,
        'answer_url': 'http://example.com/answer_url',
        'hangup_url': 'http://example.com/hangup_url',
        'caller_name': 'testing_name_xxxxxx'
    })[0] == 201)
```

I think this would simplify the code somewhat.