Call notifications for agent web interface on GoAutodial - asterisk

The problem is simple, agents login to the web interface using firefox, they get involved with other tasks that require them to use other windows therefore Firefox is hidden so they do not get a notification or alarm on the web page. is there a desktop client or a notifications method to show the agent that there is an incoming call

Firefox support screen popups.
http://www.binpress.com/tutorial/building-useful-notifications-with-html5-apis/163
There is also addon for older firefox https://code.google.com/p/ff-html5notifications/
Also you can create desktop application which will sit in background and popup when needed(not so costly)

Related

How to invoke Google/Apple Pay from a Xamarin.Forms WebView?

Is there a way to enable Google/Apple Pay to be invoked from a WebView? I'm using a payment service (similar to Stripe) that will gives me a payment URL. To finish a payment, I have to open a browser, navigate to that URL and let the user pay.
I'm using a WebView because I need to be able to intercept the browser navigation and close it when it's navigating to the return URL I've provided to the payment service. That's why I'm not opening the URL in a browser intent.
The problem is that when opened in a WebView, clicking on the Google Pay button fails to open the Google Pay overlay (where you can pick a card and pay) and the payment cannot be finished. I suspect that the WebView isn't able to invoke the Google Pay API, is there a way to enable that? If not, I'd have to switch to opening the payment URL in a browser intent (using the Xamarin.Essentials's Browser API) and I'd lose the option to intercept the browser navigation.
Thanks for any advice!
EDIT:
I've received advice from the my payment processor in the meantime. They said:
Use the Chrome Custom Tabs for Android instead of the WebView. It works similarly but also supports standard functionality (such as Google Pay). To use Apple Pay on iOS, use the SFSafariController.
I'll try that and report back here.

Event notification on mobile and desktop from a website

I'm wondering if using the server-sent events described here:
https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events , therefore from a web browser on desktop or mobile, once the user "subscribe" to it, gets the notification even if the browser is closed.
I imagine that the popup window that sometimes I get browsing on some sites, like the one below
is given by adding the server-sent events, right?
I see two parts in your question:
Is the "Show notifications" popup related to server-sent events?
No.
This comes from the Notifications API.
That popup is displayed when the JavaScript application running in the browser calls Notification.requestPermission().
Will server-sent events be received by the browser when it's closed?
No.
That's not the purpose of server-sent events. SSE is a mechanism for streaming data from a server to the browser, similar to WebSockets.
How to send notifications to the user even if the browser is closed?
I'd refer you to other questions that have already been answered here:
Is there a way to display desktop notifications even when Chrome or Firefox is closed?
Does service worker runs on background even if browser is closed?
Send desktop notifications in Chrome or Firefox from a closed web app?

Auto Sign-In to Power BI through code so as the report is visible in 'Secure Embed Code'

Issue:
On several ios devices, after clicking on 'Sign-In' button within the iframe(having src as Power BI report 'Secure Embed Code'), a new window opens to sign in to Power BI and after successful sign in, the window closes. However, iframe does not get reloaded. A manual intervention to reload the page is required to view the report. This exists on several ios devices (irrespective of the browser chrome or safari).
Implementation:
We have a web application using Azure AD Authentication, in this web application, we are embedding the Power BI reports with the help of 'Secure Embed Code' in an iframe.
Current Workflow:
1) User sign in to the web application ->
2) Iframe (having secure embed code) is displayed with a Sign-In button ->
3) User clicks on 'Sign-In' button within the iframe ->
4) A new window opens for few seconds to log in to Power BI Services ->
5) This new window closes automatically after successful login to Power BI Service ->
6) Iframe reloads and report is displayed
This flow works fine for Windows and Android devices. However, for several ios devices, Step#6(Iframe reload) does not work.
I am aware of the limitation of 'Secure Embed code' as
Some browsers require you to refresh the page after sign-in, especially when using InPrivate or InCognito modes.
Refer Limitations section of link for details.
Required Functionality:
After sign-in to the application, before rendering of any iframe, a link should be provided which generates a new window and prompt user to sign in into the Power BI Services. After successful SignIn in the new window, a message should be passed to the previous window that 'signIn is successful' and the new window should be closed. Once our application receives this message 'signIn is successful', then the iframe should be rendered. This will help us resolve the issue that exists in ios devices.
Note: We do not want to use 'App Owns Data/User Owns Data' approach as these approaches require to purchase dedicated capacity for production.
Please suggest if this is possible and provide some reference as to how could we achieve this.
Or suggest if there is any other workaround to resolve the issue.
Any help will be greatly appreciated.
Thanks
Note: We do not want to use 'App Owns Data/User Owns Data' approach as these approaches require to purchase dedicated capacity for production.
No, this isn't true. You will need dedicated capacities if you use embed tokens (e.g. generated with GenerateTokenInGroup). You can embed reports with AAD tokens and keep using shared capacities (see tokenType property).
The inconvenience that you are trying to overcome comes from the way secure embedding is implemented. This is how this feature works. Microsoft didn't made it because they wanted to make it inconvenient for the users. They made it this way, because it wasn't possible or easy enough to implement it better. You have to either way for a while, until browsers changes or Microsoft updates this feature, or use proper embedding (user owns data scenario in your case).

Web/Push Notifications and Accessibility

I would like to know if there is any information or support available regarding Accessibility features with respect to Web Notifications on Chrome and Firefox browsers.
We are trying to implement Web Notifications using the Notifications API https://notifications.spec.whatwg.org/ and are unable to use keyboard to get focus to the web notification in the bottom right. We can though access the Accept/Block popup that requests the permission to allow notifications when we use keyboard tab or spacebar. We believe it is a very important ability to support people with disabilities.
Thanks in advance

How to get API URL using chrome/fiddler dev tool

I have a get API call from my asp.net mvc controller using HTTP client. API returns json data and also my controller returns json data. In network tab in chrome dev tool I can get the details of my controller call and the data but I am not getting any information about that API call.
Is it possible to inspect/ track API call details using chrome or fiddler? If yes how? Or is there any other tool that will intercept those call also.
The network tab in Chrome tracks all traffic to and from the client.
You will see all of the calls sent from the server to the browser. This includes images, css, javascript, etc. However, it also shows the result of ajax calls.
For an example, go to This page and open Chrome Developer Tools. Then go to the network tab. Then simply click on the demo button and you will see the call pop up.

Resources