cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Phone call from thingworx application?

rmote
1-Newbie

Phone call from thingworx application?

Suppose I developed a thingworx application & I am accessing it through mobile as a web page.

This thingworx application has a button & on that button click I want to make a phone call.

How can I do this?

Thanks,

Rupesh

10 REPLIES 10
supandey
19-Tanzanite
(To:rmote)

Hi Rupesh, there's an extension on this available on the ThingWorx Marketplace - Twilio -  https://marketplace.thingworx.com/Items/twilio

I think this can help you achieve what you looking for.

rmote
1-Newbie
(To:supandey)

Thanks Sushant for this extension.

I will check Twilio extension.

rmote
1-Newbie
(To:supandey)

Hi Sushant,

I am done with following things:

- Downloaded Twilio extension

- Imported it in Thingworx

- Opened a developer account in Twilio

- Get Twilio Account SID, Twilio Auth Token with mobile number verification

- Then I create a thing based on Twilio thing template.

- Then I set Twilio Phone Number, Account SID &  Auth Token in 'Configuration' of that thing.

Now while testing send SMS functionality I got following error :

What would be the reason of this error?

Thanks,

Rupesh

rmote
1-Newbie
(To:rmote)

Hi Sushant,

My above mentioned problem of sending sms from Twilio get solved.

Thanks,

Rupesh

I have tried same steps but getting error while testing service from thing as:  Unable to Invoke Service SendSMSMessage on TwilioSMS : null

few questions:

1)caller id in subscription i have written directly as : 240204***9

2) While running service mobile number as : +91956**

can u suggest me if I am missing any concept.

Hi Sandeep,

While creating account on Twilio, first get a twilio phone number then varify your mobile number from twilio.

And in "Configuration" not in "Subcription" set all twilio details.

Now you will be able to send SMS from Twilio phone number to your mobile number.

Please note : our personel mobile can not be Twilio phone number.

Please let me know if you need any other help related to this.

Thanks,

Rupesh

Hi Rupesh

 

I have the same issue and error but with sending an SMS from the Twilio control in Thingworx.

What must the caller ID be ?  The Twilio cellular number ?

I have tried the Live and Test credentials

From the Twilio website it was working to send an SMS

 

From the link I found below it suggests that the caller ID should be the Twilio phone number you have to set up.

Although even after putting in that along with the details you've mentioned I can't get my application to send text messages - like yours, it works from the Twilio website just not ThingWorx.

 

https://marketplace.thingworx.com/Media/cf54a40f-9c11-44f0-bfae-31cde96a94b1.pdf

sharmon
12-Amethyst
(To:rmote)

Rupesh - see my answer to this question about sending push notifications from ThingWorx. It goes into some detail about using the Twilio Thing.

rmote
1-Newbie
(To:sharmon)

Thanks Stephen for push notification post.

I will check it.

Top Tags