How to use freeswitch api to execute bind_meta_app? - freeswitch

I'm trying to call bind_meta_app defined in dialplan via freeswitch api.
Phone A calls phone B, and in the related dialplan, I use bind_meta_app to excute custom extension when phone B sends DTMF '*1'.
<action application="bind_meta_app"
data="1 b s execute_extension::custom_extension XML default"/>
If button '*1' is pressed on phone B, bind_meta_app will be called. But If I use uuid_send_dtmf to send DTMF, bind_meta_app will not be called.
uuid_send_dtmf b_uuid *1 #200
Is it possile to use api to call bind_meta_app? Thanks!

Related

Azure Communication Services - Teams Calls

Hi with the new ACS will it be possible to fire an event when a call is answered and fire an event after the call has finished?
I'm wanting to capture the number of the call that has been answered and then open a program to pop up the details of the caller.
Thanks
It is possible to hook to EventGrid events:
Call Started
Call Ended
You can extract the phone number from rawId or use the new createIdentifierFromRawId method to convert it to the correct identifier type for further usage.
See the events reference and the quickstart for Azure Communication Services.
You can also listen to some events with the Call Automation SDK.

How to receive a pulse in Javascript Sinch SDK call to PSTN

I can see in the JS reference how to send a dial tone, but how can I process an incoming one in the JS SDK?
In other words, I need the call receiver to be able to press a number in their phone to acknowledge something and trigger an action in JS
DTMF is not for the other end JS client to recieve, its for the rest api to react on, think IVR etc
See #Redaniums (https://stackoverflow.com/users/3339316/redanium) comment above https://www.sinch.com/docs/voice/rest/#PIE

Disallow user to make a call when there are no more credits: Sinch Javascript SDK

My application allows unlimited instant messages for free, but takes credits for calls. I want to be able to disallow user to make a call when he does not have any more credits. How in a ideal scenario is this managed using javascript SDK?
I am coming from a standpoint, that although I am able to control this behavior through some validations in code itself, but what happens when the user is a hacker? He can go to console and call javascript methods of its own such as removeListeners and then callClient.callUser(userId). How do you protect sinchClient in such case? Thanks.
Note: I am open to provide more information if the question is not clear.
Sinch exposes a REST based callback mechanism to control your call flow. You can set a callback URL in the Sinch Portal under Applications >> Voice and Video settings. Each call will then trigger a Incoming Call Event (documented here: https://www.sinch.com/docs/voice/rest/#callbackapi) and you can control whether or not to connect this call via the callback response.

how to intercept LUIS intent responce on a different server

I have a mobile native app using Bing Speech & LUIS services. After the intent "text" is received I call my business app API with the intent text.
Basically 2 server calls - one to get the intent the other to my API with the intent.
So, is it possible to call Bing + LUIS and have an event handler on my Azure App Server to receive the intent i.e. without going back to mobile interface and invoking the API call from mobile.
regards
-Ravi
Is there a reason you cannot just route through the server? e.g. the chatbot sends the user's text to the server, and the server calls LUIS, receives and handles the response, then formulate a response to send to the chatbot.

How we know some action is performed in windows phone

hi I want to get the response of actions performed in the windows phone, such as user is answered the call, calling another usr, sms recived etc. In android there is Intent Filters and Broadcast recivers for catching any news happening in the phone. Do we have same mechanism in Windows phone?
You can't intercept those events from your app with the current SDK.

Resources