Why Twilio Flex HOLD MUSIC TWIML played after 25 to 30 seconds In case of Call transfer from watson assistant - watson-assistant

I am calling Twilio number from Watson dialog using watson vgwActTransfer.
At Twilio side I am receiving incoming call using Studio flow.
Here I have used SendToFlex widget. Where call will be queued in Queue 1 for 30 seconds.
While call is Queue 1, hold music is not played for end user for almost 25 seconds then music starts.
I am not sure what is problem. I can see task waiting in queue but no hold music played for user till 25s.
I tried playing text using Say/Play widget, but that also seems playing from 3rd line onwards after waiting for few seconds. First 2 lines are not played to user.
This problem I am facing for both Twilio default hold music as well as my custom music.

Related

Capturing legacy voicemail - cannot use google voice

is it possible to dial a voicemail line, enter passcode, listen to first voice mail , record the audio to a file, transcribe the audio, capture the metadata (caller id and #) and timestamp,
My wife has to listen to 30-50 voice mails each day at the school where she works. It is an older phone system and you have to use touch tones (DTMF) - once phone answers you hit *1111#1 to listen to first voice mail, listen, repeat for next voicemail.
I would like to automate this for her and pull these into a google sheet
Timestamp CallerId Phone# MP3file transcript
the problem - I have all the pieces working EXCEPT dialing the voicemail line and navigating the tree, capturing the recording(s). There will be 30-50 recordings each morning and a few throughout the day - I can use a trigger to autodial every hour or so.
I believe Twilio Studio will get me there - but not working. Ideas, articles, pointers most welcome
(everything else works great - I can hit a twilio endpoint to start the call and if I could get the recording, I can pull the recording, transcript, and metadata into google sheets (or even email /sms it to my self)

Polling status of Google Speech to Text

It appears that I have correctly connected the system to the audio recording (.flac). It sent me back the ok 200 code and the name:ID # however I am trying to check the status. I am using the Google API for hits. Can you help me out? The gcloud ml speech operations describe with my ID number isnt working.

Recognize the duration time (start, stop) when user answers a incoming/outgoing call

Can i recognize the start time and end time of duration call when user answers incoming and outgoing call?
There are events you can track when your app is running and you get an incoming call or alarm or any other system related popup.
there is no exact way to say if it's a call, alarm or other system application hiding your app. The events are called Obscured and Unobscured:
msdn link obscured event: https://msdn.microsoft.com/library/windows/apps/microsoft.phone.controls.phoneapplicationframe.obscured(v=vs.105).aspx
Example on Nokia wiki on how to implement this:
http://developer.nokia.com/community/wiki/How_to_handle_phone_calls_and_other_interruptions_in_Windows_Phone

Windows Phone 8, need to cancel Async task on back key press

I am new to WP8 Aync tasks and have a query-
In WP8, on backbutton press, since it basically pops the last screen from the stack, then why are the Async tasks not cancelled when back key is pressed?
Also, if I am using the HttpWebRequest response, is using Abort() the only way of cancelling the async tasks?
The reason is because Back is a UI concept but things like networking are typically decoupled from the UI. As an example, imagine the user hit "Save" in an app and that started a web request to send their data to the cloud. Then they hit the Back button to go back to the previous page; it would be unexpected for the web request to be aborted and the data to potentially not be saved.
If you have a need to stop tasks when your UI changes (eg, because of resource consumption concerns) then you can try to do that, but I have a vague recollection that Abort is a no-op for Windows Phone 8 (but I could be wrong).

How to discard old toast notifications without closing push channel?

According to MSDN, MPNS will put the notification requests in queue for delivery, so there is always time delay for them to get to device. My problem is that, sometimes, for example when the device goes to Temp Disconnected mode, the time delay is so long that the toast notifications become outdated when they arrive. Is there a way to discard/ignore these old toast notifications without renew the current push channel? If not, is it all right for me to renew push channel every time I open app?
As far as I know, it's OK to renew the channel every time you open the app. If your app is not running and you don't have a background task getting these notifications, you will automatically be discarding them anyway. Also, if my memory serves me correctly, should you use the channel request with an object that has been previously used to receive stuff from the channel, you can get the same channel (I might be wrong here). In this case, if you get old messages, you probably have to handle the local discarding manually.