Nexmo / nexmo-cli

Nexmo CLI (Command Line Interface)
https://nexmo.com
MIT License
78 stars 52 forks source link

Setting a Voice link removes the SMS one #83

Closed sammachin closed 7 years ago

sammachin commented 8 years ago

If I have a number with a current linked SMS url (moHTTPUrl) and I then go to set a voice link for example to forward it to a tel number nexmo link:tel 44.. it removes the SMS link.

I can set the SMS after the voice and it keeps both.

I should be able to set voice without removing sms.

cbetta commented 8 years ago

@sammachin link:tel is a convenience method for number:update. For it to do what you suggest it would have to make another API call to merge the original data with what you provided... I 'd advise instead for now to just use number:update to see all variables.