Skip to content
This repository has been archived by the owner on Jan 17, 2021. It is now read-only.

Incoming Caller Number #72

Open
lawchihon opened this issue May 20, 2017 · 2 comments
Open

Incoming Caller Number #72

lawchihon opened this issue May 20, 2017 · 2 comments

Comments

@lawchihon
Copy link

lawchihon commented May 20, 2017

Cannot get the parameters from the incoming parameters.
conn.paramets is undefine

Twilio.Device.incoming(function (conn) {
  console.log(conn.parameters.From);
});
@adnanumar
Copy link

@lawchihon i am facing same issue, do you resolved by any chance?

@adnanumar
Copy link

Anyone can try this to get params,

Twilio.Device.incoming(function (conn) {
conn.parameters(function (pars) { alert(JSON.stringify(pars)); });
});

For more info, see delegates in tcPlugin.js :)

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

No branches or pull requests

2 participants