Questions tagged [asterisk-ari]

46 questions
0
votes
1 answer

Using Asterisk ARI to determine if agent in queue pause or not

Is it possible to use ARI to determine if a queue member is paused or not? I can't seem to find any documentation stating that its possible. The only way I can see anything related to a pause is by manually dialing *46 and watching the WebSocket…
Yamaha32088
  • 4,125
  • 9
  • 46
  • 97
0
votes
1 answer

Event listeners don't seem to be triggering

I am working with the Asterisk ARI Node.js client and would like to listen for certain events and then perform an action. From my understanding after connecting to the server you can setup several different types of event listeners for events being…
Yamaha32088
  • 4,125
  • 9
  • 46
  • 97
0
votes
1 answer

Replacing dialplan with ARI for "dynamic" inbound extensions

I'm experimenting with the ARI interface in Asterisk (v15.5). I've managed to placing and manage outbound calls relatively well, and I'm now trying to tackle inbound calls. I don't have any dialplan to speak of on my test server; it hasn't been…
KenD
  • 5,280
  • 7
  • 48
  • 85
0
votes
1 answer

Xamarin Forms and Asterisk integration

I need to develop an application with Xamarin Forms. The application must connect to Asterisk Server. I tried to use AsterNet.ARI library but I have some compatibility error on Droid and iOS projects. Error NU1202 The package AsterNET.ARI…
Greta
  • 111
  • 1
  • 1
  • 11
0
votes
1 answer

Asterisk ARI initiating a call

I am trying to initiate a call between two local endpoints, a softphone(PJSIP/100) and a harphone(PJSIP/102). Using ARI I have created two channels, with app parameters and put them both into the same mixing bridge in stasisStart event. At this…
user3640553
  • 23
  • 2
  • 9
0
votes
1 answer

How to snoop a channel in asterisk api node.js

I would like to be able to spy a channel with REST api. I found out there is a function for this objective. But i don't know how to implement it. Any help is apreciated
Onur Durmuş
  • 142
  • 1
  • 1
  • 7
0
votes
1 answer

Asterisk bridge dial javascript error

Im trying examples from asterisk ari github.Right now im at brigde-dial example but there is a problem.When i try javascript code it gives following error: usage: node bridge-dial.js endpoint but python works fine and i can dial another pjsip…
0
votes
1 answer

Asterisk: Play the last recorded file?

As I can see, I can use Asterisk cmd monitor to record the call then use the ControlPlayback to play the recorded file. and the default basename is constructed on the channel name plus a number so How can i playback the last call? for example: I…
0
votes
2 answers

How to handle caller id when using Asterisk ARI external to external

Right now, I'm making outgoing calls using Asterisk ARI from my mobile number to another mobile number, using the below request: endpoint=PJSIP/mynumber&extension=1**other_number&context=from-internal&priority=1&timeout=30 In this situation,…
-1
votes
1 answer

Stasis app not active - Asterisk error when dialing extension

Getting this error. asterisk stasis app not active Dialplan: same => n,Stasis(example) My app name is example.js, I checked to make sure it's calling the app: ari.start('example');
live-love
  • 48,840
  • 22
  • 240
  • 204
-1
votes
2 answers

How can I pause/unpause a live recording programmatically on asterisk?

First of all I need to get a list of current live calls and then I need to pause and unpause the live recording pragmatically using asterisk ARI,AMI , anything that can achieve what I need anyone has a clue what should I do?
-1
votes
1 answer

how to the callout display number caller with Originate and asterisk?

i have a question. In asterik 11, i callout to a other phone by originate use command: exten=>s,n,Originate(SIP/voiceNetwork/,exten,callout,s,1,30) When the call to called, the call display is UNKNOWN, i want to it display number caller. Please…
langiac
  • 317
  • 1
  • 3
  • 16
-1
votes
1 answer

Asterisk how to dynamic allocate sip account to ip phone

I am new in Asterisk field. I am facing a situation. I have 10 sip accounts and 20 clients (softphones), so how to dynamic allocate those sip account to those clients? Is there any best practices in the case? Thanks
English learner
  • 192
  • 1
  • 9
-1
votes
2 answers

Can you login an agent with Asterisk ARI

I'm trying to build an agent app that can have agent controls (login, logout, pause...etc). I now see that Asterisk 13 has an ARI. What I would like to know is how I can send agent commands using the ARI, is this possible?
Jason
  • 3
  • 6
-1
votes
1 answer

Asterisk WebSocket ARI events

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? And how i can to control events through ws?
Nick Nick
  • 177
  • 3
  • 18