Connecting two phone numbers - sip

Background I am making a web app where the users input their phone numbers and it will randomly match two of them and exchange numbers (similar to chatroulette).
Problem Currently they are just given a number and have to manually enter it. It would be nice if I can automatically get the numbers to "call each other". Google Voice has a similar functionality because you can pick your phone and it will dial you and the other side and connect the call. Is there a service that allows me to do this easily?

Have a look at http://www.phono.com/. It's a jquery phone addin.
Hope it helps.

Related

Send a predefined iMessage when iPhone enters a predefined area (Geofencing)

The Shortcuts app does't work because once the iPhone enters the predefined area (geofencing) requires user confirmation, before sending the iMessage.
My option is to develop my own app, everything is predefined, so technically no UI is required, at least to start with.
Once the iPhone has enter a predefined area, a certain radius from a predefined GPS coordinates. the App will send a predefined message to a predefined phone number.
Any recommendation where to start? I know I will need Core Location, but what is the framework to access the iMessage system, also the app has to keep running in the background and cannot be shutdown by the system, etc.
Any suggestion or pointers where to start looking for, will be appreciated, thank you

iOS: How to initiate a call to an address book contact with special characters (#/*) in the number?

I am currently working on an iOS application that uses live audio streaming, and our users have asked for a feature to automatically block incoming calls when they are streaming. I know that there is no API to do this, so the way we solved it is to have a button on the UI that automatically calls a certain number (specific to the telecom provider) that turns blocking of incoming calls on or off. It does this simply by opening a tel: URL.
This all works fine, and while it may not be very user friendly because it forces users to exit the application, I do belive it's the most elegant solution with the tools provided by the iOS API.
There is one caveat though, some telecom providers do not have a single short number that people can call to turn this feature on or off. They use instead long codes that have special characters in them, such as # and *. Unfortunately iOS refuses to open tel: URLs with those characters, presumably for security reasons. However I was wondering if it is possible for users to put those numbers into contacts and then have iOS call those contacts directly?
I know how to retrieve phone numbers from the address book directly, but that's no use because I will still have the problem of the URLs not getting accepted. So is there instead a way to, say, have tel: URL with a contact ID or something similar?
Thanks for reading and/or replying. :)
You can't dial # or * from an app. It's Apple's scheme to protect us from nasty people.
To quote from Apple's documentation:
To prevent users from maliciously redirecting phone calls or changing
the behavior of a phone or account, the Phone application supports
most, but not all, of the special characters in the tel scheme.
Specifically, if a URL contains the * or # characters, the Phone
application does not attempt to dial the corresponding phone number.
...and converting to ASCII characters and other tricks doesn't work either (I tried).

Handling tone dial for cell phones

For example I call on the specific phone number and automaticly connect to some kind of server(?) which is able to handle all my actions while I'm connected. I want to try myself in coding this server, but I have no idea how to start =) Please give me some links to read about this or maybe some keywords to google it. Thanks a lot!
Actionscript3 will handle either web applications or desktop applications. Since you're talking about using a cellphone , I doubt you can achieve what you're looking for with AS3.
You could consider a web application whereas a user would connect to the internet via her phone and interact with your application but as far as calling a number and get some form of server response, you may have to look at using another language than AS3.

Is it possible to open iphone phone number links with another app such as skype or change the default dialer?

I'm desperately trying to find this info and have been searching for several days. I use wifi + skype on my iphone with no plan. All I want to do is when I click on a number in a web page, or in the contacts, is have that number open with another program like skype or google voice.
Is this possible or is there just no way around opening a number with the default dialer? I figured somewhere there's a value that determines which program is called to dial a number.
You would need to jailbreak your phone first, and then you can try to figure out this, not other way

DTMF # and * workaround in iOS4?

I have read all the posts about DTMF and iPhone. I know that the characters "#" and "*" are disallowed by the SDK for security reasons. I have tried the stringByAddingPercentEscapesUsingEncoding: and the FURLCreateStringByAddingPercentEscapes workarounds. It is not possible, in my case, to generate the DTMF tones as one post suggested and even Touch Dial Emoji does not support # and *. I have also used ABPeoplePicker et. al. and have not found a way to use # and *.
Now. Some one on my project swears that he has used an app that directly employs the native dial/phone app in order to use the # and * characters. I can not find any way to do that. I have not found any APIs nor even posts about that.
****NOTE**** if you put a number in the Contacts app with a # or a * it dials out and uses the DTMF commands just fine.
Our app generates a phone number 123 123 1234,,1234#,,1234567*,,123456# internally; so it can't be exploited. Additionally we could used the contacts list to create a formatted number which in theory would satisfy the SDK security desires. But there seems to be no way to use the native dialing app in order to satisfy iOS that we are not being malicious.
Does anyone know if there is a way to directly use the dialing app so that we can use the DTMF commands "#" and "*"?
Thanks much.
Just in case this is still a question for anyone: It is in fact disallowed. Apple shows not sign of changing this despite the fact that all other smartphone platforms allow it. There as some clever approches to getting around this but they all seem to be little better than hacks. I think that t's best to give in on this one and tell people that it's just not possible on iOS.
Altnernatively you can incorporate the creation of a "contact" on the phone, implement your DTMF string into the dial code for the contact.. it will permit * and #.
you can programmatically delete the contact once the call has been completed to "clean up".