Questions tagged [asterisk-ari]
46 questions
6
votes
1 answer
Node ARI Client | Connect method not firing callback?
So, I've started playing with the Asterisk Restful Interface (ARI).
I have created a separate express app to do this.
I have a correctly configured instance of Asterisk 13 running. I know this because When I go to…

An0nC0d3r
- 1,275
- 13
- 33
5
votes
1 answer
Asterisk ARI - Pass channel to Stasis before Ringing
My goal
Pass an incoming call directly to Stasis and allow the app to decide whether to play a ringing or busy tone to the caller.
The problem
With my ARI app, if I omit the same => n,Ringing line from my dialplan, the Stasis app returns an error if…

Jason Berryman
- 4,760
- 1
- 26
- 42
2
votes
1 answer
Asterisk Event Device Registration
I am trying to retrieve an event when a device registers an application using ARI. This can be assumed by changing the endpoint state from offline to online. The implementation that I have done in python is:
self.client.on_event…

Devkil39
- 81
- 7
1
vote
1 answer
Asterisk ARI Caller id is always Anonymous
I'm trying to make a outgoing call using asterisk and stasis.
From my app, i send a simple post to /ari/channels/create, like this:
params = {
endpoint: `PJSIP/${trunkPrefix}${numberOriginal}@${trunkName}`,
app: 'stasisApp',
channelId:…

lHumanizado
- 129
- 1
- 2
- 9
1
vote
2 answers
How to handle channels into an ARI queue app?
I`m trying to play a little bit with ARI in order to create a queue that would be capable to serve multiple asterisk instances. After some basic documentation, it seems that ARI is the way to do it.
What I have achieved by now it`s a simple dial…

Videanu Adrian
- 972
- 3
- 16
- 41
1
vote
3 answers
Enable TALK_DETECT for channel originated via ARI
I'm trying to figure out a way to enable TALK_DETECT for an outgoing channel, but this does not seem possible for channel which his originated via ARI.
I thought about using a pre-dial handler for this, but it only seems possible when using the…

Nicolas
- 1,256
- 1
- 10
- 22
1
vote
1 answer
Create outbound channel without ringing
I need to create a channel using ARI and put it into stasis before dialling the extension, which according to the documentation is what should be happening. But as soon as I create the channel it starts ringing and goes into stasis only after being…

Nicolas
- 1,256
- 1
- 10
- 22
1
vote
2 answers
How to get SIP user status with ARI?
I'm trying to make a realtime application with Asterisk 15 ARI, and I need to get all agents/users (sip) status in queue...
I need to know if the user has logged in queue, is on pause, in a call...
I'm reading the Asterisk ARI docs but not found…
1
vote
2 answers
Increasing timeout on channel originate
Using ARI (C#, AsterNET), I'm creating a channel via the Originate command:
var channel = client.Channels.Originate($"SIP/{number}@{destination}", app: appName, callerId: CLI, timeout: timeout);
This works fine; however,timeout starts from when…

KenD
- 5,280
- 7
- 48
- 85
1
vote
1 answer
Asterisk stasis application
I'm a little new on Asterisk ARI (and I love it...), so where ever I look I see the ARI Status application, but I couldn't find the path where the Stasis application should actually be on the server.
Can anyone help me with that?

Yitzchok Dancziger
- 43
- 1
- 6
1
vote
1 answer
How to play music during call use Asterisk?
I have a problem:
in Asterisk script, i execute a call from A to B by command Dial(SIP/xxx).
I want play music during A talking with B.
Fuction Dial only support music begin call OR end…

langiac
- 317
- 1
- 3
- 16
1
vote
1 answer
How can I run a dialplan in Asterisk through AMI?
Our php website always creates conference calls with writing following command in the specific path for Asterisk.
/var/spool/asterisk/outgoing/
index.php
exec('sudo echo "Channel: SIP/si/'.$_POST['number1'].'
Context: DialOut
Callerid:…

hassan abdi
- 336
- 3
- 14
1
vote
1 answer
Create, redirect... calls using AsterNET.ARI
I have installed AsteriskNOW distribution with freePBX. I'm trying to implement autodialer to our existing software. I am monitoring calls wihtout any problems. Only thing that works is to hang up call. When i try to originate, redirect, hold or…

palkhin
- 13
- 4
1
vote
1 answer
Creating a conference on Asterisk using ARI with Node.js
I was given a task to create a conference in Asterisk using ARI with Node.js. The objective is create a conference room and send email invitations so people can click and enter de conference room. I also need a admin web interface to show who's…

Nelson Teixeira
- 6,297
- 5
- 36
- 73
1
vote
2 answers
Asterisk. I'm using ARI to collect events, how do I group events into single customer interactions from start to finish?
I'm subscribed to events listed here under Event using ARI https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+REST+Data+Models#Asterisk13RESTDataModels-Event
I have multiple calls at the same time and because of this getting a lot of different…

userqwerty1
- 887
- 2
- 9
- 23