twilio-programmable-voice

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

How to build administrative functions in Twilio Programmable Voice (Conference)

徘徊边缘 提交于 2020-01-25 11:24:25
问题 I'm playing around Twilio programmable Voice (Conference) along with PHP. I'm unable to implement administrative functions like muting/un-muting all participants, start & stop recording etc by moderator of the conference, I preferably would like to use *1, *2, *3, *4 as keypad presses by moderator to have control over the active ongoing conference call. Appreciate your feedback. The flow I've created so far as prototype is working good. Participant/moderator dials Twilio number TwiML greets