Bandwidth / node-numbers

Node SDK for Bandwidth Numbers
https://dev.bandwidth.com
MIT License
1 stars 5 forks source link

`Bandwidth.SipPeer.createAsync` fails with `Termination hosts are not allowed for new API` #38

Closed amiller-gh closed 3 years ago

amiller-gh commented 3 years ago

Despite terminationHosts being set in the README example, the API call will fail if the key is provided. Remove from documentation.

amiller-gh commented 3 years ago

It also appears that voiceHosts and smsHosts are optional. Is this accurate?

ajrice6713 commented 3 years ago

Hey there!

Thank you for raising that up - I will get a PR open to address the documentation update to remove terminationHosts from the example.

voiceHosts and smsHosts are optional, I will include a comment on that line to inform.