Question

I have a simple RoR application with PostgreSQL database. It is a call-center program and operators should identify customer by phone number.

What I want: Intercept incoming call (mobile, non-mobile), identify phone number, compare identified number with my database and if there is a customer with such number - show all his data on screen.

Questions: 1. How to intercept incoming call with my computer or server? 2. How can I identify phone number? 3. How can I inject accepted phone number to my database?

Was it helpful?

Solution

Unless you are creating a call center service, with voip/SIP you can't intercept anything. If you are using some pbx software, like asterisk wich use SIP protocol, you need to look at contact header.

You can also use a cloud communications provider like twillio or plivo which provides an opensource alternative to twillio.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top