Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this 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?
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.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
I have a CRM tool that salespeople use to call out. I want to set Twilio up so that they click on the icon to initiate the call in their browser, Twilio will call their cell phone and then the customers phone number after they have accepted the call on their cell. I want to do this so that the users are not forced to use their computer mic/headphones to call the customer. Does anyone know how to do this or point me to a tutorial that explains it?
Twilio developer evangelist here.
That feature is known as click-to-call. There is an example application for this in the Twilio CodeExchange including example code in Ruby, Python, JavaScript, PHP, Java and .NET. There is also a tutorial in some of these languages, here is the PHP one: https://www.twilio.com/docs/voice/tutorials/click-to-call-php.
The flow in the example application is slightly different to what you describe. In the example a user enters their phone number into a form and submits. This causes Twilio to dial the user and then the sales team. However, the theory for your use-case is the same. You just need to initiate the submission from your CRM, call your sales person first and then connect them to the user.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I have been looking and asking for information on this subject and getting nothing. I suspect that it is just a command in the data packet array. Any clues would be helpful.
Can call $_REQUEST array be modified to inject needed code?
Leaving ringless voice mail drops with Twilio requires that you POST an api request to make a call single call to a phone number then a fraction of a second later make a second request to the same number while immediately dropping the first request. This results in the mobile company routing the second call directly to their voicemail servers.
As far as I know Twilio doesn't offer any "out of the box" voicemail drop options in their RESTful API.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
i've found an api that i would like to use in my IOS app. The thing is that i'm not sure to use it exactly. i've searched around the web and have not found anything useful. The api is a login api.
https://www.mashape.com/alikonda/league-of-legends-tribunal#!endpoint-User-Login
in my app i have 2 UITextfields (username and password) after this it should use the API to check if the password and username combination exists trough the API. How can i obtain this?
The API you're talking about is a REST API.
If you know how to interact with RESTful APIs, then you can use NSURLConnection to send requests.
If you feel adventurous, you can also use a 3rd party library, like AFNetworking.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I have a website that publish news
I want to develop an iOS app that support website above like as a news reader. Readers can read, comment, like, share / email / save article via app. They don't need browsers (Safari, Chrome,...) on iOS.
I have no idea how client (iOS app) can get data from server (website), how can they communicate together ?
Thanks !
What you are asking for is called a web service (provided by the source of the information (CNN, BBC, etc). If they do not have a public web service or rss feed you cannot allow people access to their data.
iOS has the ability to "consume" web services.
Nobody is going to just give you the code to write this in iOS. However once you get started on it and you have specific issues you can always come back here with specific questions and most people in the Stack Overflow community that knows will gladly help you out
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am trying to build a IVR system, where the IVR will receive the dial tones from user and reads messages from the database based on the dial tones. I am fairly new in this kind of matter and i have researched about solutions like asterisk but i would like to have detailed information on how to setup this system. I have the simple PSTN RJ-11 line in my office and the customer would dial the number of this line to get connected with the IVR system.
What are the hardware required and how will they be connected?
Is it possible to accept multiple calls?
To accept multiple incoming calls in parallel you need either multiple individual lines from your service provider or a 'trunk' connection (either traditional digital trunk or an IP based SIP trunk).
There are quite a few good detailed Asterix IVR guides - some links from an answer to a similar question are:
http://www.asterisk.org/get-started/applications/ivr
http://www.freepbx.org/support/documentation/administration-guide/creating-an-ivr
setup an IVR with Asterisk
On the hardware side, it depends what connection you end up getting from your service provider, but you will need some sort of line card to terminate the telephony if it is traditional analogue or digital. See this Asterix page for more information:
http://www.asterisk.org/products/telephony-interface-cards
Note that your service provider (or an alternative provider in your area) may be able to provide you SIP / IP based 'trunks' in which case you would not need this extra hardware. It might be worth checking this out depending on your specific requirements and the price etc.