CyCoreSystems / ari

Golang Asterisk REST Interface (ARI) library
Apache License 2.0
189 stars 73 forks source link

Ignored error in StageOriginate? #88

Closed 0perl closed 6 years ago

0perl commented 6 years ago

If I read it correctly, we're currently returning nil here regardless of whether there is an error when doing originate or not. Shall we instead return the same value that we get from c.client.post(...)?

I tested by originating to unreachable destinations and the original version did not return an error, while the proposed one did. Please let me know if any more details could be helpful. Thanks!


This change is Reviewable