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

Twilio voice call connection error 603 #133

Open
w3care25 opened this issue Jul 5, 2018 · 4 comments
Open

Twilio voice call connection error 603 #133

w3care25 opened this issue Jul 5, 2018 · 4 comments

Comments

@w3care25
Copy link

w3care25 commented Jul 5, 2018

2018-07-05 11:11:14.766360+0530 DemoApp[8287:3135346] [DEBUG Twilio] init Twilio user agent.
WARNING: no real random source present!
2018-07-05 11:11:14.969925+0530 DemoApp[8287:3135346] [VERBOSE Twilio] Inside setCodecPriorities:, codec: speex/16000/1 -> priority: 255
2018-07-05 11:11:14.970486+0530 DemoApp[8287:3135346] [VERBOSE Twilio] Inside setCodecPriorities:, codec: speex/8000/1 -> priority: 254
2018-07-05 11:11:14.972865+0530 DemoApp[8287:3135346] [VERBOSE Twilio] Inside setCodecPriorities:, codec: speex/32000/1 -> priority: 0
2018-07-05 11:11:14.973157+0530 DemoApp[8287:3135346] [VERBOSE Twilio] Inside setCodecPriorities:, codec: PCMU/8000/1 -> priority: 128
2018-07-05 11:11:14.973347+0530 DemoApp[8287:3135346] [VERBOSE Twilio] Inside setCodecPriorities:, codec: PCMA/8000/1 -> priority: 0
2018-07-05 11:11:14.974531+0530 DemoApp[8287:3135346] [INFO Twilio] recreateMainTransport, Found valid IPv4 address: 10.6.207.245
2018-07-05 11:11:14.975755+0530 DemoApp[8287:3135346] [DEBUG TVOConstants] X-Twilio-Client string: {"p":"ios","v":"2.0.1","mobile":{"arch":"arm64","product":"iPhone","name":"iPhone7,2","v":"11.4"}}, inside TVOConstants clientString
2018-07-05 11:11:15.155550+0530 DemoApp[8287:3135346] [DEBUG TVOReachability] Reachability Flag Status: WR t------ networkStatusForFlags
2018-07-05 11:11:15.156302+0530 DemoApp[8287:3135346] [DEBUG TVOCommandHandler] Inside postCommand:, received command of type TVOMakeCallCommand
2018-07-05 11:11:15.157338+0530 DemoApp[8287:3136044] [VERBOSE Twilio] Inside constructUri: Registration URL: sip:[email protected];transport=tls
2018-07-05 11:11:15.157476+0530 DemoApp[8287:3136044] [INFO TVOMakeCallCommand] Call URI: sip:[email protected];transport=tls
2018-07-05 11:11:15.171643+0530 DemoApp[8287:3136044] [VERBOSE TVOCallImpl] Inside makeCall, record permission was granted
2018-07-05 11:11:15.190719+0530 DemoApp[8287:3136044] [DEBUG Twilio] Inside on_call_state(), call: 0x109b5f990, internal state: 1
2018-07-05 11:11:15.190925+0530 DemoApp[8287:3136044] [VERBOSE Twilio] Inside on_call_state(), PJSIP_INV_STATE_CALLING
2018-07-05 11:11:15.191090+0530 DemoApp[8287:3136044] [VERBOSE TVOCall] handlePJSIPInviteStateCalling. Error: (null)
2018-07-05 11:11:15.191271+0530 DemoApp[8287:3136044] [VERBOSE Twilio] on_call_tsx_state(), state: 1, status_code: 0: (null)
2018-07-05 11:11:19.938198+0530 DemoApp[8287:3136080] [DEBUG Twilio] on_transport_state(): 0
2018-07-05 11:11:19.938571+0530 DemoApp[8287:3136080] [DEBUG Twilio] ------>Transport connected: 0x41ab628, inside transportConnected:
2018-07-05 11:11:20.136205+0530 DemoApp[8287:3136080] [VERBOSE Twilio] Inside on_rx_response(): received INVITE response, rewriting contact
2018-07-05 11:11:20.137165+0530 DemoApp[8287:3136080] [DEBUG Twilio] In on_call_redirected, call_id: 0, target: 0x10a5a8aa4, pjsip_event: 0x16fb14658
2018-07-05 11:11:20.138567+0530 DemoApp[8287:3136080] [VERBOSE Twilio] on_call_tsx_state(), state: 1, status_code: 0: (null)
2018-07-05 11:11:20.138837+0530 DemoApp[8287:3136080] [VERBOSE Twilio] on_call_tsx_state(), state: 4, status_code: 302: Moved Temporarily
2018-07-05 11:11:20.139741+0530 DemoApp[8287:3136080] [VERBOSE Twilio] on_call_tsx_state(), state: 6, status_code: 302: Moved Temporarily
2018-07-05 11:11:20.140025+0530 DemoApp[8287:3136080] [DEBUG Twilio] ------>Destroying transport: 0x1041ab628, inside releaseTransport
2018-07-05 11:11:21.537164+0530 DemoApp[8287:3136080] [DEBUG Twilio] on_transport_state(): 0
2018-07-05 11:11:21.537483+0530 DemoApp[8287:3136080] [DEBUG Twilio] ------>Transport connected: 0x4189428, inside transportConnected:
2018-07-05 11:11:22.175277+0530 DemoApp[8287:3136080] [VERBOSE Twilio] Inside on_rx_response(): received INVITE response, rewriting contact
2018-07-05 11:11:22.176151+0530 DemoApp[8287:3136080] [WARN Twilio] .. cannot rewrite contact -> no contact
2018-07-05 11:11:22.176514+0530 DemoApp[8287:3136080] [VERBOSE Twilio] on_call_tsx_state(), state: 3, status_code: 100: Trying
2018-07-05 11:11:22.377515+0530 DemoApp[8287:3136080] [VERBOSE Twilio] Inside on_rx_response(): received INVITE response, rewriting contact
2018-07-05 11:11:22.378329+0530 DemoApp[8287:3136080] [DEBUG Twilio] Inside on_call_state(), call: 0x109b5f990, internal state: 2
2018-07-05 11:11:22.379469+0530 DemoApp[8287:3136080] [VERBOSE Twilio] Inside on_call_state(), PJSIP_INV_STATE_EARLY
2018-07-05 11:11:22.381571+0530 DemoApp[8287:3136080] [VERBOSE TVOCall] handlePJSIPInviteStateEarly. Error: (null)
2018-07-05 11:11:22.382218+0530 DemoApp[8287:3136080] [VERBOSE Twilio] on_call_tsx_state(), state: 3, status_code: 180: Ringing
2018-07-05 11:11:22.815216+0530 DemoApp[8287:3136080] [VERBOSE Twilio] Inside on_rx_response(): received INVITE response, rewriting contact
2018-07-05 11:11:22.816718+0530 DemoApp[8287:3136080] [DEBUG Twilio] Inside on_call_state(), call: 0x109b5f990, internal state: 3
2018-07-05 11:11:22.820821+0530 DemoApp[8287:3136080] [VERBOSE Twilio] Inside on_call_state(), PJSIP_INV_STATE_EARLY
2018-07-05 11:11:22.821353+0530 DemoApp[8287:3136080] [VERBOSE TVOCall] handlePJSIPInviteStateEarly. Error: (null)
2018-07-05 11:11:22.822015+0530 DemoApp[8287:3136080] [VERBOSE Twilio] on_call_tsx_state(), state: 3, status_code: 180: Ringing
2018-07-05 11:11:26.637474+0530 DemoApp[8287:3136080] [VERBOSE Twilio] Inside on_rx_response(): received INVITE response, rewriting contact
2018-07-05 11:11:26.640163+0530 DemoApp[8287:3136080] [VERBOSE Twilio] on_call_tsx_state(), state: 4, status_code: 603: Decline
2018-07-05 11:11:26.640606+0530 DemoApp[8287:3136080] [DEBUG Twilio] Inside on_call_state(), call: 0x109b5f990, internal state: 3
2018-07-05 11:11:26.640892+0530 DemoApp[8287:3136080] [VERBOSE Twilio] Inside on_call_state(), PJSIP_INV_STATE_DISCONNECTED, internal state: 3, last_status: 603
2018-07-05 11:11:26.641752+0530 DemoApp[8287:3136080] [VERBOSE TVOCall] handlePJSIPInviteStateDisconnected. Error: Error Domain=com.twilio.voice.error Code=603 "Connection error (603)." UserInfo={NSLocalizedDescription=Connection error (603)., NSLocalizedFailureReason=Connection error.}
2018-07-05 11:11:26.644389+0530 DemoApp[8287:3135671] [DEBUG TwilioVoice] Inside removeFromActiveCalls:, remove call <TVOCall: 0x109b5f990> from active calls
2018-07Call failed to connect: Connection error (603).
-05 11:11:26.645324+0530 DemoApp[8287:3135671] [DEBUG Twilio] dealloc Twilio.
2018-07-05 11:11:26.667320+0530 DemoApp[8287:3135671] [DEBUG Twilio] ------>Destroying transport: 0x104189428, inside releaseAllTransports
2018-07-05 11:11:26.668140+0530 DemoApp[8287:3135671] [DEBUG Twilio] on_transport_state(): 2
2018-07-05 11:11:27.260960+0530 DemoApp[8287:3135346] [INFO TVOCall] Inside publishConnectionEvent:, event type: error
2018-07-05 11:11:27.267797+0530 DemoApp[8287:3135346] [VERBOSE TVOCall] Inside publisherConnectionEvent:, sending error event
2018-07-05 11:11:27.268732+0530 DemoApp[8287:3135346] [DEBUG TVOCall] dealloc.
2018-07-05 11:12:00.021936+0530 DemoApp[8287:3135346] Status bar could not find cached time string image. Rendering in-process.
2018-07-05 11:13:54.882332+0530 DemoApp[8287:3136337] TIC Read Status [10:0x0]: 1:57
2018-07-05 11:13:54.882481+0530 DemoApp[8287:3136337] TIC Read Status [10:0x0]: 1:57
2018-07-05 11:14:41.898249+0530 DemoApp[8287:3136658] TIC Read Status [3:0x0]: 1:57
2018-07-05 11:14:41.898406+0530 DemoApp[8287:3136658] TIC Read Status [3:0x0]: 1:57

@w3care25
Copy link
Author

w3care25 commented Jul 5, 2018

@bchen-twilio , @savchenkosoft I am missing anything ?

@bobiechen-twilio
Copy link
Contributor

Hi @w3care25

Can you create a new issue in the Voice Objective quickstart or Swift quickstart? Also can you give us a Twilio Call SID so we can investigate the signaling connection?

Thanks!

@w3care25
Copy link
Author

w3care25 commented Jul 5, 2018

I have sorted out this error but still unable to recieve calls on client device ...call is just saying text to speech msg from server incoming.php @bchen-twilio

@bobiechen-twilio
Copy link
Contributor

Hi @w3care25

Please check out the makeCall.php sample to make conversational calls between clients.

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