Questions tagged [asterisk-ari]
46 questions
1
vote
1 answer
Using WebSockets to monitor calls on Asterisk 13
I've recently upgraded our PBX to Asterisk 13, in the hope that the new REST API and WebSockets support would solve some problems we were having with tracking calls via the AMI.
We're building a C# application that will sit in the Windows tool tray…

iam
- 137
- 4
- 13
0
votes
1 answer
asterisk mute all channels on a confbridge by single command
I am working on a solution with asterisk, that needs to enter all caller channels in a confbridge and then there is admin user that can mute and unmute any channel at runtime by it's choice.
All of this is working.
But now I am stuck at a scenario…

syed kumail abbas
- 35
- 4
0
votes
0 answers
I can connect to ws://localhost:8088/ari/events?api_key=user:user&app=hello-world, but i can't connect to ws://localhost:8088/ws. Why?
I am using laravel and javascript to presend live data of a call center dashboard. How can I control the realtime data with laravel endpoints and websockets, I do not want to access asterisk ari with javascript directly but first with laravel and do…

abdullah
- 3
- 1
0
votes
0 answers
Fetching data Asterisk( ARI ) with socket.io & Node.js(ari-client)
I need a help. I have trying fetching data from Asterisk (ARI) and can`t catch events and connect socket. When nodemon started i can get some data(what i want like channels and etc), but if call incoming i cant catch data realtime and i need reload…

Mikhail Karnou
- 3
- 3
0
votes
0 answers
Add PJSIP header on inbound channel
I am trying to add PJSIP header in asterisk in node.js but headers are not setting.
await new Promise((resolve, reject) => {
incoming.setChannelVar(
{variable: 'PJSIP_HEADER(add,X-header)', value: '12423'},
function (err) {
…

Manik
- 264
- 2
- 8
0
votes
0 answers
How to stream back audio using External Media Channel using ARI in asterisk
Working with AsterNET.ARI I am able to expose audio stream from asterisk, using ExternalMedia.
Scenario:
Call is started and Stasis App is invoked
Create ExternalMediaChannel that sends stream to a RTP server I created listening from all IPs in…

Flamur Dervishi
- 181
- 1
- 6
- 18
0
votes
1 answer
Google-speech-api throws EOF error instead of performing audio transcription
In my project I am developing a websocket server in golang which is controlling asterisk channel via ARI and performing live audio transcription on the same channel with google-speech-api. On connection I want to save audio from an asterisk channel…

camilos
- 11
- 5
0
votes
2 answers
How to get the dialed number in Stasis app
I am trying to wrap my head around ARI and Asterisk, my goal is to dial from an extension to another. I dialed 5001 from extension 5002. Now in the stasisStart function, I want to create a new channel, and used the dialed number (5001) and pass…

live-love
- 48,840
- 22
- 240
- 204
0
votes
1 answer
Executing Asterisk speech recognition application using AsterNET.ARI
I have a sample dialplan:
exten => 1,1,Wait(1)
exten => 1,n,SpeechCreate
exten => 1,n,SpeechBackground(beep)
exten => 1,n,Verbose(0, ${SPEECH_TEXT(0)})
exten => 1,n,Hangup()
And I need to execute speech recognition using ARI stasis application and…

shda
- 729
- 7
- 19
0
votes
2 answers
Asterisk integration with custom ERP
One of our customers has an Asterisk phone center and want to integrate it with our ERP. The idea is that Asterisk calls an Oracle database procedure when a phone call is transferred to an extension. This Oracle procedure has 2 parameters, incoming…

Alex Bibiano
- 633
- 1
- 6
- 19
0
votes
1 answer
Hang up the call after x seconds after the called party has answered the call using ARI in Asterisk
We've been using Asterisk's Dial plans for quite some time and now we've decided to switch to ARI. I'm wondering is there a way to hang up the call after x seconds after the called party has answered the call using originate or any other method from…

mehrdadep
- 972
- 1
- 15
- 37
0
votes
1 answer
How to get list of sip peers from endpoints with ari-py
It is not clear how to get list of sip peers from ari/endpoints with this library.
Examples in repository show actions with channels and bridges but not with endpoints.
The JSON response is available via localhost:8088/ari/endpoints/SIP with browser…

Kosmo
- 13
- 5
0
votes
1 answer
SignalR, Push notification to connected clients based on event happening makes Hub disposed
I'm trying to push notifications to clients who have connected to SignalR Hub based on related events are happening in Asterisk PBX VOIP server using AsterNet ARI.
I can get events using DeviceStateChangedEvent class from AsterNet using an event…

Mehdi
- 499
- 1
- 7
- 31
0
votes
2 answers
Asterisk cannot hang up after longer 2 minutes
I am using Asterisk AGI to control incoming call from Twilio
After STREAM FILE command is executed (to play some audio file), I want to Hangup channel.
I tried execute HANGUP command and It worked if call duration < 2 minutes.
HANGUP command not…

nguoitotkhomaisao
- 1,247
- 1
- 13
- 24
0
votes
1 answer
which event get fired when call does not get picked up?
In case of incoming call, call does not get picked then what will happen to ari channel and what event will get fired that call is disconnected?

sirvisuresh
- 1
- 3