Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incoming Calls - typedef undefined error from Cordova #6

Open
jefflinwood opened this issue Jul 17, 2013 · 2 comments
Open

Incoming Calls - typedef undefined error from Cordova #6

jefflinwood opened this issue Jul 17, 2013 · 2 comments

Comments

@jefflinwood
Copy link
Contributor

Looks like onincoming isn't working with the 2.9 changes - I haven't tried it with the original code (with the 1.5 version), so I'm thinking that something internal to how Cordova handles returning messages to Javascript has changed.

My client code works with the Twilio Client javascript, so I can at least use that for testing.

@kzfabi
Copy link

kzfabi commented Aug 9, 2013

I had an issue with incoming calls using the latest version of the plugin where the call was being received but unable to be answered using "connection.accept();" in JavaScript.
I resolved this modifying the "TCPlugin.m" file on method "didReceiveIncomingConnection". Problem was that the received connection was not being stored. I added "self.connection = connection;" before invoking the JavaScript callback. After this, I started having calls hearing voice from both sides.

@kzfabi
Copy link

kzfabi commented Aug 9, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants