voice-quickstart-ios: Call failed to connect: Connection error (603).

Before filing an issue please check that the issue is not already addressed by the following: 2020-04-20 01:26:12.761976+1000 MDLink Health[46967:12618398] [INFO Twilio] recreateMainTransport, Found valid IPv4 address: 192.168.1.145 2020-04-20 01:26:12.762269+1000 MDLink Health[46967:12618398] [DEBUG TVOReachability] Reachability Flag Status: -R ------- networkStatusForFlags 2020-04-20 01:26:12.762366+1000 MDLink Health[46967:12618398] [DEBUG TVOCommandHandler] Inside postCommand:, received command of type TVOMakeCallCommand 2020-04-20 01:26:27.367908+1000 MDLink Health[46967:12628521] [VERBOSE Twilio] Inside constructUri: Registration URL: sip:None@chunderm.gll.twilio.com;transport=tls 2020-04-20 01:26:36.263841+1000 MDLink Health[46967:12628521] [INFO TVOMakeCallCommand] Call URI: sip:None@chunderm.gll.twilio.com;transport=tls 2020-04-20 01:26:36.264505+1000 MDLink Health[46967:12628521] [VERBOSE TVOCallImpl] Inside makeCall, record permission was granted 2020-04-20 01:26:36.264885+1000 MDLink Health[46967:12618398] provider:didActivateAudioSession: 2020-04-20 01:26:36.265063+1000 MDLink Health[46967:12618398] [VERBOSE TwilioVoice] Enable audio. 2020-04-20 01:26:36.268224+1000 MDLink Health[46967:12628521] [DEBUG Twilio] Inside on_call_state(), call: 0x283cd2bc0, internal state: 1 2020-04-20 01:26:36.268509+1000 MDLink Health[46967:12628521] [VERBOSE Twilio] Inside on_call_state(), PJSIP_INV_STATE_CALLING 2020-04-20 01:26:36.268848+1000 MDLink Health[46967:12628521] [VERBOSE TVOCall] handlePJSIPInviteStateCalling. Error: (null) 2020-04-20 01:26:36.269054+1000 MDLink Health[46967:12628521] [VERBOSE Twilio] on_call_tsx_state(), state: 1, status_code: 0: (null) 2020-04-20 01:26:36.480701+1000 MDLink Health[46967:12629434] [DEBUG Twilio] on_transport_state(): 0 2020-04-20 01:26:36.480763+1000 MDLink Health[46967:12629434] [DEBUG Twilio] ------>Transport connected: 0x4c878028, inside transportConnected: 2020-04-20 01:26:37.235014+1000 MDLink Health[46967:12629434] [VERBOSE Twilio] Inside on_rx_response(): received INVITE response, rewriting contact 2020-04-20 01:26:37.235470+1000 MDLink Health[46967:12629434] [DEBUG Twilio] In on_call_redirected, call_id: 0, target: 0x14d9c58c8, pjsip_event: 0x16dba0728 2020-04-20 01:26:37.235996+1000 MDLink Health[46967:12629434] [VERBOSE Twilio] on_call_tsx_state(), state: 1, status_code: 0: (null) 2020-04-20 01:26:37.236108+1000 MDLink Health[46967:12629434] [VERBOSE Twilio] on_call_tsx_state(), state: 4, status_code: 302: Moved Temporarily 2020-04-20 01:26:37.236228+1000 MDLink Health[46967:12629434] [VERBOSE Twilio] on_call_tsx_state(), state: 6, status_code: 302: Moved Temporarily 2020-04-20 01:26:37.236313+1000 MDLink Health[46967:12629434] [DEBUG Twilio] ------>Destroying transport: 0x14c878028, inside releaseTransport 2020-04-20 01:26:37.435676+1000 MDLink Health[46967:12629434] [DEBUG Twilio] on_transport_state(): 0 2020-04-20 01:26:37.436165+1000 MDLink Health[46967:12629434] [DEBUG Twilio] ------>Transport connected: 0x4f04b028, inside transportConnected: 2020-04-20 01:26:37.676689+1000 MDLink Health[46967:12629434] [VERBOSE Twilio] Inside on_rx_response(): received INVITE response, rewriting contact 2020-04-20 01:26:37.677153+1000 MDLink Health[46967:12629434] [WARN Twilio] … cannot rewrite contact -> no contact 2020-04-20 01:26:37.677573+1000 MDLink Health[46967:12629434] [VERBOSE Twilio] on_call_tsx_state(), state: 3, status_code: 100: Trying 2020-04-20 01:26:37.935004+1000 MDLink Health[46967:12629434] [VERBOSE Twilio] Inside on_rx_response(): received INVITE response, rewriting contact 2020-04-20 01:26:37.935434+1000 MDLink Health[46967:12629434] [DEBUG Twilio] Inside on_call_state(), call: 0x283cd2bc0, internal state: 2 2020-04-20 01:26:37.935615+1000 MDLink Health[46967:12629434] [VERBOSE Twilio] Inside on_call_state(), PJSIP_INV_STATE_EARLY 2020-04-20 01:26:37.935787+1000 MDLink Health[46967:12629434] [VERBOSE TVOCall] handlePJSIPInviteStateEarly. Error: (null) 2020-04-20 01:26:37.935994+1000 MDLink Health[46967:12629434] [VERBOSE Twilio] on_call_tsx_state(), state: 3, status_code: 180: Ringing 2020-04-20 01:26:38.050610+1000 MDLink Health[46967:12629434] [VERBOSE Twilio] Inside on_rx_response(): received INVITE response, rewriting contact 2020-04-20 01:26:38.051185+1000 MDLink Health[46967:12629434] [DEBUG Twilio] Inside on_call_state(), call: 0x283cd2bc0, internal state: 3 2020-04-20 01:26:38.051439+1000 MDLink Health[46967:12629434] [VERBOSE Twilio] Inside on_call_state(), PJSIP_INV_STATE_EARLY 2020-04-20 01:26:38.051620+1000 MDLink Health[46967:12629434] [VERBOSE TVOCall] handlePJSIPInviteStateEarly. Error: (null) 2020-04-20 01:26:38.051804+1000 MDLink Health[46967:12629434] [VERBOSE Twilio] on_call_tsx_state(), state: 3, status_code: 180: Ringing 2020-04-20 01:26:42.074224+1000 MDLink Health[46967:12629434] [VERBOSE Twilio] Inside on_rx_response(): received INVITE response, rewriting contact 2020-04-20 01:26:42.075033+1000 MDLink Health[46967:12629434] [VERBOSE Twilio] on_call_tsx_state(), state: 4, status_code: 603: Decline 2020-04-20 01:26:42.075251+1000 MDLink Health[46967:12629434] [DEBUG Twilio] Inside on_call_state(), call: 0x283cd2bc0, internal state: 3 2020-04-20 01:26:42.075516+1000 MDLink Health[46967:12629434] [VERBOSE Twilio] Inside on_call_state(), PJSIP_INV_STATE_DISCONNECTED, internal state: 3, last_status: 603 2020-04-20 01:26:42.075926+1000 MDLink Health[46967:12629434] [VERBOSE TVOCall] handlePJSIPInviteStateDisconnected. Error: Error Domain=com.twilio.voice.error Code=603 “Connection error (603).” UserInfo={NSLocalizedDescription=Connection error (603)., NSLocalizedFailureReason=Connection error.} 2020-04-20 01:27:05.800288+1000 MDLink Health[46967:12628521] [DEBUG TwilioVoice] Inside removeFromActiveCalls:, remove call <TVOCall: 0x283cd2bc0> from active calls 2020-04-20 01:27:07.244044+1000 MDLink Health[46967:12618398] Call failed to connect: Connection error (603). 2020-04-20 01:27:40.804704+1000 MDLink Health[46967:12628521] [DEBUG Twilio] dealloc Twilio. 2020-04-20 01:27:40.805522+1000 MDLink Health[46967:12628521] [DEBUG Twilio] ------>Destroying transport: 0x14f04b028, inside releaseAllTransports 2020-04-20 01:27:40.805633+1000 MDLink Health[46967:12628521] [DEBUG Twilio] on_transport_state(): 2 2020-04-20 01:27:40.805731+1000 MDLink Health[46967:12629434] [DEBUG Twilio] on_transport_state(): 3 2020-04-20 01:27:40.806391+1000 MDLink Health[46967:12629434] [DEBUG Twilio] on_transport_state(): 3 2020-04-20 01:27:40.806758+1000 MDLink Health[46967:12630641] EndCallAction transaction request successful 2020-04-20 01:27:48.305529+1000 MDLink Health[46967:12618398] [INFO TVOCall] Inside publishConnectionEvent:, event type: error 2020-04-20 01:27:48.306844+1000 MDLink Health[46967:12618398] [VERBOSE TVOCall] Inside publisherConnectionEvent:, sending error event 2020-04-20 01:27:48.319036+1000 MDLink Health[46967:12618398] provider:performEndCallAction: 2020-04-20 01:27:48.367972+1000 MDLink Health[46967:12618398] provider:didDeactivateAudioSession: 2020-04-20 01:27:48.368037+1000 MDLink Health[46967:12618398] [VERBOSE TwilioVoice] Disable audio. 2020-04-20 01:27:48.820691+1000 MDLink Health[46967:12628521] [DEBUG TVOCall] dealloc.

Please ensure that you are not sharing any Personally Identifiable Information(PII) or sensitive account information (API keys, credentials, etc.) when reporting an issue.

Description

Call is disconnect when i tap on the call button

Steps to Reproduce

  1. [Step one] Just tap on the call button
  2. [Step two] It will load for a second and disconnect automatically
  3. [Insert as many steps as needed]

Code

// Code that helps reproduce the issue

Expected Behavior

[What you expect to happen] It has to be call

Actual Behavior

[What actually happens] Not calling

Reproduces How Often

[What percentage of the time does it reproduce?]

Logs

// Log output when the issue occurs

Versions

All relevant version information for the issue.

Voice iOS SDK

[e.g. 2.0.6- via CocoaPods]

Xcode

[e.g. 11.3]

iOS Version

[e.g. 13.3]

iOS Device

[e.g. iPhone 11]

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 16 (8 by maintainers)

Most upvoted comments

Thank you issue is solved