# Node-red-contrib-ring-central

**URL:** https://discourse.nodered.org/t/node-red-contrib-ring-central/45611
**Category:** General
**Created:** [13 May 2021 20:14 UTC](https://discourse.nodered.org/t/node-red-contrib-ring-central/45611 "2021-05-13T20:14:58Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![rseals](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rseals/32/41713_2.png) [@rseals](https://discourse.nodered.org/u/rseals)
#### Post date: [13 May 2021 20:14 UTC](https://discourse.nodered.org/t/node-red-contrib-ring-central/45611/1 "2021-05-13T20:14:59Z")

</div>

Pretty new to node-red. I have a couple of small personal project under my belt. I'm currently working on a notification system that I would like to send SMS messages using our Ring Central account. I'm using the node-red-contrib-ring-central node. In the sms-send node it has the Config (which I have configured), Recipient and Name.

I'm reading the list of phone numbers out of the text file and treating them as a stream and would like to send a text to everyone of those numbers. The problem is this, I can't figure out how to send the phone number that I read from the text file over to the send-sms as a variable.

It works if I hard code my phone number, but I have tried sending it as a msg.recipient or msg.Recipient and nothing seems to work. The error that I get is "Error: Parameter [to.phoneNumber] value is invalid". So then I tried to send the number to msg.to.phoneNumber and that didn't work either. using a change rule how could I send it to to.phoneNumber or would I need to write a function for that?

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [13 May 2021 20:23 UTC](https://discourse.nodered.org/t/node-red-contrib-ring-central/45611/2 "2021-05-13T20:23:48Z")

</div>

Looking at [the source code](https://github.com/recursivecodes/node-red-contrib-ring-central/blob/b6c9f6224a933df3c4c31b40577bcf69c65a1417/sms-send.js#L18) this node does not accept a variable phone number, only the number set in the config.

You could [raise an issue](https://github.com/recursivecodes/node-red-contrib-ring-central/issues) and request the phone number input be a typedInput or permit a msg property to set it.

---

<div class="post-metadata">

### Author: ![rseals](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rseals/32/41713_2.png) [@rseals](https://discourse.nodered.org/u/rseals)
#### Post date: [13 May 2021 20:36 UTC](https://discourse.nodered.org/t/node-red-contrib-ring-central/45611/3 "2021-05-13T20:36:18Z")

</div>

Thank you for verifying that I was not going crazy. I have submitted an issue asking just that.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [27 May 2021 20:36 UTC](https://discourse.nodered.org/t/node-red-contrib-ring-central/45611/4 "2021-05-27T20:36:44Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
