Access an IVR Application menu choice manually from VXML server - ivr

How do I construct a URL to select a specific <choice> in a <menu>?
I have a simple IVR Application which is Deployed on the CVP VXML Server. It starts with two <audio> elements, then a <menu> with two <choice>s, and finally <disconnect>.
When I call this application from a Cisco IP Phone, it works perfectly. But what I want to do is to call the application manually from my browser and get the VXML for every element.
I am able to make a connection to the server and it returns the first <audio> element VXML. I'm accessing it by going to:
This URL correctly returns the first <audio> element. When I want to access the next element I change the URL to:
Server:port/CVP/Server?application="APP_NAME" ? audio_file="next" method="post"
This URL correctly returns the next element. Then I enter the above URL again and it correctly returns the <menu> with both `'.
How do I construct the URL to select a specific <choice> on the menu as if I was navigating it on a phone call using DTMF, where I pressed 1 to have the call flow enter into one branch, and when I pressed 2 it entered into another branch?

Just check the filled section of that vxml (that has the menu of 2 options). In the filled section, there would be some file that it is submitting to. Try to access that file in your URL (or try to replicate the path that the code is taking when one presses 2 - in your URL)

Check the field name, that would be the parameter you would need to pass to the next page.


URL Scheme with argument in windows

Say I want to open this dictionary application by calling name://word. I followed this answer and successfully register the url scheme. However, if I visit name://example in my browser, it does open the app but it passed the whole url name://example. As a result, my dictionary app search for name://example string. I want to search for example only. How do I do it?

Add a close button for a task module in ms teams

I am investigating if it's applicable to have a cancel/ close button on our html page inside taskmodule so it can actually close the task module?
Yes, it's entirely possible to do this. Basically, in order to close your task module in any way, you make a call from within the web page (in script), to:
submitTask takes two parameters. The first is any object you want to return back to the caller (whatever opened your task module). For instance, if you have a Tab in your app, and the Tab opens the task module to app a new entry to a database, you could pass that new item back to the opening Tab by passing it as microsoftTeams.tasks.submitTask(newItem);
You can see more about this here.
If you have nothing at all to send back, you can simply call microsoftTeams.tasks.submitTask(null);. In this case, it will do nothing but close the task module, which sounds like what you're trying to do.

How to change URL at runtime

We are trying to use Cobalt (20.stable) browser as the browser of our web SPA application.
My requirement is to be able to change URL at runtime, what I was able to find in the code:
starboard::shared::starboard::Application::Link(const char* link_data)
which ends up sending:
Unfortunately this is not working, as code is ignoring the call; the handling reaches the point:
// TODO: Remove this when terminal application states are properly handled.
if (deep_link_event->IsH5vccLink()) {
In my case I m trying to change the URL to let say
There should be a way to do that as when navigating we can always have a link that will cause the browser to go to some URL?
Porting layer is not supposed to control navigation directly. Instead, your Starboard implementation may send a deep link event which could be intercepted by a web app which will perform a navigation. See h5vcc_runtime.idl for Web API.
That said, if you are building an SPA, why do you even need to change a URL? Initial URL of a web app is controlled by --url command line switch.
When you say runtime are you looking to change the initial URL when the app is first launched? If so, you could just use the --url parameter.
So you could do the following:
cobalt --url=""
I did a patch to allow changing the URL.
I just need to call starboard::shared::starboard::Application::Link("").
Inside this call a DeepLinkEvent is posted.
Patch :
Cobalt does not navigate for you. The JavaScript receives the deeplink with the function it sets on h5vcc.runtime.onDeepLink and then does whatever it wants with that. As a SPA, it will parse the URL and load new content from its server in its own internal data format (e.g. protocol buffers, JSON, etc.) which it uses to update its own DOM to show new content.
Navigating is not the point of a SPA since that makes it not be a single page application. However, there may be cases such as a loader app that will want to make some initial decisions then load the actual SPA. That loader app would have to have the appropriate CSP rules in place, then set window.location to the URL of the page to navigate to.
Note: The code you found in Application::OnDeepLinkEvent() is a remnant that previously supported the H5vccURLHandler, which was removed in Cobalt 20. It's not meant to navigate to arbitrary deeplinks.

Programmatically pass additional header info along with URL to open a browser

I have an application which at one point wants to launch a particular URL in the default browser. This is pretty simple and can be achieved using ShellExecute on Windows. However the catch is that the server expects some additional custom header information (for authentication/identification purposes) to be sent along with the GET request.
Is there any way by which this (additional header) information could be passed to the browser while launching it?
Note:- I want to launch the default browser and not use a Web browser control
As I understand you have only one option: add intermidiate page (in internet or on localhost).
You have to create or localhost/sendHeaders.php (or any another extension; choose language what do you prefer), which does following:
Unpack parameters (URL and headers),
Connect to the URL, send the headers,
Print the answer in browser.
So you will open in your browser intermediate page, but browser will show you a page realUrl, which received proper headers.

new server/website appears to be caching but cache is turned off

I recently setup a home server running windows 7 pro and IIS 7.5. I have an ASP page that reads/writes to a database. One scenario I have is a newsletter with a list of subscribers. I manually check a box next to a user's name and they get added to a table that associates that userid with a messageid.
When the page loads initially, let's say I've previously added a user to the newsletter. I have a variable that displays that says "1 subscriber". If I add a user (by checking a box next to their name, hitting submit and submitting a form to the same page but with an action=submit added) the user entry will be added to the DB, the script file then redirects to the same page without the action=submit and Session("msg") will show as "updated successfully" but the subscriber count will equal 1 still. If I hit F5, the number updates.
Everything I've read along with what knowledge I have of programming points to it being a caching issue. However, I've taken all the steps I can find online to disable all caching.
Is there something I might be missing or might it not be a caching issue at all but rather something else? I've used this style of programming for years on other servers without any issues which is why I feel like it points to a setting somewhere.
This is the first server, I've been the admin for so I'm kinda bumbling my way through these things as they come up.
polls DB to pull count of number of subscribers (audience)
[subscribers show 1]
polls DB to pull all email addresses in DB (subscribers)
list available email address within form
I check appropriate checkboxes next to name(s) and submit form
form submits to subscribers.asp?cid=5 with hidden input type name=action value=submit
Script runs (if action=submit then)
insert subscriber ids into audience table
set RS and Conn = Nothing
subscribers still show as 1. Hit F5, now it shows incremented appropriately.
Any help is greatly appreciated!