Can't get data to return on App screen from GraphQL query

Please describe which feature you have a question about?
Amplify
Provide additional details
I am trying to run a simple query from my Aurora DB. I am confident that there are not authorization/access issues as I am an admin. I have dummy data loaded in the DB and I am trying to run the query I have in the screenshot. It returns in the network console but does not render on the screen. I have tried it so many different ways from all the different documentation, but I can't seem to get it to work. Also, the query works in AppSync.
Any help with this is greatly appreciated!!
What AWS Services are you utilizing?
Amplify
AppSync
Aurora RDS
Cognito
GraphQL
Provide additional details e.g. code snippets

import awsExports from "./aws-exports";
import "./styles.css";
import<EMAIL_ADDRESS>import React, { useEffect, useState, Component } from 'react'
import Amplify, { API, query, graphqlOperation, signInButtonContent } from 'aws-amplify'
import awsconfig from './aws-exports';
Amplify.configure(awsconfig);
Amplify.configure(awsExports);
const USERSql = query getUSERS {   getUSERS (USER_ID: 3) {     LAST_NAME   } }
const App = () => {
//const [formState, setFormState] = useState(initialState)
const [user, userData] = useState([])
useEffect(() => {
fetchUSERS()
}, [])
const  fetchUSERS = async () => {
try {
const userData = await API.graphql(graphqlOperation(USERSql))
const user = userData.data.USERSql.items
userData(user)
} catch (err) { console.log('error fetching users') }
}
return (

Return Users
  <button onClick={fetchUSERS}>List Users</button>
  {
    user.map((USER) => (

{USER?.LAST_NAME}

    ))
  }

)
}
export default withAuthenticator(App)

`import awsExports from "./aws-exports";
import "./styles.css";
import<EMAIL_ADDRESS>import React, { useEffect, useState, Component } from 'react'
import Amplify, { API, query, graphqlOperation, signInButtonContent } from 'aws-amplify'
import awsconfig from './aws-exports';
Amplify.configure(awsconfig);
Amplify.configure(awsExports);
const USERSql = query getUSERS {   getUSERS (USER_ID: 3) {     LAST_NAME   } }
const App = () => {
//const [formState, setFormState] = useState(initialState)
const [user, userData] = useState([])
useEffect(() => {
fetchUSERS()
}, [])
const  fetchUSERS = async () => {
try {
const userData = await API.graphql(graphqlOperation(USERSql))
const user = userData.data.USERSql.items
userData(user)
} catch (err) { console.log('error fetching users') }
}
return (

Return Users
  <button onClick={fetchUSERS}>List Users</button>
  {
    user.map((USER) => (

{USER?.LAST_NAME}

    ))
  }

)
}
export default withAuthenticator(App)
`

Hi @trevorkirchnerID can you try to console.log the user data

Closing due to no response, if you are still having this issue please feel free to re-open. Thanks!


Update spookyhash

I get a bunch of "incompatible implicit declaration of built-in function ‘memset’" warnings—it would be great to get rid of those so I can add -Werror to CI.

Fixed in 53128a99e7baa18e49c7b353c10ab8e88520dcfe


ADBDEV-6288: Fix workfile duplication in gp_toolkit.gp_workfile_entries

Fix workfile duplication in gp_toolkit.gp_workfile_entries
If there are multiple postgres processes working simultaneously on a single
segment for a single session, at least one of them producing spill files,
gp_toolkit.gp_workfile_entries contained duplicate entries because of
incorrect JOIN condition.
This patch adds an additional output column to the
gp_workfile_mgr_cache_entries C function, containing PID of the process that
created the workfile set. PID was originally (incorrectly) retrieved from
gp_stat_activity, and is now recieved together with the other attributes (such
as slice number). gp_toolkit extension is updated to account for this change.
test/isolation2/workfile_mgr_test also had to be updated to account for the
change. A new isolation test named workfile_gp_toolkit was also added.

Do we need to do upgrade tests like we did for arenadata_toolkit extension in 6X?


Fix Graywindow histogram connection to plan/treatment imagea

Old graywindow is broken after updates

RaidAIDD now has grayvalue histogram with range that can be changed by middle mouse-click on the respective image.


-x and --split-chapters no longer work together

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[ ] I've read about sharing account credentials and I'm willing to share it if required

Region
No response
Provide a description that is worded well enough to be understood
-x and --split-chapters no longer work together. It gives me "Postprocessing: Conversion failed!". Any of those options alone works well. I am tried to use both regular ffmpeg and provided in the yt-dlp github page.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-Uv', '-x', '--split-chapters', 'https://www.youtube.com/watch?v=b1Fo_M_tj6w']
[debug] User config "C:\Users\Roman\AppData\Roaming\yt-dlp\config": ['--ppa', "ThumbnailsConvertor+ffmpeg_o:-c:v png -vf crop='ih'", '--path', 'C:/Users/Roman/Videos', '--output', '%(uploader)s/%(playlist_title)s/%(upload_date)s %(title)s.%(ext)s', '--restrict-filenames', '--embed-thumbnail', '--embed-metadata', '--ffmpeg-location', 'C:/Users/Roman/AppData/Local/Programs/yt-dlp']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp-master-builds [0953209a8] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg N-116017-ge61fed8280-20240626 (setts), ffprobe N-116017-ge61fed8280-20240626
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.06.02, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.3, sqlite3-3.35.5, urllib3-2.2.2, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Loaded 1823 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-master-builds/releases/latest
Latest version<EMAIL_ADDRESS>from yt-dlp/yt-dlp-master-builds
yt-dlp is up to date<EMAIL_ADDRESS>from yt-dlp/yt-dlp-master-builds)
[youtube] Extracting URL: https://www.youtube.com/watch?v=b1Fo_M_tj6w
[youtube] b1Fo_M_tj6w: Downloading webpage
[youtube] b1Fo_M_tj6w: Downloading ios player API JSON
[debug] Loading youtube-nsig.a95aa57a from cache
[debug] [youtube] Decrypted nsig fxLG87dNKGHtp6Qm => ZXTBe1Bnu7zVqA
[debug] Loading youtube-nsig.a95aa57a from cache
[debug] [youtube] Decrypted nsig 7jZREcI9AtBgOzZS => uD0QiR9SUXmLNQ
[youtube] b1Fo_M_tj6w: Downloading m3u8 information
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, size, br, asr, vext, aext, hasaud, id
[info] b1Fo_M_tj6w: Downloading 1 format(s): 251
[info] Downloading video thumbnail 41 ...
[info] Writing video thumbnail 41 to: C:\Users\Roman\Videos\YouTube_Creators\NA\20200616 How_to_Add_Chapters_to_Your_Videos_Using_Timestamps.webp
[debug] Invoking http downloader on "https://rr1---sn-hxb54vo-bvws.googlevideo.com/videoplayback?expire=1719510338&ei=4lB9ZoyOOpOc0u8Ph52muA8&ip=<IP_ADDRESS>&id=o-ANJNFk4TmoTC3NfZE_QT76Equ3G85SFAWMB36GrysCKf&itag=251&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&mh=Mp&mm=31%2C29&mn=sn-hxb54vo-bvws%2Csn-n8v7znz7&ms=au%2Crdu&mv=m&mvi=1&pl=23&initcwndbps=587500&bui=AbKP-1PJWcYAnjGx12am1ggCksvId50tXZ6_vtNapaHy1Is1G6H7eLJU2Gi7uiGaeHPO0r3YsY5hsiXy&spc=UWF9f1s2zIwBSjSLRtIcs1S1nwfUWv5vgCpQ3W-zrRZEi-DE33MstHHPtnA2&vprv=1&svpuc=1&mime=audio%2Fwebm&ns=cbXd83AhkGMlin_lEJyxmv4Q&rqh=1&gir=yes&clen=1420018&dur=79.421&lmt=1708723266167367&mt=1719488229&fvip=2&keepalive=yes&c=WEB&sefc=1&txp=4532434&n=uD0QiR9SUXmLNQ&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRQIgQ38LGAp03MJUUvOzDCiGNqBtxUnN3VXp6KxU-uxCeDQCIQDI4RnX4W8ZOHXm1F_WfdesmBnQQFRoc1NetrD-a9x6uA%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AHlkHjAwRQIhAKvUgcebPXOEjl07DVp3aFx5zj2Orp7aiC5G3E5JB7sMAiAd9gcJwUA45Qfy1NQJA_nSFsqHNoo-k6gnea4aRi8ruw%3D%3D"
[debug] File locking is not supported. Proceeding without locking
[download] Destination: C:\Users\Roman\Videos\YouTube_Creators\NA\20200616 How_to_Add_Chapters_to_Your_Videos_Using_Timestamps.webm
[download] 100% of    1.35MiB in 00:00:00 at 1.69MiB/s
[debug] ffmpeg command line: C:/Users/Roman/AppData/Local/Programs/yt-dlp\ffprobe -show_streams "file:C:\Users\Roman\Videos\YouTube_Creators\NA\20200616 How_to_Add_Chapters_to_Your_Videos_Using_Timestamps.webm"
[ExtractAudio] Destination: C:\Users\Roman\Videos\YouTube_Creators\NA\20200616 How_to_Add_Chapters_to_Your_Videos_Using_Timestamps.opus
[debug] ffmpeg command line: C:/Users/Roman/AppData/Local/Programs/yt-dlp\ffmpeg -y -loglevel repeat+info -i "file:C:\Users\Roman\Videos\YouTube_Creators\NA\20200616 How_to_Add_Chapters_to_Your_Videos_Using_Timestamps.webm" -vn -acodec copy -movflags +faststart "file:C:\Users\Roman\Videos\YouTube_Creators\NA\20200616 How_to_Add_Chapters_to_Your_Videos_Using_Timestamps.opus"
Deleting original file C:\Users\Roman\Videos\YouTube_Creators\NA\20200616 How_to_Add_Chapters_to_Your_Videos_Using_Timestamps.webm (pass -k to keep)
[Metadata] Adding metadata to "C:\Users\Roman\Videos\YouTube_Creators\NA\20200616 How_to_Add_Chapters_to_Your_Videos_Using_Timestamps.opus"
[debug] ffmpeg command line: C:/Users/Roman/AppData/Local/Programs/yt-dlp\ffmpeg -y -loglevel repeat+info -i "file:C:\Users\Roman\Videos\YouTube_Creators\NA\20200616 How_to_Add_Chapters_to_Your_Videos_Using_Timestamps.opus" -i "file:C:\Users\Roman\Videos\YouTube_Creators\NA\20200616 How_to_Add_Chapters_to_Your_Videos_Using_Timestamps.meta" -map 0 -dn -ignore_unknown -c copy -map_metadata 1 -write_id3v1 1 -metadata "title=How to Add Chapters to Your Videos Using Timestamps" -metadata "date=20200616" -metadata "description=Have you ever spent time trying to find an exact moment in a video? Look no further! We’re introducing Video Chapters on Desktop, Android and iOS, which allows you to jump forward to a specific section of a video, rewatch a portion of a video, and more. Chapters appear at the bottom of the video player and use timestamps from the creator's video description.  Note: chapters are only shown on videos if the creator has included them.

Chapters:
0:00 An intro to video chapters
0:23 How to set up video chapters
1:07 See video chapters in action

Learn more about video chapters here: https://support.google.com/youtube/thread/49733199

Subscribe and hit the bell to see new videos: https://goo.gl/So4XIG

► Check out our Help Center: https://goo.gl/fBzr7" -metadata "synopsis=Have you ever spent time trying to find an exact moment in a video? Look no further! We’re introducing Video Chapters on Desktop, Android and iOS, which allows you to jump forward to a specific section of a video, rewatch a portion of a video, and more. Chapters appear at the bottom of the video player and use timestamps from the creator's video description.  Note: chapters are only shown on videos if the creator has included them.

Chapters:
0:00 An intro to video chapters
0:23 How to set up video chapters
1:07 See video chapters in action

Learn more about video chapters here: https://support.google.com/youtube/thread/49733199

Subscribe and hit the bell to see new videos: https://goo.gl/So4XIG

► Check out our Help Center: https://goo.gl/fBzr7" -metadata "purl=https://www.youtube.com/watch?v=b1Fo_M_tj6w" -metadata "comment=https://www.youtube.com/watch?v=b1Fo_M_tj6w" -metadata "artist=YouTube Creators" -metadata:s:0 "language=eng" -movflags +faststart "file:C:\Users\Roman\Videos\YouTube_Creators\NA\20200616 How_to_Add_Chapters_to_Your_Videos_Using_Timestamps.temp.opus"
[ThumbnailsConvertor] Converting thumbnail "C:\Users\Roman\Videos\YouTube_Creators\NA\20200616 How_to_Add_Chapters_to_Your_Videos_Using_Timestamps.webp" to png
[debug] ffmpeg command line: C:/Users/Roman/AppData/Local/Programs/yt-dlp\ffmpeg -y -loglevel repeat+info -f image2 -pattern_type none -i "file:C:\Users\Roman\Videos\YouTube_Creators\NA\20200616 How_to_Add_Chapters_to_Your_Videos_Using_Timestamps.webp" -update 1 -movflags +faststart -c:v png -vf "crop=ih" "file:C:\Users\Roman\Videos\YouTube_Creators\NA\20200616 How_to_Add_Chapters_to_Your_Videos_Using_Timestamps.png"
[EmbedThumbnail] mutagen: Adding thumbnail to "C:\Users\Roman\Videos\YouTube_Creators\NA\20200616 How_to_Add_Chapters_to_Your_Videos_Using_Timestamps.opus"
[debug] ffmpeg command line: C:/Users/Roman/AppData/Local/Programs/yt-dlp\ffmpeg -y -loglevel repeat+info -i "file:C:\Users\Roman\Videos\YouTube_Creators\NA\20200616 How_to_Add_Chapters_to_Your_Videos_Using_Timestamps.png"
[SplitChapters] Splitting video by chapters; 3 chapters found
[SplitChapters] Chapter 001; Destination: C:\Users\Roman\Videos\How_to_Add_Chapters_to_Your_Videos_Using_Timestamps-001-An_intro_to_video_chapters-[b1Fo_M_tj6w].opus
[debug] ffmpeg command line: C:/Users/Roman/AppData/Local/Programs/yt-dlp\ffmpeg -y -loglevel repeat+info -ss 0.0 -t 23.0 -i "file:C:\Users\Roman\Videos\YouTube_Creators\NA\20200616 How_to_Add_Chapters_to_Your_Videos_Using_Timestamps.opus" -map 0 -dn -ignore_unknown -c copy -movflags +faststart "file:C:\Users\Roman\Videos\How_to_Add_Chapters_to_Your_Videos_Using_Timestamps-001-An_intro_to_video_chapters-[b1Fo_M_tj6w].opus"
[debug] ffmpeg version N-116017-ge61fed8280-20240626 Copyright (c) 2000-2024 the FFmpeg developers
  built with gcc 14.1.0 (crosstool-NG <IP_ADDRESS>_a87bf7f)
  configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-gpl --enable-version3 --disable-debug --disable-w32threads --enable-pthreads --enable-iconv --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-libxml2 --enable-fontconfig --enable-libharfbuzz --enable-libvorbis --enable-opencl --disable-libpulse --enable-libvmaf --disable-libxcb --disable-xlib --enable-amf --enable-libaom --enable-libaribb24 --enable-avisynth --enable-chromaprint --enable-libdav1d --enable-libdavs2 --enable-libdvdread --enable-libdvdnav --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-frei0r --enable-libgme --enable-libkvazaar --enable-libaribcaption --enable-libass --enable-libbluray --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librist --enable-libssh --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --enable-libvpl --enable-openal --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --disable-libdrm --enable-vaapi --enable-libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-libs=-lgomp --extra-ldflags=-pthread --extra-ldexeflags= --cc=x86_64-w64-mingw32-gcc --cxx=x86_64-w64-mingw32-g++ --ar=x86_64-w64-mingw32-gcc-ar --ranlib=x86_64-w64-mingw32-gcc-ranlib --nm=x86_64-w64-mingw32-gcc-nm --extra-version=20240626
  libavutil      59. 26.100 / 59. 26.100
  libavcodec     61.  8.100 / 61.  8.100
  libavformat    61.  4.100 / 61.  4.100
  libavdevice    61.  2.100 / 61.  2.100
  libavfilter    10.  2.102 / 10.  2.102
  libswscale      8.  2.100 /  8.  2.100
  libswresample   5.  2.100 /  5.  2.100
  libpostproc    58.  2.100 / 58.  2.100
[ogg @ 000001dc34b5fb40] 2425 bytes of comment header remain
Input #0, ogg, from 'file:C:\Users\Roman\Videos\YouTube_Creators\NA\20200616 How_to_Add_Chapters_to_Your_Videos_Using_Timestamps.opus':
  Duration: 00:01:19.42, start: 0.000000, bitrate: 164 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 23.000000
      Metadata:
        title           : An intro to video chapters
    Chapter #0:1: start 23.000000, end 67.000000
      Metadata:
        title           : How to set up video chapters
    Chapter #0:2: start 67.000000, end 79.420000
      Metadata:
        title           : See video chapters in action
  Stream #0:0(eng): Audio: opus, 48000 Hz, stereo, fltp
      Metadata:
        encoder         : Lavf61.4.100
        title           : How to Add Chapters to Your Videos Using Timestamps
        date            : 20200616
        purl            : https://www.youtube.com/watch?v=b1Fo_M_tj6w
        synopsis        : Have you ever spent time trying to find an exact moment in a video? Look no further! We’re introducing Video Chapters on Desktop, Android and iOS, which allows you to jump forward to a specific section of a video, rewatch a portion of a video, and more.
                        :
                        : Chapters:
                        : 0:00 An intro to video chapters
                        : 0:23 How to set up video chapters
                        : 1:07 See video chapters in action
                        :
                        : Learn more about video chapters here: https://support.google.com/youtube/thread/49733199
                        :
                        : Subscribe and hit the bell to see new videos: https://goo.gl/So4XIG
                        :
                        : ► Check out our Help Center: https://goo.gl/fBzr7
        comment         : https://www.youtube.com/watch?v=b1Fo_M_tj6w
        artist          : YouTube Creators
  Stream #0:1: Video: png, rgb24(pc, gbr/unknown/unknown), 720x720, 90k tbr, 90k tbn (attached pic)
      Metadata:
        comment         : Cover (front)
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
[opus @ 000001dc34b631c0] Unsupported codec id in stream 1
[out#0/opus @ 000001dc34b35d80] Could not write header (incorrect codec parameters ?): Invalid argument
Conversion failed!

ERROR: Postprocessing: Conversion failed!

I found that it looks like the issue with --embed-thumbnail option. Without it everything works alright.

Duplicate of #6225


chore(dep): Update patternfly deps

Updating PF deps to be compatible with https://github.com/ansible/ansible-ui/blob/main/package.json#L60-L61

@brumik I'm not sure with deps. So I'll post the error from ansible-ui
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/react
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!   peer<EMAIL_ADDRESS>|| ^17 || ^18" from<EMAIL_ADDRESS>npm ERR!   node_modules/@patternfly/react-charts
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!     peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!     node_modules/react-json-chart-builder
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!   2 more (react-dom, @patternfly/react-core)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>| ^18" from<EMAIL_ADDRESS>npm ERR! node_modules/react-json-chart-builder
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /Users/zita/.npm/_logs/2023-03-21T14_24_36_873Z-eresolve-report.txt

npm ERR!      /Users/zita/.npm/_logs/2023-03-21T14_24_36_873Z-debug-0.log

@brumik I think I messed up with the commit message. chore is not gonna trigger a new release, right?

@brumik Could you trigger the release manually, please?

Let me get to a terminal, i think I'll just push a fix commit with empty changes nearly

Thank you :)


Windows App Service Zip Deploy

I usually deploy my angular application to windows app service manually as zip push deploy
now it is not working and the deploy goes to 50% and fails after with this log message:
Cleaning up temp folders from previous zip deployments and extracting pushed zip file C:\local\Temp\zipdeploy\ to C:\local\Temp\zipdeploy\extracted

Hi
If the problem persists and is related to running it on Azure App Service, please open a support incident in Azure:
https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request
This way we can better track and assist you on this case
Thanks,
Joaquin Vano
Azure App Service


On Disconnect Remote - Not firing CallListener.disconnected w/CallKit

Description
Using Callkit to receive incoming calls, there is an issue with the ondisconnect triggers. They dont seem to fire but, twilio is logging an disconnect-by-remote event strangely. I have confirmed that the ondisconnect trigger is working on outgoing call.
Steps to Reproduce

Remote number (PTSN) Calls webserver
Webserver routes to client call
client answers the voice call
PTSN Number disconnects
(no disconnect notice on client)

Expected Behavior
I expect that the onDisconnected trigger would fire.
Actual Behavior
It does not fire
Reproduces How Often
100%
Logs
CONSOLE DEBUG file:///app/tns_modules/nativescript-twilio/delegate/delegate.js:100:22: PUSHKIT : INCOMING VOIP NOTIFICATION WITH COMPLETION: {
aps =     {
};
"twi_account_sid" = AC189d51c83122b389ad5345ef8fc3e10b;
"twi_bridge_token" = "eyJraWQiOiJKd2VTM0JpZi0xIiwiY3R5IjoidHdpbGlvLWZwYTt2PTEiLCJlbmMiOiJBMjU2R0NNIiwiYWxnIjoiZGlyIn0..5vAcVJeS6MpC7V2v.AZ4nOloQfTDmLF9zkl1CxmwzpviQm-L1u-XUNKsvhnTUPR8sW_VPSQq1aJMrygkxRxUnYvwPJcLIS-hKTRleszd6GXoshmdr16T0g9IK4f7IgKkTlIWfmILNjNyEN-TF2nQoCCgV1i-48tr4HB9gfRwj4APk33WF2JAU7lUFEvRNTOLIa-MzIxk68cWlZTyD63AlJIIpgP5j5DjgNGJu4ko7nMbes35P7C3SNxFL0wFBYPlLIzUdxeQa589Vbb8lO_F8BcjXWp8PqTXnkZOx3Y5mem_TUbAZXXLeEj4opzRKRpxnloVwuVewYAWbO4cKcjACK4Fk_n9ERWcP4qt-JydSBKP3yfoTO2BswfMH7pccWjoMuvS1B_rNCDCyNfTl8mogJ3cr9h4UTwRAF310nTS7BnIuVoucorRxFPHIjZzG7BNHCemhEdjj8Fmt44ohk5ziybr62nk7hTsgZrdy1yLkeMXcHBEXoWg7HG9knaq64JyRl4X-1SqL0B0_GG00PVPg6ZthshGwhcYM_fov6k5TBTF_oyggu0z4S4hKfC7rJ_0jzYqmuS64wr4rBiVCl7oqgCiUBQ2SJYdFHp7fiztM5MBme2KQNE_PNGOsKitNPagjPcC2IeHWHqL39E6F3xMuRRFDF<\M-b\M^@\M-&>
Task <DB9DF94D-E1C4-4A7C-8DEA-7B3E28A41F8D>.<1> resuming, QOS(0x21)
CONSOLE DEBUG file:///app/tns_modules/nativescript-twilio/delegate/delegate.js:135:22: callInviteReceived
Task <DB9DF94D-E1C4-4A7C-8DEA-7B3E28A41F8D>.<1> {strength 1, tls 8, ct 0, sub 0, sig 0, ciphers 1, bundle 0, builtin 0}
TIC Enabling TLS [6:0x2810d9140]
TIC TCP Conn Start [6:0x2810d9140]
[C6 Hostname#8fdd4a8a:443 tcp, url: https://eventgw.twilio.com/v3/EndpointEvents, tls] start
CONSOLE LOG file:///app/tns_modules/nativescript-twilio/delegate/delegate.js:173:20: richard: {
avatar = "https://s3.amazonaws.com/hiveku-assets/avatars/AVATAR_10.png";
"first_name" = John;
"last_name" = Doe;
"list_uid" = 5c3a31ddb6bbd;
"subscriber_name" = "John Doe";
"subscriber_uid" = 5c834c0bbcead;
}
nw_connection_report_state_with_handler_locked [C6] reporting state preparing
CONSOLE LOG file:///app/app/core/logger.service.js:105:23: [AppComponent] Incomming call detected, setting audio session
Task <DB9DF94D-E1C4-4A7C-8DEA-7B3E28A41F8D>.<1> setting up Connection 6
Provider <private> was asked to report a new incoming call with UUID: <private> update: <private>
AVAudioSessionPortImpl.mm:56:ValidateRequiredFields: Unknown selected data source for Port Speaker (type: Speaker)
AVAudioSession.mm:250:HandleRouteChange: Posting AVAudioSessionRouteChangeNotification. Reason: 3
AVAudioSessionPortImpl.mm:56:ValidateRequiredFields: Unknown selected data source for Port Receiver (type: Receiver)
AVAudioSessionPortImpl.mm:56:ValidateRequiredFields: Unknown selected data source for Port Receiver (type: Receiver)
CONSOLE DEBUG file:///app/tns_modules/nativescript-twilio/delegate/delegate.js:211:26: Incoming call successfully reported.
Handling com.apple.callkit.callcontroller.shouldconnect by setting up XPC connection
Requesting calls from host
Received requested calls from host: <private>
call: <private>
AVAudioSession.mm:2285:-[AVAudioSession privateInterruptionWithInfo:]: Posting AVAudioSessionInterruptionNotification (Begin Interruption). Was suspended:0
DEBUG:Twilio:[Platform]:Default audio device received AVAudioSessionInterruptionTypeBegan.
AVAudioSessionPortImpl.mm:56:ValidateRequiredFields: Unknown selected data source for Port Receiver (type: Receiver)
AVAudioSession.mm:250:HandleRouteChange: Posting AVAudioSessionRouteChangeNotification. Reason: 3
Task <7DAEDAA5-44BA-48F3-AC04-F71CFC19379E>.<2> resuming, QOS(0x19)
Task <7DAEDAA5-44BA-48F3-AC04-F71CFC19379E>.<2> {strength 1, tls 8, ct 0, sub 0, sig 0, ciphers 1, bundle 0, builtin 0}
TIC Enabling TLS [7:0x2810d4900]
TIC TCP Conn Start [7:0x2810d4900]
[C7 Hostname#f76056b5:443 tcp, url: https://onesignal.com/api/v1/players/7e32a6c5-e69e-414e-b18e-2f0e4a6086d1/on_focus, tls] start
nw_connection_report_state_with_handler_locked [C7] reporting state preparing
Task <7DAEDAA5-44BA-48F3-AC04-F71CFC19379E>.<2> setting up Connection 7
AVAudioSessionPortImpl.mm:56:ValidateRequiredFields: Unknown selected data source for Port Speaker (type: Speaker)
AVAudioSessionPortImpl.mm:56:ValidateRequiredFields: Unknown selected data source for Port Speaker (type: Speaker)
nw_endpoint_flow_protocol_connected [C6.1 IPv4#c4e4bc96:443 in_progress channel-flow (satisfied)] Transport protocol connected
TIC TLS Event [6:0x2810d9140]: 1, Pending(0)
TIC TLS Event [6:0x2810d9140]: 2, Pending(0)
nw_endpoint_flow_protocol_connected [C7.1 IPv4#c56e23f1:443 in_progress channel-flow (satisfied)] Transport protocol connected
TIC TLS Event [7:0x2810d4900]: 1, Pending(0)
TIC TLS Event [7:0x2810d4900]: 2, Pending(0)
nw_endpoint_flow_protocol_connected [C7.1 IPv4#c56e23f1:443 in_progress channel-flow (satisfied)] Output protocol connected
nw_connection_report_state_with_handler_locked [C7] reporting state ready
TIC TLS Event [7:0x2810d4900]: 2, Pending(0)
TIC TCP Conn Connected [7:0x2810d4900]: Err(16)
TIC TCP Conn Event [7:0x2810d4900]: 1
TIC TCP Conn Event [7:0x2810d4900]: 8
TIC TLS Handshake Complete [7:0x2810d4900]
new connection to <private> config 0x282516e40
Task <7DAEDAA5-44BA-48F3-AC04-F71CFC19379E>.<2> now using Connection 7
Task <7DAEDAA5-44BA-48F3-AC04-F71CFC19379E>.<2> sent request, body S
TIC TLS Event [7:0x2810d4900]: 20, Pending(0)
nw_endpoint_flow_protocol_connected [C7.1 IPv4#c56e23f1:443 ready channel-flow (satisfied)] Output protocol connected
TIC TLS Event [6:0x2810d9140]: 2, Pending(0)
TIC TLS Event [6:0x2810d9140]: 11, Pending(0)
TIC TLS Event [6:0x2810d9140]: 14, Pending(0)
System Trust Evaluation yielded status(0)
TIC TLS Trust Result [6:0x2810d9140]: 0
nw_endpoint_flow_protocol_connected [C6.1 IPv4#c4e4bc96:443 in_progress channel-flow (satisfied)] Output protocol connected
nw_connection_report_state_with_handler_locked [C6] reporting state ready
TIC TLS Event [6:0x2810d9140]: 20, Pending(0)
TIC TCP Conn Connected [6:0x2810d9140]: Err(16)
TIC TCP Conn Event [6:0x2810d9140]: 1
TIC TCP Conn Event [6:0x2810d9140]: 8
TIC TLS Handshake Complete [6:0x2810d9140]
Task <DB9DF94D-E1C4-4A7C-8DEA-7B3E28A41F8D>.<1> now using Connection 6
nw_endpoint_flow_protocol_connected [C6.1 IPv4#c4e4bc96:443 ready channel-flow (satisfied)] Output protocol connected
Task <DB9DF94D-E1C4-4A7C-8DEA-7B3E28A41F8D>.<1> sent request, body S
Task <7DAEDAA5-44BA-48F3-AC04-F71CFC19379E>.<2> received response, status 200 content U
Task <7DAEDAA5-44BA-48F3-AC04-F71CFC19379E>.<2> done using Connection 7
Task <7DAEDAA5-44BA-48F3-AC04-F71CFC19379E>.<2> response ended
Task <DB9DF94D-E1C4-4A7C-8DEA-7B3E28A41F8D>.<1> received response, status 200 content K
Task <DB9DF94D-E1C4-4A7C-8DEA-7B3E28A41F8D>.<1> response ended
Task <DB9DF94D-E1C4-4A7C-8DEA-7B3E28A41F8D>.<1> done using Connection 6
Received request to commit transaction <private>
CONSOLE DEBUG file:///app/tns_modules/nativescript-twilio/delegate/delegate.js:230:22: providerExecuteTransaction
Delegate did not execute transaction. Performing actions individually
Asking delegate to perform action <private>
CONSOLE DEBUG file:///app/tns_modules/nativescript-twilio/delegate/delegate.js:234:22: providerPerformAnswerCallAction
INFO:Twilio:[Core]:Creating peer connection signaling thread ...
INFO:Twilio:[Core]:Creating peer connection worker thread ...
INFO:Twilio:[Core]:Creating peer connection networking thread ...
TRACE:Twilio:[Core]:Creating built-in AudioDecoderFactory ...
TRACE:Twilio:[Core]:Creating built-in AudioEncoderFactory ...
INFO:Twilio:[Core]:Creating media engine ...
INFO:Twilio:[Core]:Done creating media engine.
INFO:Twilio:[Core]:Creating peer connection factory ...
INFO:Twilio:[Core]:Done creating peer connection factory.
INFO:Twilio:[Core]:Adding audio track ...
TRACE:Twilio:[Platform]:Accepting the Call Invite
INFO:Twilio:[Core]:Creating dedicated notifier queue ...
DEBUG:Twilio:[Core]:Initializing SIP stack ...
DEBUG:Twilio:[Core]:Adding IPv4/IPv6 TLS transports ...
INFO:Twilio:[Signaling]:RESIP::TRANSPORT: Connection::Connection: new connection created to who: [ V4 <IP_ADDRESS>:0 UNKNOWN_TRANSPORT target domain=unspecified mFlowKey=0 ]
INFO:Twilio:[Signaling]:RESIP::TRANSPORT: Creating TLS transport for domain  interface= port=0
INFO:Twilio:[Signaling]:RESIP::TRANSPORT: Connection::Connection: new connection created to who: [ V4 <IP_ADDRESS>:0 UNKNOWN_TRANSPORT target domain=unspecified mFlowKey=0 ]
INFO:Twilio:[Signaling]:RESIP::TRANSPORT: Creating TLS transport for domain  interface= port=0
DEBUG:Twilio:[Core]:Initializing DUM ...
DEBUG:Twilio:[Core]:Starting SIP stack thread ...
DEBUG:Twilio:[Core]:Starting DUM thread ...
WARN:Twilio:[Core]:No ICE servers were provided, was this intended?
For the best connectivity you should either enable Network Traversal Service in your Room Settings or provide your own servers via IceOptions.
INFO:Twilio:[Core]:Creating peer connection ...
INFO:Twilio:[Core]:Adding local stream to peer connection ...
INFO:Twilio:[Platform]:Inside publishConnectionEvent:, event type: accepted-by-local
TRACE:Twilio:[Platform]:Inside publisherConnectionEvent:, sending accepted-by-local event
Task <257B6313-DA95-43AA-8BE8-8439C62FAA44>.<1> resuming, QOS(0x21)
CONSOLE LOG file:///app/app/app.component.js:186:28: phone call accepted.
Provider <private> was notified that action <private> completed
Removing transaction from list of pending transactions because it is now complete: <private>
Task <257B6313-DA95-43AA-8BE8-8439C62FAA44>.<1> {strength 1, tls 8, ct 0, sub 0, sig 0, ciphers 1, bundle 0, builtin 0}
TIC Enabling TLS [8:0x28108aa00]
TIC TCP Conn Start [8:0x28108aa00]
[C8 Hostname#8fdd4a8a:443 tcp, url: https://eventgw.twilio.com/v3/EndpointEvents, tls] start
nw_connection_report_state_with_handler_locked [C8] reporting state preparing
DEBUG:Twilio:[Core]:ERROR Description -
DEBUG:Twilio:[Core]:New SipCall ...
DEBUG:Twilio:[Core]:Querying chunderm.gll.twilio.com
INFO:Twilio:[Core]:Looking up: chunderm.gll.twilio.com
Task <257B6313-DA95-43AA-8BE8-8439C62FAA44>.<1> setting up Connection 8
call: <private>
DEBUG:Twilio:[Core]:Address family: 2: <IP_ADDRESS>
DEBUG:Twilio:[Core]:Address family: 2: <IP_ADDRESS>
INFO:Twilio:[Core]:Setting outbound proxy to: sip:<IP_ADDRESS>:443;transport=tls
DEBUG:Twilio:[Platform]:Received ICE event.
Group: ice-gathering-state
Name: gathering
DEBUG:Twilio:[Core]:Socket created in ../resiprocate-1.8/resip/stack/TcpBaseTransport.cxx at line 223, transport: 1, socket: 30
Task <59F2DEE0-3006-43D9-B98F-F4AFE0384E32>.<2> resuming, QOS(0x21)
DEBUG:Twilio:[Platform]:Received ICE event.
Group: ice-gathering-state
Name: complete
INFO:Twilio:[Signaling]:RESIP::TRANSPORT: Connection::Connection: new connection created to who: [ V4 <IP_ADDRESS>:443 TLS target domain=<IP_ADDRESS> mFlowKey=30 ]
Task <BCE2EF52-A307-4997-868E-4EC4DEE651D7>.<3> resuming, QOS(0x21)
Task <59F2DEE0-3006-43D9-B98F-F4AFE0384E32>.<2> {strength 1, tls 8, ct 0, sub 0, sig 0, ciphers 1, bundle 0, builtin 0}
INFO:Twilio:[Signaling]:RESIP::TRANSPORT: Creating TLS connection for domain  [ V4 <IP_ADDRESS>:443 TLS target domain=<IP_ADDRESS> mFlowKey=0 ] on 30
Task <BCE2EF52-A307-4997-868E-4EC4DEE651D7>.<3> {strength 1, tls 8, ct 0, sub 0, sig 0, ciphers 1, bundle 0, builtin 0}
INFO:Twilio:[Signaling]:RESIP::TRANSPORT: TLS handshake starting (client mode)
INFO:Twilio:[Signaling]:RESIP::TRANSPORT: TLS connected
nw_endpoint_flow_protocol_connected [C8.1 IPv4#c4e4bc96:443 in_progress channel-flow (satisfied)] Transport protocol connected
TIC TLS Event [8:0x28108aa00]: 1, Pending(0)
TIC TLS Event [8:0x28108aa00]: 2, Pending(0)
Notified that audio session activation state changed to: 1
Notifying delegate that audio session activation state changed to: 1
CONSOLE DEBUG file:///app/tns_modules/nativescript-twilio/delegate/delegate.js:220:22: providerDidActivateAudioSession
AVAudioSessionPortImpl.mm:56:ValidateRequiredFields: Unknown selected data source for Port Speaker (type: Speaker)
AVAudioSession.mm:250:HandleRouteChange: Posting AVAudioSessionRouteChangeNotification. Reason: 3
AVAudioSessionPortImpl.mm:56:ValidateRequiredFields: Unknown selected data source for Port Receiver (type: Receiver)
AVAudioSessionPortImpl.mm:56:ValidateRequiredFields: Unknown selected data source for Port Receiver (type: Receiver)
INFO:Twilio:[Signaling]:RESIP::TRANSPORT: TLS connected
INFO:Twilio:[Signaling]:RESIP::TRANSPORT: TLS sessions set up with TLSv1.2 TLSv1/SSLv3 ECDHE-RSA-AES128-GCM-SHA256
INFO:Twilio:[Signaling]:RESIP::SIP: subjectAltName of TLS session cert contains DNS <*.twilio.com>
INFO:Twilio:[Signaling]:RESIP::SIP: subjectAltName of TLS session cert contains DNS <twilio.com>
INFO:Twilio:[Signaling]:RESIP::TRANSPORT: TLS handshake done for peer *.twilio.com, twilio.com
INFO:Twilio:[Signaling]:RESIP::DUM: Got: SipResp: 100 tid=f79a5e4be4332bac cseq=1 INVITE / 1 from(wire)
TIC TLS Event [8:0x28108aa00]: 2, Pending(0)
TIC TLS Event [8:0x28108aa00]: 11, Pending(0)
TIC TLS Event [8:0x28108aa00]: 14, Pending(0)
System Trust Evaluation yielded status(0)
TIC TLS Trust Result [8:0x28108aa00]: 0
HTHangEventCreate: HangTracing is disabled. Not creating a new event.
[com.locusvisualarts.hiveku020719] Getting notification settings (async)
[com.locusvisualarts.hiveku020719] Got notification settings [ hasResult: 1 hasCompletionHandler: 1 ]
[com.locusvisualarts.hiveku020719] Getting notification settings (async)
[com.locusvisualarts.hiveku020719] Got notification settings [ hasResult: 1 hasCompletionHandler: 1 ]
[com.locusvisualarts.hiveku020719] Getting notification settings (async)
[com.locusvisualarts.hiveku020719] Got notification settings [ hasResult: 1 hasCompletionHandler: 1 ]
[com.locusvisualarts.hiveku020719] Getting badge number (sync)
[com.locusvisualarts.hiveku020719] Got badge number [ badge: (null) ]
[com.locusvisualarts.hiveku020719] Getting allows remote notifications (sync)
[com.locusvisualarts.hiveku020719] Got state for remote notifications [ isAllowed: 1 ]
CONSOLE DEBUG file:///app/tns_modules/nativescript-twilio/delegate/delegate.js:63:22: is registered true
[com.locusvisualarts.hiveku020719] Getting allows remote notifications (sync)
[com.locusvisualarts.hiveku020719] Got state for remote notifications [ isAllowed: 1 ]
TRACE:Twilio:[Platform]:Application did become active
DEBUG:Twilio:[Platform]:Reachability Flag Status: -R ------- networkStatusForFlags
nw_endpoint_flow_protocol_connected [C8.1 IPv4#c4e4bc96:443 in_progress channel-flow (satisfied)] Output protocol connected
nw_connection_report_state_with_handler_locked [C8] reporting state ready
TIC TLS Event [8:0x28108aa00]: 20, Pending(0)
INFO:Twilio:[Signaling]:RESIP::DUM: Got: SipResp: 200 tid=f79a5e4be4332bac cseq=1 INVITE contact=<IP_ADDRESS>:10193 / 1 from(wire)
TIC TCP Conn Connected [8:0x28108aa00]: Err(16)
INFO:Twilio:[Signaling]:RESIP::DUM: Transition UAC_Start -> InviteSession::Connected
TIC TCP Conn Event [8:0x28108aa00]: 1
INFO:Twilio:[Signaling]:RESIP::DUM: Sending SipReq:  ACK <IP_ADDRESS>:10193 tid=b5fee217e7551587 cseq=1 ACK contact=VoiceSDK / 1 from(tu)
TIC TCP Conn Event [8:0x28108aa00]: 8
TIC TLS Handshake Complete [8:0x28108aa00]
DEBUG:Twilio:[Core]:onNewSession:
SIP/2.0 200 OK
Via: SIP/2.0/TLS <IP_ADDRESS>;received=<IP_ADDRESS>;branch=z9hG4bK-524287-1---f79a5e4be4332bac;rport=55837
Record-Route: <sip:<IP_ADDRESS>:10193;r2=on;transport=udp;ftag=b600d479;lr>
Record-Route: <sip:<IP_ADDRESS>:443;r2=on;transport=tls;ftag=b600d479;lr>
Contact: <sip:<IP_ADDRESS>:10193>
To: <sip:chunderm.gll.twilio.com:443;transport=tls>;tag=85158374_6772d868_917ad69f-065a-46c1-a17b-76f5ac36ed3f
From: <sip:VoiceSDK@chunderm.gll.twilio.com>;tag=b600d479
Call-ID: YYYjy7Pq7OusC32TwcErVg..
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE
Content-Type: application/sdp
Server: Twilio
X-Twilio-CallSid: CAfe5c34c244ba0f4d27efcfc5d3bba5d6
X-Twilio-EdgeHost: ec2-54-169-66-211.ap-southeast-1.compute.amazonaws.com
X-Twilio-EdgeRegion: sg1
X-Twilio-Zone: ASIAPAC_SINGAPORE
Content-Length: 1044

v=0
o=root<PHONE_NUMBER><PHONE_NUMBER> IN IP4 <IP_ADDRESS>
s=Twilio Media Gateway
c=IN IP4 <IP_ADDRESS>
t=0 0
a=group:BUND<\M-b\M^@\M-&>
DEBUG:Twilio:[Core]:onNewCall
Task <257B6313-DA95-43AA-8BE8-8439C62FAA44>.<1> now using Connection 8
DEBUG:Twilio:[Core]:onAnswer:
SIP/2.0 200 OK
Via: SIP/2.0/TLS <IP_ADDRESS>;received=<IP_ADDRESS>;branch=z9hG4bK-524287-1---f79a5e4be4332bac;rport=55837
Record-Route: <sip:<IP_ADDRESS>:10193;r2=on;transport=udp;ftag=b600d479;lr>
Record-Route: <sip:<IP_ADDRESS>:443;r2=on;transport=tls;ftag=b600d479;lr>
Contact: <sip:<IP_ADDRESS>:10193>
To: <sip:chunderm.gll.twilio.com:443;transport=tls>;tag=85158374_6772d868_917ad69f-065a-46c1-a17b-76f5ac36ed3f
From: <sip:VoiceSDK@chunderm.gll.twilio.com>;tag=b600d479
Call-ID: YYYjy7Pq7OusC32TwcErVg..
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE
Content-Type: application/sdp
Server: Twilio
X-Twilio-CallSid: CAfe5c34c244ba0f4d27efcfc5d3bba5d6
X-Twilio-EdgeHost: ec2-54-169-66-211.ap-southeast-1.compute.amazonaws.com
X-Twilio-EdgeRegion: sg1
X-Twilio-Zone: ASIAPAC_SINGAPORE
Content-Length: 1044

v=0
o=root<PHONE_NUMBER><PHONE_NUMBER> IN IP4 <IP_ADDRESS>
s=Twilio Media Gateway
c=IN IP4 <IP_ADDRESS>
t=0 0
a=group:BUNDLE a<\M-b\M^@\M-&>
nw_endpoint_flow_protocol_connected [C8.1 IPv4#c4e4bc96:443 ready channel-flow (satisfied)] Output protocol connected
DEBUG:Twilio:[Core]:onAnswer
DEBUG:Twilio:[Core]:onConnected:
SIP/2.0 200 OK
Via: SIP/2.0/TLS <IP_ADDRESS>;received=<IP_ADDRESS>;branch=z9hG4bK-524287-1---f79a5e4be4332bac;rport=55837
Record-Route: <sip:<IP_ADDRESS>:10193;r2=on;transport=udp;ftag=b600d479;lr>
Record-Route: <sip:<IP_ADDRESS>:443;r2=on;transport=tls;ftag=b600d479;lr>
Contact: <sip:<IP_ADDRESS>:10193>
To: <sip:chunderm.gll.twilio.com:443;transport=tls>;tag=85158374_6772d868_917ad69f-065a-46c1-a17b-76f5ac36ed3f
From: <sip:VoiceSDK@chunderm.gll.twilio.com>;tag=b600d479
Call-ID: YYYjy7Pq7OusC32TwcErVg..
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE
Content-Type: application/sdp
Server: Twilio
X-Twilio-CallSid: CAfe5c34c244ba0f4d27efcfc5d3bba5d6
X-Twilio-EdgeHost: ec2-54-169-66-211.ap-southeast-1.compute.amazonaws.com
X-Twilio-EdgeRegion: sg1
X-Twilio-Zone: ASIAPAC_SINGAPORE
Content-Length: 1044

v=0
o=root<PHONE_NUMBER><PHONE_NUMBER> IN IP4 <IP_ADDRESS>
s=Twilio Media Gateway
c=IN IP4 <IP_ADDRESS>
t=0 0
a=group:BUNDL<\M-b\M^@\M-&>
TIC Enabling TLS [9:0x2810d5200]
TIC TCP Conn Start [9:0x2810d5200]
[C9 Hostname#8fdd4a8a:443 tcp, url: https://eventgw.twilio.com/v3/EndpointEvents, tls] start
nw_connection_report_state_with_handler_locked [C9] reporting state preparing
Task <59F2DEE0-3006-43D9-B98F-F4AFE0384E32>.<2> setting up Connection 9
TIC Enabling TLS [10:0x2810d9200]
TIC TCP Conn Start [10:0x2810d9200]
[C10 Hostname#8fdd4a8a:443 tcp, url: https://eventgw.twilio.com/v3/EndpointEvents, tls] start
nw_connection_report_state_with_handler_locked [C10] reporting state preparing
Task <BCE2EF52-A307-4997-868E-4EC4DEE651D7>.<3> setting up Connection 10
Task <257B6313-DA95-43AA-8BE8-8439C62FAA44>.<1> sent request, body S
CONSOLE DEBUG file:///app/tns_modules/nativescript-twilio/delegate/delegate.js:100:22: PUSHKIT : INCOMING VOIP NOTIFICATION WITH COMPLETION: {
aps =     {
};
"twi_account_sid" = AC189d51c83122b389ad5345ef8fc3e10b;
"twi_call_sid" = CAfe5c34c244ba0f4d27efcfc5d3bba5d6;
"twi_from" = "+16172061169";
"twi_message_id" = RUc08829f13046dbd1bbadd3314766b863;
"twi_message_type" = "twilio.voice.cancel";
"twi_to" = "client:info";
}
CONSOLE DEBUG file:///app/tns_modules/nativescript-twilio/delegate/delegate.js:139:22: cancelledCallInviteReceived
CONSOLE DEBUG file:///app/tns_modules/nativescript-twilio/delegate/delegate.js:157:22: handleCallInviteCanceled
1484: Starting AURemoteIO(0x107cd9840)
output client:  1 ch,  48000 Hz, Int16, output HW:  1 ch,  48000 Hz, Float32
input client:   1 ch,  48000 Hz, Int16, input HW:   1 ch,  48000 Hz, Float32
1494: work interval port 0x28803
CAReportingClient.mm:163:-[CAReportingClient init]: creating CAReportingClient
nw_endpoint_flow_protocol_connected [C10.1 IPv4#c4e4bc96:443 in_progress channel-flow (satisfied)] Transport protocol connected
TIC TLS Event [10:0x2810d9200]: 1, Pending(0)
TIC TLS Event [10:0x2810d9200]: 2, Pending(0)
Task <257B6313-DA95-43AA-8BE8-8439C62FAA44>.<1> received response, status 200 content K
Task <257B6313-DA95-43AA-8BE8-8439C62FAA44>.<1> response ended
Task <257B6313-DA95-43AA-8BE8-8439C62FAA44>.<1> done using Connection 8
nw_endpoint_flow_protocol_connected [C9.1 IPv4#c4e4bc96:443 in_progress channel-flow (satisfied)] Transport protocol connected
TIC TLS Event [9:0x2810d5200]: 1, Pending(0)
TIC TLS Event [9:0x2810d5200]: 2, Pending(0)
nw_endpoint_flow_protocol_connected [C10.1 IPv4#c4e4bc96:443 in_progress channel-flow (satisfied)] Output protocol connected
nw_connection_report_state_with_handler_locked [C10] reporting state ready
TIC TLS Event [10:0x2810d9200]: 2, Pending(0)
TIC TCP Conn Connected [10:0x2810d9200]: Err(16)
TIC TCP Conn Event [10:0x2810d9200]: 1
TIC TCP Conn Event [10:0x2810d9200]: 8
TIC TLS Handshake Complete [10:0x2810d9200]
Task <BCE2EF52-A307-4997-868E-4EC4DEE651D7>.<3> now using Connection 10
TIC TLS Event [10:0x2810d9200]: 20, Pending(0)
nw_endpoint_flow_protocol_connected [C10.1 IPv4#c4e4bc96:443 ready channel-flow (satisfied)] Output protocol connected
Task <BCE2EF52-A307-4997-868E-4EC4DEE651D7>.<3> sent request, body S
nw_endpoint_flow_protocol_connected [C9.1 IPv4#c4e4bc96:443 in_progress channel-flow (satisfied)] Output protocol connected
nw_connection_report_state_with_handler_locked [C9] reporting state ready
TIC TLS Event [9:0x2810d5200]: 2, Pending(0)
TIC TCP Conn Connected [9:0x2810d5200]: Err(16)
TIC TCP Conn Event [9:0x2810d5200]: 1
TIC TCP Conn Event [9:0x2810d5200]: 8
TIC TLS Handshake Complete [9:0x2810d5200]
Task <59F2DEE0-3006-43D9-B98F-F4AFE0384E32>.<2> now using Connection 9
TIC TLS Event [9:0x2810d5200]: 20, Pending(0)
nw_endpoint_flow_protocol_connected [C9.1 IPv4#c4e4bc96:443 ready channel-flow (satisfied)] Output protocol connected
Task <59F2DEE0-3006-43D9-B98F-F4AFE0384E32>.<2> sent request, body S
DEBUG:Twilio:[Core]:OnIceConnectionChange
DEBUG:Twilio:[Core]:Call State: Connecting ICE connection state: checking
DEBUG:Twilio:[Platform]:Received ICE event.
Group: ice-connection-state
Name: checking
Task <3DBD37FA-794A-421A-BFC1-089436769E98>.<4> resuming, QOS(0x21)
Task <3DBD37FA-794A-421A-BFC1-089436769E98>.<4> {strength 1, tls 8, ct 0, sub 0, sig 0, ciphers 1, bundle 0, builtin 0}
Task <3DBD37FA-794A-421A-BFC1-089436769E98>.<4> now using Connection 8
Task <3DBD37FA-794A-421A-BFC1-089436769E98>.<4> sent request, body S
AVAudioSessionPortImpl.mm:56:ValidateRequiredFields: Unknown selected data source for Port Receiver (type: Receiver)
AVAudioSession.mm:250:HandleRouteChange: Posting AVAudioSessionRouteChangeNotification. Reason: 8
AVAudioSessionPortImpl.mm:56:ValidateRequiredFields: Unknown selected data source for Port Receiver (type: Receiver)
AVAudioSessionPortImpl.mm:56:ValidateRequiredFields: Unknown selected data source for Port Receiver (type: Receiver)
Task <BCE2EF52-A307-4997-868E-4EC4DEE651D7>.<3> received response, status 200 content K
Task <BCE2EF52-A307-4997-868E-4EC4DEE651D7>.<3> response ended
Task <BCE2EF52-A307-4997-868E-4EC4DEE651D7>.<3> done using Connection 10
Task <59F2DEE0-3006-43D9-B98F-F4AFE0384E32>.<2> received response, status 200 content K
Task <59F2DEE0-3006-43D9-B98F-F4AFE0384E32>.<2> response ended
Task <59F2DEE0-3006-43D9-B98F-F4AFE0384E32>.<2> done using Connection 9
Task <3DBD37FA-794A-421A-BFC1-089436769E98>.<4> received response, status 200 content K
Task <3DBD37FA-794A-421A-BFC1-089436769E98>.<4> response ended
Task <3DBD37FA-794A-421A-BFC1-089436769E98>.<4> done using Connection 8
DEBUG:Twilio:[Core]:OnIceConnectionChange
DEBUG:Twilio:[Core]:Call State: Connecting ICE connection state: connected
DEBUG:Twilio:[Core]:Set connected state: IceConnectionState::kIceConnectionConnected received
DEBUG:Twilio:[Platform]:Received ICE event.
Group: ice-connection-state
Name: connected
DEBUG:Twilio:[Core]:OnIceConnectionChange
DEBUG:Twilio:[Core]:Call State: Connected ICE connection state: completed
Task <4358BEC9-4442-40FD-B9C3-5F6C39201366>.<5> resuming, QOS(0x21)
CONSOLE ERROR file:///app/tns_modules/nativescript-twilio/delegate/delegate.js:11:22: callDidConnect
Task <4358BEC9-4442-40FD-B9C3-5F6C39201366>.<5> {strength 1, tls 8, ct 0, sub 0, sig 0, ciphers 1, bundle 0, builtin 0}
Task <4358BEC9-4442-40FD-B9C3-5F6C39201366>.<5> now using Connection 8
CONSOLE LOG file:///app/app/core/logger.service.js:105:23: [AppComponent] Call Connected:  <TVOCall: 0x2814d4320>
Task <4358BEC9-4442-40FD-B9C3-5F6C39201366>.<5> sent request, body S
DEBUG:Twilio:[Platform]:Received ICE event.
Group: ice-connection-state
Name: completed
Task <8DD8A20C-9E8F-4658-B78B-16CFC56D7955>.<6> resuming, QOS(0x21)
Task <8DD8A20C-9E8F-4658-B78B-16CFC56D7955>.<6> {strength 1, tls 8, ct 0, sub 0, sig 0, ciphers 1, bundle 0, builtin 0}
Task <8DD8A20C-9E8F-4658-B78B-16CFC56D7955>.<6> now using Connection 10
Task <8DD8A20C-9E8F-4658-B78B-16CFC56D7955>.<6> sent request, body S
CONSOLE LOG file:///app/app/core/logger.service.js:105:23: [AuthenticationGuard] Successfully authenticated, redirecting and adding redirect url...
DEBUG:Twilio:[Platform]:-[TVOCancelledCallInvite dealloc]
DEBUG:Twilio:[Platform]:-[TVOLocalAudioTrack dealloc]
DEBUG:Twilio:[Platform]:-[TVOAudioTrack dealloc]
DEBUG:Twilio:[Platform]:-[TVOCallInvite dealloc]
removing all entries config 0x2825d1e40
TIC TCP Conn Cancel [6:0x2810d9140]
[C6 Hostname#8fdd4a8a:443 tcp, url: https://eventgw.twilio.com/v3/EndpointEvents, tls] cancel
[C6 Hostname#8fdd4a8a:443 tcp, url: https://eventgw.twilio.com/v3/EndpointEvents, tls] cancelled
[C6.1 <private> <IP_ADDRESS>:59743<->IPv4#c4e4bc96:443]
Connected Path: satisfied (Path is satisfied), interface: en0, ipv4, dns
Duration: 4.790s, DNS @0.000s took 0.137s, TCP @0.138s took 0.218s, TLS took 0.499s
bytes in/out: 6279/2533, packets in/out: 6/5, rtt: 0.218s, retransmitted packets: 0, out-of-order packets: 0
0.000s [C6 <private> Hostname#8fdd4a8a:443 resolver] path:start
0.000s [C6 <private> Hostname#8fdd4a8a:443 resolver] path:satisfied
0.000s [C6 <private> Hostname#8fdd4a8a:443 resolver] resolver:start_dns
0.137s [C6 <private> Hostname#8fdd4a8a:443 resolver] resolver:receive_dns
0.137s [C6.1 <private> <IP_ADDRESS>:59743<->IPv4#c4e4bc96:443 channel-flow] path:start
0.137s [C6.1 <private> <IP_ADDRESS>:59743<->IPv4#c4e4bc96:443 channel-flow] path:satisfied
0.138s [C6.1 <private> <IP_ADDRESS>:59743<->IPv4#c4e4bc96:443 channel-flow] flow:start_nexus
0.138s [C6.1 <private> <IP_ADDRESS>:59743<->IPv4#c4e4bc96:443 channel-flow] flow:receive_nexus
0.138s [C6.1 <private> <IP_ADDRESS>:59743<->IPv4#c4e4bc96:443 channel-flow] flow:start_connect
0.356s [C6.1 <private> <IP_ADDRESS>:59743<->IPv4#c4e4bc96:443 channel-flow] flow:finish_transport
0.356s [C6 <private> Hostname#8fdd4a8a:443 resolver] flow:finish_transport
0.855s [C6.1 <private> <IP_ADDRESS>:59743<->IPv4#c4e4bc96:443 channel-flow] flow:finish_connect
0.855s [C6 <private> Hostname#8fdd4a8a:443 resolver] flow:finish_connect
0.855s [C6.1 <private> <IP_ADDRESS>:59743<->IPv4#c4e4bc96:443 channel-flow] flow:changed_viability
0.855s [C6 <private> Hostname#8fdd4a8a:443 resolver] flow:changed_viability
4.789s [C6] path:cancel
nw_protocol_tcp_log_summary [C6.1:3]
[<private> <private>:59743<-><private>:443]
Init: 1, Conn_Time: 217.914ms, Syn's: 1, WR_T: 0/0, RD_T: 0/0, TFO: 0/0/0, ECN: 0/1/1, TS: 1
RTT_Cache: none, rtt_upd: 5, rtt: 218.000ms, rtt_var: 38.187ms rtt_nc: 218.000ms, rtt_var_nc: 38.187ms
nw_endpoint_flow_protocol_disconnected [C6.1 IPv4#c4e4bc96:443 cancelled channel-flow (null)] Output protocol disconnected
nw_connection_report_state_with_handler_locked [C6] reporting state cancelled
removing all entries config 0x2825d1e40
Task <6F085CEF-8216-4AD4-B501-C72A2FE3B999>.<15> resuming, QOS(0x21)
Task <4358BEC9-4442-40FD-B9C3-5F6C39201366>.<5> received response, status 200 content K
Task <4358BEC9-4442-40FD-B9C3-5F6C39201366>.<5> response ended
Task <4358BEC9-4442-40FD-B9C3-5F6C39201366>.<5> done using Connection 8
Task <8DD8A20C-9E8F-4658-B78B-16CFC56D7955>.<6> received response, status 200 content K
Task <8DD8A20C-9E8F-4658-B78B-16CFC56D7955>.<6> response ended
Task <8DD8A20C-9E8F-4658-B78B-16CFC56D7955>.<6> done using Connection 10
INFO:Twilio:[Signaling]:RESIP::DUM: Got: SipReq:  BYE VoiceSDK@<IP_ADDRESS>:55837 tid=03c6.1a156352.0 cseq=1 BYE / 1 from(wire)
INFO:Twilio:[Signaling]:RESIP::DUM: Handling in-dialog request: SipReq:  BYE VoiceSDK@<IP_ADDRESS>:55837 tid=03c6.1a156352.0 cseq=1 BYE / 1 from(wire)
INFO:Twilio:[Signaling]:RESIP::DUM: Received SipReq:  BYE VoiceSDK@<IP_ADDRESS>:55837 tid=03c6.1a156352.0 cseq=1 BYE / 1 from(wire)
INFO:Twilio:[Signaling]:RESIP::DUM: Transition InviteSession::Connected -> InviteSession::Terminated
DEBUG:Twilio:[Core]:onTerminated: reason 4
DEBUG:Twilio:[Core]:onTerminated
DEBUG:Twilio:[Core]:~SipCall(): 0x283ce4240
DEBUG:Twilio:[Core]:OnIceConnectionChange
DEBUG:Twilio:[Core]:Call State: Disconnected ICE connection state: closed
DEBUG:Twilio:[Platform]:Received ICE event.
Group: ice-connection-state
Name: closed
1549: Stopping AURemoteIO(0x107cd9840)
Task <99A2716A-3DEF-4774-9E4B-7153F5555B89>.<7> resuming, QOS(0x21)
Task <99A2716A-3DEF-4774-9E4B-7153F5555B89>.<7> {strength 1, tls 8, ct 0, sub 0, sig 0, ciphers 1, bundle 0, builtin 0}
Task <99A2716A-3DEF-4774-9E4B-7153F5555B89>.<7> now using Connection 8
Task <99A2716A-3DEF-4774-9E4B-7153F5555B89>.<7> sent request, body S
1549: Stopping AURemoteIO(0x107cd9840)
1549: Stopping AURemoteIO(0x107cd9840)
DEBUG:Twilio:[Core]:Shutting down DUM thread ...
AVAudioSessionPortImpl.mm:56:ValidateRequiredFields: Unknown selected data source for Port Receiver (type: Receiver)
AVAudioSession.mm:250:HandleRouteChange: Posting AVAudioSessionRouteChangeNotification. Reason: 8
AVAudioSessionPortImpl.mm:56:ValidateRequiredFields: Unknown selected data source for Port Receiver (type: Receiver)
AVAudioSessionPortImpl.mm:56:ValidateRequiredFields: Unknown selected data source for Port Receiver (type: Receiver)
Task <99A2716A-3DEF-4774-9E4B-7153F5555B89>.<7> received response, status 200 content K
Task <99A2716A-3DEF-4774-9E4B-7153F5555B89>.<7> response ended
Task <99A2716A-3DEF-4774-9E4B-7153F5555B89>.<7> done using Connection 8
DEBUG:Twilio:[Core]:Shutting down SIP stack thread ...
INFO:Twilio:[Signaling]:RESIP::SIP: Shutting down stack thread
WARN:Twilio:[Signaling]:RESIP::TRANSACTION: On shutdown, there are Client TransactionStates remaining!
INFO:Twilio:[Platform]:Inside publishConnectionEvent:, event type: disconnected-by-remote
TRACE:Twilio:[Platform]:Inside publisherConnectionEvent:, sending disconnected-by-remote event
Task <8D43DA63-859D-4384-84BD-5E247D697A9E>.<8> resuming, QOS(0x21)
Task <8D43DA63-859D-4384-84BD-5E247D697A9E>.<8> {strength 1, tls 8, ct 0, sub 0, sig 0, ciphers 1, bundle 0, builtin 0}
Task <8D43DA63-859D-4384-84BD-5E247D697A9E>.<8> now using Connection 8
Task <8D43DA63-859D-4384-84BD-5E247D697A9E>.<8> sent request, body S
Task <8D43DA63-859D-4384-84BD-5E247D697A9E>.<8> received response, status 200 content K
Task <8D43DA63-859D-4384-84BD-5E247D697A9E>.<8> response ended
Task <8D43DA63-859D-4384-84BD-5E247D697A9E>.<8> done using Connection 8
TIC TCP Conn Cancel [10:0x2810d9200]
[C10 Hostname#8fdd4a8a:443 tcp, url: https://eventgw.twilio.com/v3/EndpointEvents, tls] cancel
[C10 Hostname#8fdd4a8a:443 tcp, url: https://eventgw.twilio.com/v3/EndpointEvents, tls] cancelled
[C10.1 <private> <IP_ADDRESS>:59747<->IPv4#c4e4bc96:443]
Connected Path: satisfied (Path is satisfied), interface: en0, ipv4, dns
Duration: 31.715s, DNS @0.000s took 0.002s, TCP @0.004s took 0.220s, TLS took 0.234s
bytes in/out: 1293/4762, packets in/out: 3/8, rtt: 0.223s, retransmitted packets: 0, out-of-order packets: 0
0.000s [C10 <private> Hostname#8fdd4a8a:443 resolver] path:start
0.000s [C10 <private> Hostname#8fdd4a8a:443 resolver] path:satisfied
0.000s [C10 <private> Hostname#8fdd4a8a:443 resolver] resolver:start_dns
0.002s [C10 <private> Hostname#8fdd4a8a:443 resolver] resolver:receive_dns
0.004s [C10.1 <private> <IP_ADDRESS>:59747<->IPv4#c4e4bc96:443 channel-flow] path:start
0.004s [C10.1 <private> <IP_ADDRESS>:59747<->IPv4#c4e4bc96:443 channel-flow] path:satisfied
0.004s [C10.1 <private> <IP_ADDRESS>:59747<->IPv4#c4e4bc96:443 channel-flow] flow:start_nexus
0.004s [C10.1 <private> <IP_ADDRESS>:59747<->IPv4#c4e4bc96:443 channel-flow] flow:receive_nexus
0.004s [C10.1 <private> <IP_ADDRESS>:59747<->IPv4#c4e4bc96:443 channel-flow] flow:start_connect
0.224s [C10.1 <private> <IP_ADDRESS>:59747<->IPv4#c4e4bc96:443 channel-flow] flow:finish_transport
0.224s [C10 <private> Hostname#8fdd4a8a:443 resolver] flow:finish_transport
0.458s [C10.1 <private> <IP_ADDRESS>:59747<->IPv4#c4e4bc96:443 channel-flow] flow:finish_connect
0.458s [C10 <private> Hostname#8fdd4a8a:443 resolver] flow:finish_connect
0.458s [C10.1 <private> <IP_ADDRESS>:59747<->IPv4#c4e4bc96:443 channel-flow] flow:changed_viability
0.458s [C10 <private> Hostname#8fdd4a8a:443 resolver] flow:changed_viability
31.715s [C10] path:cancel
nw_protocol_tcp_log_summary [C10.1:3]
[<private> <private>:59747<-><private>:443]
Init: 1, Conn_Time: 220.093ms, Syn's: 1, WR_T: 0/0, RD_T: 0/0, TFO: 0/0/0, ECN: 0/1/1, TS: 1
RTT_Cache: process, rtt_upd: 6, rtt: 223.750ms, rtt_var: 15.500ms rtt_nc: 224.656ms, rtt_var_nc: 34.687ms
nw_endpoint_flow_protocol_disconnected [C10.1 IPv4#c4e4bc96:443 cancelled channel-flow (null)] Output protocol disconnected
nw_connection_report_state_with_handler_locked [C10] reporting state cancelled
TIC TCP Conn Cancel [9:0x2810d5200]
[C9 Hostname#8fdd4a8a:443 tcp, url: https://eventgw.twilio.com/v3/EndpointEvents, tls] cancel
[C9 Hostname#8fdd4a8a:443 tcp, url: https://eventgw.twilio.com/v3/EndpointEvents, tls] cancelled
[C9.1 <private> <IP_ADDRESS>:59746<->IPv4#c4e4bc96:443]
Connected Path: satisfied (Path is satisfied), interface: en0, ipv4, dns
Duration: 31.730s, DNS @0.001s took 0.007s, TCP @0.009s took 0.232s, TLS took 0.234s
bytes in/out: 719/2510, packets in/out: 2/5, rtt: 0.223s, retransmitted packets: 0, out-of-order packets: 0
0.000s [C9 <private> Hostname#8fdd4a8a:443 resolver] path:start
0.000s [C9 <private> Hostname#8fdd4a8a:443 resolver] path:satisfied
0.001s [C9 <private> Hostname#8fdd4a8a:443 resolver] resolver:start_dns
0.008s [C9 <private> Hostname#8fdd4a8a:443 resolver] resolver:receive_dns
0.008s [C9.1 <private> <IP_ADDRESS>:59746<->IPv4#c4e4bc96:443 channel-flow] path:start
0.009s [C9.1 <private> <IP_ADDRESS>:59746<->IPv4#c4e4bc96:443 channel-flow] path:satisfied
0.009s [C9.1 <private> <IP_ADDRESS>:59746<->IPv4#c4e4bc96:443 channel-flow] flow:start_nexus
0.009s [C9.1 <private> <IP_ADDRESS>:59746<->IPv4#c4e4bc96:443 channel-flow] flow:receive_nexus
0.009s [C9.1 <private> <IP_ADDRESS>:59746<->IPv4#c4e4bc96:443 channel-flow] flow:start_connect
0.241s [C9.1 <private> <IP_ADDRESS>:59746<->IPv4#c4e4bc96:443 channel-flow] flow:finish_transport
0.241s [C9 <private> Hostname#8fdd4a8a:443 resolver] flow:finish_transport
0.475s [C9.1 <private> <IP_ADDRESS>:59746<->IPv4#c4e4bc96:443 channel-flow] flow:finish_connect
0.475s [C9 <private> Hostname#8fdd4a8a:443 resolver] flow:finish_connect
0.475s [C9.1 <private> <IP_ADDRESS>:59746<->IPv4#c4e4bc96:443 channel-flow] flow:changed_viability
0.475s [C9 <private> Hostname#8fdd4a8a:443 resolver] flow:changed_viability
31.730s [C9] path:cancel
nw_protocol_tcp_log_summary [C9.1:3]
[<private> <private>:59746<-><private>:443]
Init: 1, Conn_Time: 232.095ms, Syn's: 1, WR_T: 0/0, RD_T: 0/0, TFO: 0/0/0, ECN: 0/1/1, TS: 1
RTT_Cache: process, rtt_upd: 4, rtt: 223.656ms, rtt_var: 19.750ms rtt_nc: 230.687ms, rtt_var_nc: 49.625ms
nw_endpoint_flow_protocol_disconnected [C9.1 IPv4#c4e4bc96:443 cancelled channel-flow (null)] Output protocol disconnected
nw_connection_report_state_with_handler_locked [C9] reporting state cancelled
TIC TCP Conn Destroyed [10:0x2810d9200]
TIC TCP Conn Destroyed [9:0x2810d5200]
TIC TCP Conn Cancel [8:0x28108aa00]
[C8 Hostname#8fdd4a8a:443 tcp, url: https://eventgw.twilio.com/v3/EndpointEvents, tls] cancel
[C8 Hostname#8fdd4a8a:443 tcp, url: https://eventgw.twilio.com/v3/EndpointEvents, tls] cancelled
[C8.1 <private> <IP_ADDRESS>:59745<->IPv4#c4e4bc96:443]
Connected Path: satisfied (Path is satisfied), interface: en0, ipv4, dns
Duration: 42.581s, DNS @0.000s took 0.003s, TCP @0.004s took 0.232s, TLS took 0.815s
bytes in/out: 8199/12747, packets in/out: 10/20, rtt: 0.246s, retransmitted packets: 3, out-of-order packets: 0
0.000s [C8 <private> Hostname#8fdd4a8a:443 resolver] path:start
0.000s [C8 <private> Hostname#8fdd4a8a:443 resolver] path:satisfied
0.000s [C8 <private> Hostname#8fdd4a8a:443 resolver] resolver:start_dns
0.003s [C8 <private> Hostname#8fdd4a8a:443 resolver] resolver:receive_dns
0.003s [C8.1 <private> <IP_ADDRESS>:59745<->IPv4#c4e4bc96:443 channel-flow] path:start
0.003s [C8.1 <private> <IP_ADDRESS>:59745<->IPv4#c4e4bc96:443 channel-flow] path:satisfied
0.004s [C8.1 <private> <IP_ADDRESS>:59745<->IPv4#c4e4bc96:443 channel-flow] flow:start_nexus
0.004s [C8.1 <private> <IP_ADDRESS>:59745<->IPv4#c4e4bc96:443 channel-flow] flow:receive_nexus
0.004s [C8.1 <private> <IP_ADDRESS>:59745<->IPv4#c4e4bc96:443 channel-flow] flow:start_connect
0.236s [C8.1 <private> <IP_ADDRESS>:59745<->IPv4#c4e4bc96:443 channel-flow] flow:finish_transport
0.236s [C8 <private> Hostname#8fdd4a8a:443 resolver] flow:finish_transport
1.051s [C8.1 <private> <IP_ADDRESS>:59745<->IPv4#c4e4bc96:443 channel-flow] flow:finish_connect
1.051s [C8 <private> Hostname#8fdd4a8a:443 resolver] flow:finish_connect
1.051s [C8.1 <private> <IP_ADDRESS>:59745<->IPv4#c4e4bc96:443 channel-flow] flow:changed_viability
1.051s [C8 <private> Hostname#8fdd4a8a:443 resolver] flow:changed_viability
42.581s [C8] path:cancel
nw_protocol_tcp_log_summary [C8.1:3]
[<private> <private>:59745<-><private>:443]
Init: 1, Conn_Time: 232.383ms, Syn's: 1, WR_T: 0/0, RD_T: 0/0, TFO: 0/0/0, ECN: 0/1/1, TS: 1
RTT_Cache: kernel, rtt_upd: 10, rtt: 246.156ms, rtt_var: 37.000ms rtt_nc: 246.156ms, rtt_var_nc: 37.000ms
nw_endpoint_flow_protocol_disconnected [C8.1 IPv4#c4e4bc96:443 cancelled channel-flow (null)] Output protocol disconnected
nw_connection_report_state_with_handler_locked [C8] reporting state cancelled
TIC TCP Conn Destroyed [8:0x28108aa00]

Versions
All relevant version information for the issue.
Voice iOS SDK
3.0.0-preview5
Xcode
10.1
iOS Version
10
iOS Device
iPhone X

hi bchen, yes i can confirm that if connecting directly through the client, the ondisconnect trigger fires.

I actually work for a CRM company and our solution works flawlessly on web (ondisconnect firing)

@bchen-twilio ive gotten to confirming its actually switching the page view that cancels out the listener.

im getting an onTerminated call from Debug:twilio[core] @bchen-twilio is this exposed? its not in: https://media.twiliocdn.com/sdk/ios/voice/releases/3.0.0-beta5/docs/Protocols/TVOCallDelegate.html doc reference.
perhaps there is a need to expose onTerminated for this specfic use case?

INFO:Twilio:[Signaling]:RESIP::DUM: Got: SipReq:  BYE VoiceSDK@<IP_ADDRESS>:54585 tid=eb62.926df317.0 cseq=1 BYE / 1 from(wire)
INFO:Twilio:[Signaling]:RESIP::DUM: Handling in-dialog request: SipReq:  BYE VoiceSDK@<IP_ADDRESS>:54585 tid=eb62.926df317.0 cseq=1 BYE / 1 from(wire)
INFO:Twilio:[Signaling]:RESIP::DUM: Received SipReq:  BYE VoiceSDK@<IP_ADDRESS>:54585 tid=eb62.926df317.0 cseq=1 BYE / 1 from(wire)
INFO:Twilio:[Signaling]:RESIP::DUM: Transition InviteSession::Connected -> InviteSession::Terminated
DEBUG:Twilio:[Core]:onTerminated: reason 4
DEBUG:Twilio:[Core]:onTerminated
DEBUG:Twilio:[Core]:~SipCall(): 0x281047800
DEBUG:Twilio:[Core]:OnIceConnectionChange
DEBUG:Twilio:[Core]:Call State: Disconnected ICE connection state: closed
DEBUG:Twilio:[Platform]:Received ICE event.
Group: ice-connection-state
Name: closed
1549: Stopping AURemoteIO(0x108017440)
Task <07F24220-6210-4894-BD4D-418E0B19440A>.<7> resuming, QOS(0x21)
Task <07F24220-6210-4894-BD4D-418E0B19440A>.<7> {strength 1, tls 8, ct 0, sub 0, sig 0, ciphers 1, bundle 0, builtin 0}
Task <07F24220-6210-4894-BD4D-418E0B19440A>.<7> now using Connection 10
Task <07F24220-6210-4894-BD4D-418E0B19440A>.<7> sent request, body S
1549: Stopping AURemoteIO(0x108017440)
1549: Stopping AURemoteIO(0x108017440)
DEBUG:Twilio:[Core]:Shutting down DUM thread ...
AVAudioSessionPortImpl.mm:56:ValidateRequiredFields: Unknown selected data source for Port Receiver (type: Receiver)
AVAudioSession.mm:250:HandleRouteChange: Posting AVAudioSessionRouteChangeNotification. Reason: 8
AVAudioSessionPortImpl.mm:56:ValidateRequiredFields: Unknown selected data source for Port Receiver (type: Receiver)
AVAudioSessionPortImpl.mm:56:ValidateRequiredFields: Unknown selected data source for Port Receiver (type: Receiver)
DEBUG:Twilio:[Core]:Shutting down SIP stack thread ...
INFO:Twilio:[Signaling]:RESIP::SIP: Shutting down stack thread
WARN:Twilio:[Signaling]:RESIP::TRANSACTION: On shutdown, there are Client TransactionStates remaining!
INFO:Twilio:[Platform]:Inside publishConnectionEvent:, event type: disconnected-by-remote
TRACE:Twilio:[Platform]:Inside publisherConnectionEvent:, sending disconnected-by-remote event
Task <1BFDE389-57B1-4EF1-8CED-2407B8C869CB>.<8> resuming, QOS(0x21)
Task <1BFDE389-57B1-4EF1-8CED-2407B8C869CB>.<8> {strength 1, tls 8, ct 0, sub 0, sig 0, ciphers 1, bundle 0, builtin 0}
Task <1BFDE389-57B1-4EF1-8CED-2407B8C869CB>.<8> now using Connection 11
Task <1BFDE389-57B1-4EF1-8CED-2407B8C869CB>.<8> sent request, body S
Task <07F24220-6210-4894-BD4D-418E0B19440A>.<7> received response, status 200 content K
Task <07F24220-6210-4894-BD4D-418E0B19440A>.<7> response ended
Task <07F24220-6210-4894-BD4D-418E0B19440A>.<7> done using Connection 10
Task <1BFDE389-57B1-4EF1-8CED-2407B8C869CB>.<8> received response, status 200 content K
Task <1BFDE389-57B1-4EF1-8CED-2407B8C869CB>.<8> response ended
Task <1BFDE389-57B1-4EF1-8CED-2407B8C869CB>.<8> done using Connection 11
TIC TCP Conn Cancel [12:0x283c20c00]
[C12 Hostname#0abd8feb:443 tcp, url hash: f56b7bdd, tls] cancel
[C12 Hostname#0abd8feb:443 tcp, url hash: f56b7bdd, tls] cancelled
[C12.1  <IP_ADDRESS>:50096<->IPv4#a5d009ee:443]
Connected Path: satisfied (Path is satisfied), interface: en0, ipv4, dns
Duration: 31.809s, DNS @0.000s took 0.003s, TCP @0.006s took 0.251s, TLS took 0.287s
bytes in/out: 722/2510, packets in/out: 2/5, rtt: 0.281s, retransmitted packets: 0, out-of-order packets: 0
0.000s [C12  Hostname#0abd8feb:443 resolver] path:start
0.000s [C12  Hostname#0abd8feb:443 resolver] path:satisfied
0.000s [C12  Hostname#0abd8feb:443 resolver] resolver:start_dns
0.003s [C12  Hostname#0abd8feb:443 resolver] resolver:receive_dns
0.005s [C12.1  <IP_ADDRESS>:50096<->IPv4#a5d009ee:443 channel-flow] path:start
0.005s [C12.1  <IP_ADDRESS>:50096<->IPv4#a5d009ee:443 channel-flow] path:satisfied
0.005s [C12.1  <IP_ADDRESS>:50096<->IPv4#a5d009ee:443 channel-flow] flow:start_nexus
0.005s [C12.1  <IP_ADDRESS>:50096<->IPv4#a5d009ee:443 channel-flow] flow:receive_nexus
0.006s [C12.1  <IP_ADDRESS>:50096<->IPv4#a5d009ee:443 channel-flow] flow:start_connect
0.257s [C12.1  <IP_ADDRESS>:50096<->IPv4#a5d009ee:443 channel-flow] flow:finish_transport
0.257s [C12  Hostname#0abd8feb:443 resolver] flow:finish_transport
0.544s [C12.1  <IP_ADDRESS>:50096<->IPv4#a5d009ee:443 channel-flow] flow:finish_connect
0.544s [C12  Hostname#0abd8feb:443 resolver] flow:finish_connect
0.544s [C12.1  <IP_ADDRESS>:50096<->IPv4#a5d009ee:443 channel-flow] flow:changed_viability
0.544s [C12  Hostname#0abd8feb:443 resolver] flow:changed_viability
31.809s [C12] path:cancel
nw_protocol_tcp_log_summary [C12.1:3]
[ :50096<->:443]
Init: 1, Conn_Time: 251.195ms, Syn's: 1, WR_T: 0/0, RD_T: 0/0, TFO: 0/0/0, ECN: 0/0/0, TS: 1
RTT_Cache: process, rtt_upd: 4, rtt: 281.281ms, rtt_var: 27.187ms rtt_nc: 260.718ms, rtt_var_nc: 68.937ms
nw_endpoint_flow_protocol_disconnected [C12.1 IPv4#a5d009ee:443 cancelled channel-flow (null)] Output protocol disconnected
nw_connection_report_state_with_handler_locked [C12] reporting state cancelled
TIC TCP Conn Destroyed [12:0x283c20c00]
INFO:Twilio:[Platform]:Inside publishConnectionEvent:, event type: disconnect-called
TRACE:Twilio:[Platform]:Inside publisherConnectionEvent:, sending disconnect-called event
Task <5627D4C8-1EFB-4E48-9C22-1EB876AB51B0>.<9> resuming, QOS(0x21)
Task <5627D4C8-1EFB-4E48-9C22-1EB876AB51B0>.<9> {strength 1, tls 8, ct 0, sub 0, sig 0, ciphers 1, bundle 0, builtin 0}
Task <5627D4C8-1EFB-4E48-9C22-1EB876AB51B0>.<9> now using Connection 10
Task <5627D4C8-1EFB-4E48-9C22-1EB876AB51B0>.<9> sent request, body S
Task <5627D4C8-1EFB-4E48-9C22-1EB876AB51B0>.<9> received response, status 200 content K
Task <5627D4C8-1EFB-4E48-9C22-1EB876AB51B0>.<9> response ended
Task <5627D4C8-1EFB-4E48-9C22-1EB876AB51B0>.<9> done using Connection 10
CONSOLE LOG file:///app/app/core/logger.service.js:105:23: [AuthenticationGuard] Successfully authenticated, redirecting and adding redirect url...
Received request to commit transaction
CONSOLE DEBUG file:///app/tns_modules/nativescript-twilio/delegate/delegate.js:231:22: providerExecuteTransaction
Delegate did not execute transaction. Performing actions individually
Asking delegate to perform action
CONSOLE DEBUG file:///app/tns_modules/nativescript-twilio/delegate/delegate.js:256:22: providerPerformEndCallAction
INFO:Twilio:[Platform]:Inside publishConnectionEvent:, event type: disconnect-called
TRACE:Twilio:[Platform]:Inside publisherConnectionEvent:, sending disconnect-called event
Task <5777597F-AE8B-4D27-BE56-7126B406320D>.<10> resuming, QOS(0x21)
Provider  was notified that action  completed
Task <5777597F-AE8B-4D27-BE56-7126B406320D>.<10> {strength 1, tls 8, ct 0, sub 0, sig 0, ciphers 1, bundle 0, builtin 0}
Task <5777597F-AE8B-4D27-BE56-7126B406320D>.<10> now using Connection 10
Removing transaction from list of pending transactions because it is now complete:
Task <5777597F-AE8B-4D27-BE56-7126B406320D>.<10> sent request, body S
Received request to commit transaction
CONSOLE DEBUG file:///app/tns_modules/nativescript-twilio/delegate/delegate.js:231:22: providerExecuteTransaction
Delegate did not execute transaction. Performing actions individually
Asking delegate to perform action
CONSOLE DEBUG file:///app/tns_modules/nativescript-twilio/delegate/delegate.js:256:22: providerPerformEndCallAction
INFO:Twilio:[Platform]:Inside publishConnectionEvent:, event type: disconnect-called
TRACE:Twilio:[Platform]:Inside publisherConnectionEvent:, sending disconnect-called event
Task <1EEF9566-FE03-43E3-B763-DCFC8E4468B6>.<11> resuming, QOS(0x21)
Provider  was notified that action  completed
Removing transaction from list of pending transactions because it is now complete:
Task <1EEF9566-FE03-43E3-B763-DCFC8E4468B6>.<11> {strength 1, tls 8, ct 0, sub 0, sig 0, ciphers 1, bundle 0, builtin 0}
Task <1EEF9566-FE03-43E3-B763-DCFC8E4468B6>.<11> now using Connection 11
Task <0D47CDB0-543E-4FE6-956A-574748713BF4>.<2> resuming, QOS(0x19)
Task <0D47CDB0-543E-4FE6-956A-574748713BF4>.<2> {strength 1, tls 8, ct 0, sub 0, sig 0, ciphers 1, bundle 0, builtin 0}
Task <0D47CDB0-543E-4FE6-956A-574748713BF4>.<2> now using Connection 9
call:
Task <0D47CDB0-543E-4FE6-956A-574748713BF4>.<2> sent request, body S
Task <1EEF9566-FE03-43E3-B763-DCFC8E4468B6>.<11> sent request, body S
Notified that audio session activation state changed to: 0
AVAudioSessionPortImpl.mm:56:ValidateRequiredFields: Unknown selected data source for Port Receiver (type: Receiver)
AVAudioSession.mm:250:HandleRouteChange: Posting AVAudioSessionRouteChangeNotification. Reason: 3
AVAudioSessionPortImpl.mm:56:ValidateRequiredFields: Unknown selected data source for Port Speaker (type: Speaker)
AVAudioSessionPortImpl.mm:56:ValidateRequiredFields: Unknown selected data source for Port Speaker (type: Speaker)
Notifying delegate that audio session activation state changed to: 0
CONSOLE DEBUG file:///app/tns_modules/nativescript-twilio/delegate/delegate.js:227:22: providerDidDeactivateAudioSession
CONSOLE DEBUG file:///app/tns_modules/nativescript-twilio/delegate/delegate.js:85:22: APP_ENTER_IN_BACKGROUND
nw_protocol_tcp_log_summary [C11.1:3]
[ :50095<->:443]
Init: 1, Conn_Time: 251.921ms, Syn's: 1, WR_T: 0/0, RD_T: 0/0, TFO: 0/0/0, ECN: 0/0/0, TS: 1
RTT_Cache: process, rtt_upd: 8, rtt: 288.531ms, rtt_var: 29.937ms rtt_nc: 276.843ms, rtt_var_nc: 45.687ms
TIC Read Status [11:0x283c78d80]: 1:57
TIC TCP Conn Cancel [11:0x283c78d80]
[C11 Hostname#0abd8feb:443 tcp, url hash: f56b7bdd, tls] cancel
nw_connection_copy_connected_local_endpoint [C11] Connection has no local endpoint
[C11 Hostname#0abd8feb:443 tcp, url hash: f56b7bdd, tls] cancelled
[C11.1  <->IPv4#a5d009ee:443]
Connected Path: satisfied (Path is satisfied), interface: en0, ipv4, dns
Duration: 34.747s, DNS @0.000s took 0.006s, TCP @0.008s took 0.251s
bytes in/out: 0/0, packets in/out: 0/0, rtt: 0.000s, retransmitted packets: 0, out-of-order packets: 0
heres a shorter version of the log @bchen-twilio this is strictly from on disconnect without the accept

i think these two lines are very peculiar
DEBUG:Twilio:[Core]:onTerminated: reason 4 DEBUG:Twilio:[Core]:onTerminated

@bchen-twilio just double checked, the callDidDisconnectWithError did not fire.

I think this is similar to but not exactly this issue tagged: https://github.com/twilio/voice-quickstart-swift/issues/190

Hi @Owchzzz
Yes, it seems the issue you are describing here is related to a bug previously existing in the sample app. Please check out the updates in the pull request to ensure calls are properly ended, by local or remote party, and reported to CallKit.
Thanks,
-bobie

hi @bchen-twilio i think its not the same issue as i am not getting the problem whenever i dont switch page views (example, route outside of the main application view on applicationDidEnterForeground for example on ios).
this issue only happens when i try to route the user into another view.
does twilio have a recommended implementation for having custom page views to handle the incoming calls? because in the example its only a single page, but as most common use cases will follow: the app needs to move into a custom view when the call is answered.

Hi @Owchzzz
The application has to properly end and report the end of the call to CallKit regardless of the view hierarchy of the application. It seems the error you were seeing whey ending the call was due to a previous bug that the sample app does not report to CallKit properly when the call is disconnected by the remote party.
The application can have a common module, which is separated from the presentation logics, to handle Twilio/CallKit/PushKit related logic in one place. You can define interface or protocol methods for notifying UI modules of call status updates to provide desired UX.
-bobie

hi @bchen-twilio confirmed that i needed to add the reportcallended on call disconnect it now works,
however, i am currently still having a problem when the ios app changes page views, for some reason, the listeners no longer fire...

Hi @Owchzzz
Glad to see that the fix works for you.
Did you mean that the callback methods of TVOCallDelegate stopped firing after view transitioning? that case you will need to check if your delegate instance is still responding on the main dispatch queue, which is the default dispatch queue used by the SDK unless a designated dispatch queue is specified via TVOConnectOptions.delegateQueue. We can also check the SDK log to see if the lifecycle of the call is properly reported to the application via the delegate.
Thanks,
-bobie

Hi @bchen-twilio i think this may very well be the problem. That is correct its the TVOCallDelegate that I am having problems with.
I apologise for having forgotten to mention that i am using Nativescript, i thought i had mentioned that originally, but after backreading i see that i havent mentioned that.
The problem comes up when im using the default angular router to change routes.

@bchen-twilio do you have any resources on twilio regarding using different queues?
I think if i place it in the concurrent queue, it will not be an issue anymore. I can not find any resources online regarding dispatch_queues and how to generate one

Hi @Owchzzz
Cool. Let me know how things go.
Thanks!
-bobie

Hi @bchen-twilio i know this is not a ios specific question, its more of a nativescript question,
I am still having a problem implementing the sdk on mobile, and i have narrowed the problem down to the angular router. for some reason, whenever i invoke angular's view update, it causes the CallDelegate to stop emitting events like onDisconnected.
Perhaps you have an idea or can point me to the right direction? I suspect it has something to do with the dispatch_queue but i already tried assigning twilios queue to the global dispatch queue

hi @bchen-twilio

INFO:Twilio:[Signaling]:RESIP::DUM: Got: SipReq:  BYE VoiceSDK@<IP_ADDRESS>:51743 tid=747a.1bd1d1a4.0 cseq=1 BYE / 1 from(wire)
INFO:Twilio:[Signaling]:RESIP::DUM: Handling in-dialog request: SipReq:  BYE VoiceSDK@<IP_ADDRESS>:51743 tid=747a.1bd1d1a4.0 cseq=1 BYE / 1 from(wire)
INFO:Twilio:[Signaling]:RESIP::DUM: Received SipReq:  BYE VoiceSDK@<IP_ADDRESS>:51743 tid=747a.1bd1d1a4.0 cseq=1 BYE / 1 from(wire)
INFO:Twilio:[Signaling]:RESIP::DUM: Transition InviteSession::Connected -> InviteSession::Terminated
DEBUG:Twilio:[Core]:onTerminated: reason 4
DEBUG:Twilio:[Core]:onTerminated
DEBUG:Twilio:[Core]:~SipCall(): 0x280d6d980
DEBUG:Twilio:[Core]:OnIceConnectionChange
DEBUG:Twilio:[Core]:Call State: Disconnected ICE connection state: closed
DEBUG:Twilio:[Platform]:Received ICE event.
Group: ice-connection-state
Name: closed
Task <FB48645B-0D70-461F-A1C2-4F5599E80469>.<7> resuming, QOS(0x21)
1549: Stopping AURemoteIO(0x106a3da40)
Task <FB48645B-0D70-461F-A1C2-4F5599E80469>.<7> {strength 1, tls 8, ct 0, sub 0, sig 0, ciphers 1, bundle 0, builtin 0}
Task <FB48645B-0D70-461F-A1C2-4F5599E80469>.<7> now using Connection 10
Task <FB48645B-0D70-461F-A1C2-4F5599E80469>.<7> sent request, body S
1549: Stopping AURemoteIO(0x106a3da40)
1549: Stopping AURemoteIO(0x106a3da40)
DEBUG:Twilio:[Core]:Shutting down DUM thread ...
AVAudioSessionPortImpl.mm:56:ValidateRequiredFields: Unknown selected data source for Port Receiver (type: Receiver)
AVAudioSession.mm:250:HandleRouteChange: Posting AVAudioSessionRouteChangeNotification. Reason: 8
AVAudioSessionPortImpl.mm:56:ValidateRequiredFields: Unknown selected data source for Port Receiver (type: Receiver)
AVAudioSessionPortImpl.mm:56:ValidateRequiredFields: Unknown selected data source for Port Receiver (type: Receiver)
Task <FB48645B-0D70-461F-A1C2-4F5599E80469>.<7> received response, status 200 content K
Task <FB48645B-0D70-461F-A1C2-4F5599E80469>.<7> response ended
Task <FB48645B-0D70-461F-A1C2-4F5599E80469>.<7> done using Connection 10
DEBUG:Twilio:[Core]:Shutting down SIP stack thread ...
INFO:Twilio:[Signaling]:RESIP::SIP: Shutting down stack thread
WARN:Twilio:[Signaling]:RESIP::TRANSACTION: On shutdown, there are Client TransactionStates remaining!
INFO:Twilio:[Platform]:Inside publishConnectionEvent:, event type: disconnected-by-remote
TRACE:Twilio:[Platform]:Inside publisherConnectionEvent:, sending disconnected-by-remote event
Task <AA5DAD9B-2D29-4656-B78F-3DCA0A1F85D1>.<8> resuming, QOS(0x21)
CONSOLE ERROR file:///app/tns_modules/nativescript-twilio/delegate/delegate.js:21:26: callDidDisconnect uuid: F8CAACBD-FB24-4B3F-80C4-56DFAE6FCF16
Task <AA5DAD9B-2D29-4656-B78F-3DCA0A1F85D1>.<8> {strength 1, tls 8, ct 0, sub 0, sig 0, ciphers 1, bundle 0, builtin 0}
Task <AA5DAD9B-2D29-4656-B78F-3DCA0A1F85D1>.<8> now using Connection 10
CONSOLE LOG file:///app/app/data.service.js:44:28: Call disconnecting...
CONSOLE LOG file:///app/app/data.service.js:47:32: CALL DISCONNECTED
INFO:Twilio:[Platform]:Inside publishConnectionEvent:, event type: disconnect-called
Task <AA5DAD9B-2D29-4656-B78F-3DCA0A1F85D1>.<8> sent request, body S
TRACE:Twilio:[Platform]:Inside publisherConnectionEvent:, sending disconnect-called event
Task <E613DFD8-E794-43D8-AC44-17041AA052F7>.<9> resuming, QOS(0x21)
CONSOLE LOG file:///app/app/data.service.js:56:32: Disconnected call.
Task <E613DFD8-E794-43D8-AC44-17041AA052F7>.<9> {strength 1, tls 8, ct 0, sub 0, sig 0, ciphers 1, bundle 0, builtin 0}
Provider <private> was asked to report that call with UUID <private> ended at date Fri Apr  5 15:50:05 2019 with reason 2
Provider <private> was notified that call with UUID <private> ended at date Fri Apr  5 15:50:05 2019 with private reason 2
Task <E613DFD8-E794-43D8-AC44-17041AA052F7>.<9> now using Connection 12
CONSOLE LOG file:///app/tns_modules/nativescript-twilio/delegate/delegate.js:31:20: Reported call ended
Provider <private> was notified that call with UUID <private> ended at date Fri Apr  5 15:50:05 2019 with private reason 2 and failure context (null)
Task <E613DFD8-E794-43D8-AC44-17041AA052F7>.<9> sent request, body S
call: <private>
DEBUG:Twilio:[Platform]:-[TVOCancelledCallInvite dealloc]
DEBUG:Twilio:[Platform]:-[TVOLocalAudioTrack dealloc]
DEBUG:Twilio:[Platform]:-[TVOAudioTrack dealloc]
DEBUG:Twilio:[Platform]:-[TVOCallInvite dealloc]
removing all entries config 0x2814e5920
TIC TCP Conn Cancel [9:0x2821fd2c0]
[C9 Hostname#8a6ec86d:443 tcp, url: https://eventgw.twilio.com/v3/EndpointEvents, tls] cancel
[C9 Hostname#8a6ec86d:443 tcp, url: https://eventgw.twilio.com/v3/EndpointEvents, tls] cancelled
[C9.2 <private> <IP_ADDRESS>:65375<->IPv4#74b44f9e:443]
Connected Path: satisfied (Path is satisfied), interface: en0, ipv4, dns
Duration: 17.610s, DNS @0.000s took 0.049s, TCP @0.697s took 0.319s, TLS took 0.725s
bytes in/out: 6282/2210, packets in/out: 6/4, rtt: 0.316s, retransmitted packets: 0, out-of-order packets: 0
0.000s [C9 <private> Hostname#8a6ec86d:443 resolver] path:start
0.000s [C9 <private> Hostname#8a6ec86d:443 resolver] path:satisfied
0.000s [C9 <private> Hostname#8a6ec86d:443 resolver] resolver:start_dns
0.049s [C9 <private> Hostname#8a6ec86d:443 resolver] resolver:receive_dns
0.049s [C9.1 <private> IPv4#5fb0d79a:443 channel-flow] path:start
0.049s [C9.1 <private> IPv4#5fb0d79a:443 channel-flow] path:satisfied
0.049s [C9.1 <private> IPv4#5fb0d79a:443 channel-flow] flow:start_nexus
0.050s [C9.1 <private> IPv4#5fb0d79a:443 channel-flow] flow:receive_nexus
0.050s [C9.1 <private> IPv4#5fb0d79a:443 channel-flow] flow:start_connect
0.695s [C9.2 <private> <IP_ADDRESS>:65375<->IPv4#74b44f9e:443 channel-flow] path:start
0.696s [C9.2 <private> <IP_ADDRESS>:65375<->IPv4#74b44f9e:443 channel-flow] path:satisfied
0.696s [C9.2 <private> <IP_ADDRESS>:65375<->IPv4#74b44f9e:443 channel-flow] flow:start_nexus
0.696s [C9.2 <private> <IP_ADDRESS>:65375<->IPv4#74b44f9e:443 channel-flow] flow:receive_nexus
0.697s [C9.2 <private> <IP_ADDRESS>:65375<->IPv4#74b44f9e:443 channel-flow] flow:start_connect
1.016s [C9.2 <private> <IP_ADDRESS>:65375<->IPv4#74b44f9e:443 channel-flow] flow:finish_transport
1.016s [C9 <private> Hostname#8a6ec86d:443 resolver] flow:finish_transport
1.741s [C9.2 <private> <IP_ADDRESS>:65375<->IPv4#74b44f9e:443 channel-flow] flow:finish_connect
1.742s [C9 <private> Hostname#8a6ec86d:443 resolver] flow:finish_connect
1.742s [C9.2 <private> <IP_ADDRESS>:65375<->IPv4#74b44f9e:443 channel-flow] flow:changed_viability
1.742s [C9 <private> Hostname#8a6ec86d:443 resolver] flow:changed_viability
7.002s [C9 <private> Hostname#8a6ec86d:443 resolver] path:satisfied_change
7.004s [C9.2 <private> <IP_ADDRESS>:65375<->IPv4#74b44f9e:443 channel-flow] path:satisfied_change
7.004s [C9 <private> Hostname#8a6ec86d:443 resolver] path:satisfied_change
17.610s [C9] path:cancel
nw_protocol_tcp_log_summary [C9.2:3]
[<private> <private>:65375<-><private>:443]
Init: 1, Conn_Time: 318.253ms, Syn's: 1, WR_T: 0/0, RD_T: 0/0, TFO: 0/0/0, ECN: 0/0/0, TS: 1
RTT_Cache: kernel, rtt_upd: 4, rtt: 316.875ms, rtt_var: 83.812ms rtt_nc: 335.906ms, rtt_var_nc: 100.187ms
nw_endpoint_flow_protocol_disconnected [C9.2 IPv4#74b44f9e:443 cancelled channel-flow (null)] Output protocol disconnected
nw_connection_report_state_with_handler_locked [C9] reporting state cancelled
removing all entries config 0x2814e5920
Notified that audio session activation state changed to: 0
Notifying delegate that audio session activation state changed to: 0
CONSOLE DEBUG file:///app/tns_modules/nativescript-twilio/delegate/delegate.js:246:22: providerDidDeactivateAudioSession
AVAudioSessionPortImpl.mm:56:ValidateRequiredFields: Unknown selected data source for Port Receiver (type: Receiver)
AVAudioSession.mm:250:HandleRouteChange: Posting AVAudioSessionRouteChangeNotification. Reason: 3
AVAudioSessionPortImpl.mm:56:ValidateRequiredFields: Unknown selected data source for Port Speaker (type: Speaker)
AVAudioSessionPortImpl.mm:56:ValidateRequiredFields: Unknown selected data source for Port Speaker (type: Speaker)
Task <AA5DAD9B-2D29-4656-B78F-3DCA0A1F85D1>.<8> received response, status 200 content K
Task <E613DFD8-E794-43D8-AC44-17041AA052F7>.<9> received response, status 200 content K
Task <AA5DAD9B-2D29-4656-B78F-3DCA0A1F85D1>.<8> response ended
Task <AA5DAD9B-2D29-4656-B78F-3DCA0A1F85D1>.<8> done using Connection 10
Task <E613DFD8-E794-43D8-AC44-17041AA052F7>.<9> response ended
Task <E613DFD8-E794-43D8-AC44-17041AA052F7>.<9> done using Connection 12
app will resign active
app will suspend
set suspended: 1
_deactivateEngineIfPossible <_UIFeedbackSystemSoundEngine: 0x2830dd740>, clientCount: 0, suspended: 1
_deactivateEngineIfPossible <_UIFeedbackSystemSoundEngine: 0x2830dd740> tearedDown: 1
_cooldownEngineIfPossible <_UIFeedbackSystemSoundEngine: 0x2830dd740>
CONSOLE DEBUG file:///app/tns_modules/nativescript-twilio/delegate/delegate.js:97:22: APP_ENTER_IN_BACKGROUND
Snapshotting a view (0x10a820a00, UIKeyboardImpl) that is not in a visible window requires afterScreenUpdates:YES.

thats the log i get from simply ending a call on remote, the callDidDisconnectWithErrors did not trigger

Hi @Owchzzz
Unfortunately the SDK does not log additional message when sending the call:didDisconnectWithError: callback to the application, but from the SDK log the call seems to be disconnected and terminated by the remote party. Ideally the call:didDisconnectWithError: callback should be fire immediately after the onTerminated line in the log unless the delegate is already gone.
I am not the expert of the Angular or React Native plug-in, but I would imagine you should be able to create static component that manages the interaction with the Voice SDK.
If it is possible, can you share the code snippet of the main components of your application so we can help debug the callbacks?
Thanks
-bobie

Hi @bchen-twilio I have a public repository that set this up, it may look unfamiliar because its nativescript, however take a look at the files in the delegate folder specifically for delegate.ios.ts
https://github.com/Owchzzz/nativescript-twilio/blob/update-twilio-v3-beta5/src/delegate/delegate.ios.ts

perhaps you can have a javascript engineer take a look at this and they might get some idea, take note i do attach the call delegate from inside of the same delegate file which should typically mean that it runs in the same thread as the UI Thread

Hi @Owchzzz
Thanks for sharing the code. Can you provide a brief explanation of how a call works in your application and what components are involved? The delegate implementation itself doesn't show much of how views/pages are transitioning and how share components communicate to each other.
Thanks,
-bobie

Hi @bchen-twilio sure thing,
Okay so that is actually a nativescript plugin to be able to interface with the twilio voice sdk. the Application delegate is called the same as native iOS via UIApplicationDelegate
as you can see in the src there is a Custom Call Delegate Class that implements TVOCallDelegate https://github.com/Owchzzz/nativescript-twilio/blob/21b060245e404e4860bf5ce06d1beb8e48f541ff/src/delegate/delegate.ios.ts#L5. we've instantiated everything in the same way that the twilio voice quickstart is structured. except for a few notable differences, one is being that we could not access the call delegate the same way it was accessed in swift/objC so in the performAnswerAction we actually create a new call delegate that is specified here https://github.com/Owchzzz/nativescript-twilio/blob/21b060245e404e4860bf5ce06d1beb8e48f541ff/src/delegate/delegate.ios.ts#L532
I think everything else is a bit standard. things to take note: the nativescript lifecycle. it runs on a single thread which is the UI Thread, and im actually talking people on the nativescript community to see if they can help me understand more on how the process is managed, im not sure if this is causing the issue. but the thing is, the onConnected triggers perfectly. we have custom listeners setup that call application functionality at each stage of the call, for example the onConnected listener is triggered when the call is accepted and can be seen here: https://github.com/Owchzzz/nativescript-twilio/blob/21b060245e404e4860bf5ce06d1beb8e48f541ff/src/delegate/delegate.ios.ts#L14
And here is a sample on how we setup the in app call listeners inside of an actual app (in this case the demo application) https://github.com/Owchzzz/nativescript-twilio/blob/21b060245e404e4860bf5ce06d1beb8e48f541ff/demo-angular/app/app.component.ts#L26
I hope i was able

Hi @Owchzzz
Thanks for the detailed descriptions and showing me how the delegate is instantiated and used in your code. It doesn't seem to have anything wrong the way the delegate is created in the answer scenario. It would be great if you can share with us once you have any findings regarding the lifecycle and the threading model that could have caused the issue.
Thanks,
-bobie

hi @bchen-twilio thanks i will definitely inform here once we have resolved the issue, so far no luck.

@bchen-twilio can we get an additional tag [nativescript] if possible on this issue just incase another nativescript developer is on here that might have an idea if thats alright


Add all client-go authenticators

otherwise I cannot run this on my GKE cluster

Changes

/kind

Fixes #

Release Note

Docs

https://github.com/kubernetes/client-go/blob/master/examples/out-of-cluster-client-configuration/main.go#L34
Basically you cannot run this against a lot of clusters (GKE in my case) without importing the auth libraries

Ping @maximilien

/lgtm


OpenNebula community fourm in read only mode

Description
Hi, is there something wrong with OpenNebula forum? I can't post to it:

To Reproduce
Try to write any message or put some ❤
Expected behavior
Ability to post or giving the likes.
Details

Affected Component: OpenNebula Forum
Hypervisor: [e.g. KVM]
Version: [e.g. 5.4.12 or development]

Additional context
Add any other context about the problem here.

Progress Status

[ ] Branch created
[ ] Code committed to development branch
[ ] Testing - QA
[ ] Documentation
[ ] Release notes - resolved issues, compatibility, known issues
[ ] Code committed to upstream release/hotfix branches
[ ] Documentation committed to upstream release/hotfix branches

IMHO it was some maintenance on Discourse side.
I have seen that as well, it's over already.


Pattern for mode in multimode lexer

I'm sure this is quite simple, but I have a mode that should start with @{ and end with }@, and should accept anything else inside including }. My tokens are as below. How would I define the pattern for my Gate token ?
 const EnterGate = createToken({
    name: "EnterGate",
    pattern: /@{/
    push_mode: "gate_mode"
  });

  const ExitGate = createToken({
    name: "ExitGate",
    pattern: /}@/
    pop_mode: true
  });

  const Gate = createToken({
    name: "Gate",
    pattern: ??
  });

You can probably use something like (?:(?!}@).)*. It uses a negative lookahead group (?!) to prevent matching }@ and then attempts to match any character .. This is repeating until it arrives at the end of the input or the }@ sequence.


fix symlink capitalization in mac package

fixes #532 (I think). I can't actually test this without a case-sensitive file system, but I think this is the right fix.

BTW---I updated the travis-ci scripts to upload director packages here:
https://bintray.com/patmarion/director/director
I can still manually upload them to http://people.csail.mit.edu/patmarion/software/director/releases/ but maybe you can have a look at the bintry option and provide feedback?

bintray looks fine to me. It looks like I'd just want to update my scripts to grab the binaries from here: https://dl.bintray.com/patmarion/director/ ?

yeah, or here:
https://bintray.com/patmarion/director/director/0.1.0-140-g08e78dc#files
the bintray docs recommend doing this command:
curl -L "https://dl.bintray.com/patmarion/director/<FILE_PATH>" -o <FILE.EXT>

Cool. Is the upload to bintray automatic on commits to master?

here are the latest:
https://bintray.com/patmarion/director/director/0.1.0-144-g7ce9a5a?sort=&order=#files
( i need to sort out the documentation tarballs and automatic deploy of html, that's not currently running automatically)

Ah, nvm, just saw the updated files. Thanks again!

the upload is automatic but the files are private until I go to bintray and click the "publish" button.  After I verify it is definitely uploading correctly I plan to set it to publish automatically, too.


initialize JWT GEP

What type of PR is this?
/kind gep
What this PR does / why we need it:
This is the introduce the JWT Policy concept into Gateway API
Which issue(s) this PR fixes:
Fixes 2198
Does this PR introduce a user-facing change?:
NONE

Thanks @brianehlert!
/ok-to-test

Once #2689 merges, this will need a rebase and update - the GEP files have moved.

@brianehlert this can be rebased now as per the GEP move we did a couple months back. Let us know if you run into any trouble.


Create lcf.py

fixed #165

Add resources not codes
Add resources like courses, certifications, roadmaps, notes, cheat sheet, etc


Json Array

I am having trouble getting a Posted object that contains an array of products  to insert into a type json field.
If i make products a single object all works fine.
{
  "products": [
    {
      "DishId": "R00265",
      "Name": "Miso Soup",
      "Description": "Seaweed, tofu, spring onion, soy bean broth (unlimited refills).",
      "PriceInGBP": 220,
      "Quantity": 2
    },
    {
      "DishId": "R00500",
      "Name": "Spicy Seafood Udon",
      "Description": "Shrimps, salmon, squid, vegetables, udon noodles, spicy broth.",
      "PriceInGBP": 430,
      "Quantity": 2
    }

  ],
  "totalprice": 2579,
  "totalitems": 7,
  "userid" : 2
}

It's not clear what you're asking here. I'm guessing that you mean you're setting an attribute on a model to an array, then calling Model#save() to insert it into a JSON column?
Could you please provide a code example and the generated query (by passing {debug: true} as an argument to save).

The issue seems to be with this
"{"{"DishId":"R00265","Name":"Miso Soup","Description":"Seaweed, tofu, spring onion, soy bean broth (unlimited refills).","PriceInGBP":220,"Quantity":2}","{"DishId":"R00500","Name":"Spicy Seafood Udon","Description":"Shrimps, salmon, squid, vegetables, udon noodles, spicy broth.","PriceInGBP":430,"Quantity":2}"}"
var createOrder = function(req, res, done) {
new Order(req.body).save().then(function(order) {
res.json(order);
});
};
Thanks

Okay... So is that working?
On Sat, 8 Aug 2015 5:49 pm spwizard<EMAIL_ADDRESS>wrote:

The issue seems to be with this
"{"{"DishId":"R00265","Name":"Miso
Soup","Description":"Seaweed, tofu, spring onion, soy bean broth
(unlimited
refills).","PriceInGBP":220,"Quantity":2}","{"DishId":"R00500","Name":"Spicy
Seafood Udon","Description":"Shrimps, salmon, squid, vegetables, udon
noodles, spicy broth.","PriceInGBP":430,"Quantity":2}"}"
var createOrder = function(req, res, done) {
new Order(req.body).save().then(function(order) {
res.json(order);
});
};
Thanks
—
Reply to this email directly or view it on GitHub
https://github.com/tgriesser/bookshelf/issues/864#issuecomment-128927491
.

Hey @spwizard, I just added code delimiters to your comment above for readability.
You have to understand that unless you say more than "I am having trouble with [task]" it's going to be difficult for anyone to give you specific advice on how to help. In what way is it not working? Is there an error report? Is the table not being updated? etc. Tell me what you know so I can help.

No its not
invalid input syntax for type json

Hey, can't help you much right now on Saturday night, but you might find the solution you need here: tgriesser/bookshelf#94 brianc/node-postgres#442.

rhys thanks for your help. It appears the solution is to JSON.stringify the array products first.
By doing this I can now run queries like
Select Distinct userId, products
from orders where products @> '[{"Quantity" : 2}]';
var createOrder = function(req, res, done) {
var newOrder = {}
newOrder.totalprice = req.body.totalprice;
newOrder.totalitems = req.body.totalitems;
newOrder.userid = 2;
newOrder.products = JSON.stringify(req.body.products)
new Order(newOrder).save().then(function(order) {
res.json(order);
});
};

Great. You might prefer to do something like this:
Order = bookshelf.BaseModel.extend({
  tableName: 'orders',
  initialize: function() {
    this.on('saving', function(model, attrs, options) {
      var products = this.get('products');
      if (_.isArray(products)) {
      }
    }
  }
});

Thanks for that.

Closing this for lack of activity. If you need any further clarification about this issue we can reopen it.

@spwizard Take a look at the bookshelf-json-columns plugin.


New Plugin to Limit the Min/Max Characters for Custom Keyword

Code of Conduct

[X] I agree to follow this project's Code of Conduct.

Submission validity

[X] This is not a personal support request, that should be posted on discussions community.
[X] I checked current issues and this request isn't a duplicate of an existing issue, opened or closed.

Summary
Hello :)
I just created a new plugin to limit the minimum and maximum number of characters for custom keywords.
Motivation

I've noticed that making keywords too long defeats the purpose of a "URL Shortener".

"Then why did you add "Minimum Length"?"

Because sometimes owners have to reserve some short keywords for their personal needs.

Describe the solution
Therefore, I created this simple plugin to solve the issue:

YOURLS Limit Custom Keyword Length

I hope this can be useful to anyone who needs it.
It would be great if it was also added to the list of awesome YOURLS plugins. Thank you.

Duplicate of YOURLS/awesome#160


Cooldowns

I am trying to do a 1 week cooldown on a command and it tells the user how long till they can use it again. Is there a way that I can convert the seconds into days?

Yup, you can just do some maths.
https://stackoverflow.com/a/21323783


Lack of union types

Unsure if this is intentional or not, but there doesn't seem to be any facility for creating unions in the language spec (from the website) or in the compiler.
I posit this is useful, because:

A systems language should have unions, as storing values of different types in the same memory space is important for efficient memory usage
Porting code from other languages with unions (especially C) is infeasible without them. The relevant data members could be type-punned using pointer type casting, but this doesn't scale well and complicates porting

Yup, union types are definitely planned. I'm thinking something more elegant than C, probably provide language support for tagged unions that would reduce programmer error and be better to use.

Hohoho, as of version 0.33.0 i am glad to announce that after 4 long years unions are in!

Congratulations! :)


Error state designs for checkout page

Error state designs for checkout page
Summary
What should be displayed if the credit card processor (Stripe, etc) encounters an error when processing a payment? See checkout page for context.

Here is an example of a CC processing error.

@reactioncommerce/design

Hey @willopez, the documentation for Inline Alerts is now available here - http://zpl.io/bPm5XKl
Just to clarify, in the instance of a payment error, we should show the Error inline alert in addition to the field-level validation errors (such as "Incorrect card number" below the credit card number field, etc.)