0

I have created a simple app (using phonelistener) which listens for an incoming call and when one comes, the app dials another number. Now how do I go about joining the two numbers programmatically (Not manually, for I know how to do it manually) so as to establish a conference call?

e.g. Incoming call number - 092098

  Dialled number - 447767

2 Answers 2

1

Consider EventInjector and inject keyboard events when it is necessary.

It will emulate user keyboard input and do what you want.

Make sure you have requested and set relevant permissions at the application startup. Otherwise EventInjector won't work.

3
  • I am using eventInjectors, but so far I can't get them right, on the simulator they join the calls perfectly but on the device they're erratic and all over the place. I have set permissions in my code to include eventInjectors Sep 3, 2012 at 13:59
  • Application behaviour on simulator and or an actual device is different. Sometimes difference is light, but sometimes, especially when complex functionality is involved - it is significant. Do no rely on simulator, it does not show you true picture.
    – user784540
    Sep 3, 2012 at 15:25
  • Thanks, it is kind of tricky to get the correct eventinjectors to fire in the correct order on the actual device, but I'll get there. Sep 3, 2012 at 21:32
-1

You should consider integrating Twilio into your app.

http://www.twilio.com/docs/howto/simple-conference

1
  • How does that conference an incoming call? Sep 4, 2012 at 4:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.