twilio / OpenVBX

OpenVBX is a web-based open source phone system for business.
http://openvbx.org
Other
702 stars 341 forks source link

Twilio Client Error (twilio.min.js:23) #251

Open taropaa opened 11 years ago

taropaa commented 11 years ago

The Twilio Client does not work on a mac on either safari or chrome.

Under chrome the console shows the following:

Uncaught TypeError: Cannot read property '_status' of null twilio.min.js:23

taropaa commented 11 years ago

Here is what shows up in the console (Chrome 29.0.1547.62 on OSX 10.8.4):

Uncaught TypeError: Cannot read property '_status' of null twilio.min.js:23
g.status twilio.min.js:23
Client.call ?g=iframejs&v=1023:86
Client.makeCallTo ?g=iframejs&v=1023:83
(anonymous function) ?g=iframejs&v=1023:127
M ?g=iframejs&v=1023:16
f.event.handle ?g=iframejs&v=1023:16
i.handle.k ?g=iframejs&v=1023:16
f.event.trigger ?g=iframejs&v=1023:16
(anonymous function) ?g=iframejs&v=1023:16
e.extend.each ?g=iframejs&v=1023:16
e.fn.e.each ?g=iframejs&v=1023:16
f.fn.extend.trigger ?g=iframejs&v=1023:16
f.fn.(anonymous function) ?g=iframejs&v=1023:16
(anonymous function) ?g=iframejs&v=1023:127
M ?g=iframejs&v=1023:16
f.event.handle ?g=iframejs&v=1023:16
i.handle.k

And here is what Safari 6.0.5 (8536.30.1) is saying:

'null' is not an object (evaluating 'a.instance._status)

Firefox 23.0.1 says:

TypeError: a.instance is null @ http://static.twilio.com/libs/twiliojs/refs/fb65a89/twilio.min.js:23

gqbyte69 commented 11 years ago

I get the same error in Firefox for OSX

jamesmortensen commented 10 years ago
if(cls.instance == null) return false;

That would make this error go away. In my case, status() is being called before everything is setup and read to roll. Not sure if that's the right approach, but hoping this helps!

JakeSchoermer commented 10 years ago

Same issue here on a fresh openvbx installation.

codyaray commented 10 years ago

Ditto. Chrome 36.0.1985.143 on OS X 10.8.4

benharold commented 10 years ago

+1 Chrome 36.0.1985.143, Firefox 31.0, Safari 7.0.6 and Opera 23.0 OS X 10.9.4

dwelch2344 commented 9 years ago

Disheartening to see this thread. Fresh install of OpenVBX master on Ubuntu 14.04 and same problem. Can't get off the ground :(