Multiple twilio numbers forward to single number, how do I indicate to operator what number was called?

喜你入骨 提交于 2021-01-07 02:52:51

问题


My parents-in-law are opening a second business, but want to be able to answer calls from customers on their cell phone. They are having multiple twilio numbers forward to their cell phone. The problem now is that they don't know which business the customer is calling for, so they don't know how to answer the phone.

In a perfect world, when the phone is answered, I'd be able to play a message to the operator telling them the name of the business called, before actually connecting the calls together. Ideally their Caller ID would continue to function as well, so they could see who called them in their call history etc. I'm open to other suggestions as well.

I'm a seasoned programmer, and have only tried out Twilio Studio so far, and I didn't have much luck.


回答1:


Twilio Studio doesn't currently support the <Number> noun, URL parameter. You can use the Studio TwiML Redirect Widget however.

You can reference this blog, that utilizes the TwiML Redirect Widget to play a prompt to the dialed party and expects a response, for voicemail avoidance. You can modify the the code to meet your requirements.



来源:https://stackoverflow.com/questions/64639846/multiple-twilio-numbers-forward-to-single-number-how-do-i-indicate-to-operator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!