I struggled to integrate the Twilio SDK into the application for my cordova music. When I call Twilio.Device.Setup with a capability marker, I get this log:
2015-06-24 17: 12: 03.000 [239: 26713] PJSIP (2): pjsua_acc.c .... SIP registration error, status = 302 (temporarily moved)
2015-06-24 17: 12: 03.005 [239: 26713] PJSIP (1): pjsua_acc.c ..... Unable to create / send REGISTER: object is busy (PJSIP_EBUSY) [status = 171001]
2015-06-24 17: 12: 03.752 [239: 26528] Condition: Offline
What could be causing this problem? I am ready to provide any information.
UPDATE / SOLUTION:
I offer my solution here.
The problem was that the opportunity token was not generated correctly. Therefore, I would immediately find out.
capability = TwilioCapability(account_sid, auth_token) capability.allow_client_outgoing(application_sid) print capability.generate()
I also had a problem with the twilio cordova plugin. Twilio modified sdk, so this caused a problem in the plugin. They have already fixed the plugin, so try to save it.
source
share