twilio

GSM encoding for SMS with special characters (Twilio)

被刻印的时光 ゝ 提交于 2020-07-18 08:05:08
问题 I hope and you can help me with this query that I have. I need to send messages with special characters avoiding to segment the message too much, that is, if the maximum number of characters for a GSM message is 160 and I write a message lower than the limit allowed for GSM with the simple fact of having at least one special character this message is change to UCS2 . I do not know if there is a way to avoid this, and that the message is only encoded with GSM without importing special

Is there a way to enter dollars/cents via DTMF?

独自空忆成欢 提交于 2020-07-09 19:48:58
问题 I'm currently working on a pay-by-phone system with this flow: <Gather> customer's account number with us <Gather> amount to pay <Pay> - with the previous 2 <Gather> s passed as variables to Stripe The issue I am having is collecting the amount. Is there a way to convert the amount from a single string to a decimal string? eg. 12300 becomes 123.00 All suggestions welcome as the current working theory is to add a third <Gather> just for the cents but this feels cumbersome from a UX/UI

Is there a way to enter dollars/cents via DTMF?

ⅰ亾dé卋堺 提交于 2020-07-09 19:47:57
问题 I'm currently working on a pay-by-phone system with this flow: <Gather> customer's account number with us <Gather> amount to pay <Pay> - with the previous 2 <Gather> s passed as variables to Stripe The issue I am having is collecting the amount. Is there a way to convert the amount from a single string to a decimal string? eg. 12300 becomes 123.00 All suggestions welcome as the current working theory is to add a third <Gather> just for the cents but this feels cumbersome from a UX/UI

Twilio : Sort Channel based on last message time

喜你入骨 提交于 2020-07-07 10:59:09
问题 I am using Twilio chat SDK in my iPhone application. I am trying to sort all channels list based on last message timestamp, is there any way to achieve this? Please suggest. 回答1: Twilio developer evangelist here. The SDK doesn't currently have a way to sort channels. Your best bet is to load all the channels into an array and sort them yourself. 回答2: As @philnash said, currently the SDK doesn't have a way to sort channels. This is how I have sort on my own in javascript . In javascript SDK,

Twilio Voice. Add another participant to existing call

ぃ、小莉子 提交于 2020-07-05 12:52:09
问题 There is an ongoing call between 2 numbers (Twilio to Twilio, or Twilio to any PTSN number). It is not a conference call, just a normal 1-to-1 call using Twilio Voice. How can I add another person to that call? This is my current scenario. I first create a normal call (that has a ‘timeout’ and then redirects to voicemail via the ‘action’ verb). This is working, so a call now exists between 2 parties. Then if the call initiator wants to add a 2nd number (ie create a conference call), I need to

Can I send digits to an incoming twilio call with twiml?

ε祈祈猫儿з 提交于 2020-06-24 12:27:05
问题 I have a twilio number that can process incoming calls with twiml. These incoming calls expect the recipient to press some digits after the call is connected. If I were making an outgoing call, I could use the sendDigits attribute of a <Dial> tag. However, I can't figure out how to do this in response to an incoming call. If I were receiving the call in a web client, I could use connection.sendDigits Is there a way to do this in just twiml? Should I just play a recording file of various DTMF

Vcard MMS file name is always “text 1”

蹲街弑〆低调 提交于 2020-06-12 05:22:02
问题 When sending a vcard file on an SMS message via Twilio using the mediaUrl option, it shows up on the iPhone with "text 1" next to the file as if "text 1" is the file name. I have tried renaming the vcard file, using example vcard files, etc. No matter what the files show up as "text 1". I have tried on iPhone 8 and 10. I have tried bare bones VCF files and full featured ones from Outlook and even example ones online such as http://www.w3.org/2002/12/cal/vcard-examples/john-doe.vcf - No matter

Vcard MMS file name is always “text 1”

瘦欲@ 提交于 2020-06-12 05:21:09
问题 When sending a vcard file on an SMS message via Twilio using the mediaUrl option, it shows up on the iPhone with "text 1" next to the file as if "text 1" is the file name. I have tried renaming the vcard file, using example vcard files, etc. No matter what the files show up as "text 1". I have tried on iPhone 8 and 10. I have tried bare bones VCF files and full featured ones from Outlook and even example ones online such as http://www.w3.org/2002/12/cal/vcard-examples/john-doe.vcf - No matter

One-Time User Authentication with SMS Using Django and Twilio

时光总嘲笑我的痴心妄想 提交于 2020-06-09 12:14:51
问题 I am writing a back-end in Django for a mobile app I am creating. I need to authenticate a user the first time they open the mobile app through SMS to verify it is a real person. What needs to happen is the following: user enters phone number in app, server then sends SMS message to user with authentication code, user then enters authentication code in app and server verifies that the code they entered in the app is the same one they received through SMS. I need to use Twilio with my Django

One-Time User Authentication with SMS Using Django and Twilio

↘锁芯ラ 提交于 2020-06-09 12:13:13
问题 I am writing a back-end in Django for a mobile app I am creating. I need to authenticate a user the first time they open the mobile app through SMS to verify it is a real person. What needs to happen is the following: user enters phone number in app, server then sends SMS message to user with authentication code, user then enters authentication code in app and server verifies that the code they entered in the app is the same one they received through SMS. I need to use Twilio with my Django