Displaying 20 results from an estimated 500 matches similar to: "ARI Stop Playback"
2020 Aug 10
0
ARI Stop Playback
On Thu, Aug 6, 2020 at 7:28 PM Dan Cropp <dan at amtelco.com> wrote:
> Should the ARI DELETE /playback/{playbackId} be able to stop a playback
> when a number is being played?
>
>
>
> Here is a test I am running. I am playing multiple portions (sounds and
> numbers).
>
>
>
> curl -v -u asterisk:asterisk -X POST
>
2020 Aug 07
3
With ARI, is it possible to create (originate) a call and pass both the caller id name and number?
Hi Dan,
as far as PPI and PAI Header, we use the channel Vars in order to do that.
In Latest Asterisk you can set Channel vars within the create command in
the Body. Just set the PJSIP(add,PAI) as you would do it in Dialplan.
https://blogs.asterisk.org/2020/07/22/ari-create-channel-with-variables/
BR
Jöran
On Fri, Aug 7, 2020 at 7:06 PM Dan Cropp <dan at amtelco.com> wrote:
> An
2020 Aug 10
2
With ARI, is it possible to create (originate) a call and pass both the caller id name and number?
Hi Dan,
i would do something like this (it is not a copy of what we are doing but
an example of how i would do it)
Important here is the "--data" and "-H" Option as well as the "variables"
section within the Body. I added the callerid function here as well as it
is the sample in the asterisk wiki.
curl -v -H "Content-Type: application/json" -u
2020 Aug 06
2
Is it possible to use Stasis to control both legs of a Local channel created using ARI?
I understand how to control the first local channel, but an having trouble getting the second local channel to enter stasis.
I setup have the following extensions.conf to handle 1000 (basically had it setup so if first stasis not there try second, but believe second channel never processes the dial plan so even if second line was hello-world2 it would not matter.
[mycontext]
exten =>
2020 Aug 07
2
With ARI, is it possible to create (originate) a call and pass both the caller id name and number?
I'm trying to transition from AMI to ARI.
Running into a small hiccup when I try to create (originate a call) with the caller id name and number
I can pass the Name and Number if the name has no spaces in it and it shows up in my PhonerLite application.
curl -v -u asterisk:asterisk -X POST http://asterisk:astersk at localhost:8088/ari/channels/mycallerid.1?endpoint=PJSIP/1003 at
2020 Feb 25
2
Can an ARI Bridge support more than 2 channels the way a ConfBridge can?
We are looking to migrate from AMI to ARI.
We currently rely heavily on ConfBridges for multiple party support.
Is it possible to add more than 2 channels?
If so, is there a limit?
Or a way to configure the limit?
Have a great day!
Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2023 Jun 06
1
Listen to ARI events
I have the ARI enabled on my Asterisk test box, and want to listen to all
events. I can't find the syntax to do that. Can I only listen to events
related to a stasis app?
I was hoping that a simple wscat command like this would show me all events:
wscat -c "ws://localhost:8088/ari/events?api_key=asterisk:asterisk "
I know how to do it form the AMI.looking for
2023 Jun 07
1
Listen to ARI events
I tried the command below (with subscribeAll=yes). I made a couple of calls but didn’t see any events. Should I see events?
From: asterisk-users [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Joshua C. Colp
Sent: Tuesday, June 6, 2023 6:31 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com>
Subject: Re: [asterisk-users]
2020 Aug 11
1
ARI record question
I'm attempting to run a test of the ARI recording of audio from the channel.
When I send the record command, it's failing.
curl -v -u asterisk:asterisk -X POST "http://locahost:8088/ari/channels/mychanntest.1/record?name=mytest&format=WAV&maxDurationSeconds=300&maxSilenceSeconds=3"
[08/11 09:14:13.290] WARNING[23806]: ari/resource_channels.c:812
2019 Dec 17
2
ARI strange bug on version 13.29.2
Hello,
I am using an ARI dialer for my applications and since my last upgrade
to Ver. 13.29.2 from 13.23.1 I am getting this strange bug from the ARI debugger:
Debugging on all applications enabled
<--- ARI request received from: x.x.x.x:63036 --->
HOST: x.x.x.x:8088
content-type: application/json
authorization: Basic xxxx
content-length: 265
body:
{
"context":
2018 Dec 07
2
Question on WebRTC configuration
In the asterisk wiki instructions for Configuring Asterisk for WebRTC clients...
https://wiki.asterisk.org/wiki/display/AST/Configuring+Asterisk+for+WebRTC+Clients
"To communicate with websocket clients, Asterisk uses its built-in HTTP daemon. Configure /etc/asterisk/http.conf as follows:
[general]
enabled=yes
bindaddr=0.0.0.0
bindport=8088
tlsenable=yes
tlsbindaddr=0.0.0.0:8089
2017 Jun 29
2
asterisk ari dialer
hi,
do you have someone example of
http://blogs.asterisk.org/2016/08/24/asterisk-14-ari-create-bridge-dial/
in node.js asterisk-ari ?
thanks
Marek
2023 Jun 07
1
Listen to ARI events
I’ve reread the documentation a few times, and what isn’t clear is whether I need an app=X parameter in the url. In other words, can I only get events for a single named statis app? Or can I get events for the entire Asterisk server?
The command below (without app= parameter) results in no events being shown, but no error either.
Thanks
Brian
(Ast newbie)
From: asterisk-users
2019 Jan 04
2
CyberMegaPhone WebRTC Video Conference demo
I am trying to run the CyberMegaPhone demo to see the WebRTC Video Conference demonstration from AstriDevCon 2017
I have been able to make WebRTC work on this same box with SIPML5 demo but not the CMP2K.
When I attempt to access the https://myip:8089/cmp2k I am prompted for the unsecure web. I enable unsecure web. (Using the asterisk local certificate generation from the SIPML5 demo).
After
2023 Jun 07
1
Listen to ARI events
On Wed, Jun 7, 2023 at 10:46 AM TTT <lists at telium.io> wrote:
> I’ve reread the documentation a few times, and what isn’t clear is whether
> I need an app=X parameter in the url. In other words, can I only get
> events for a single named statis app? Or can I get events for the entire
> Asterisk server?
>
>
>
> The command below (without app= parameter) results in
2020 Aug 07
0
With ARI, is it possible to create (originate) a call and pass both the caller id name and number?
An additional follow-up question, if I need to set the P-Asserted-Identity on the create (originate), is there a way to do this with ARI?
From: asterisk-users <asterisk-users-bounces at lists.digium.com> On Behalf Of Dan Cropp
Sent: Friday, August 7, 2020 11:51 AM
To: 'asterisk-users at lists.digium.com' <asterisk-users at lists.digium.com>
Subject: [asterisk-users] With ARI,
2020 Aug 10
0
With ARI, is it possible to create (originate) a call and pass both the caller id name and number?
Hi Dan,
i did it wrong, sorry:
curl -v -H "Content-Type: application/json" -u asterisk:asterisk -X POST "
http://localhost:8088/ari/channels/newChannelId"
<http://localhost:8088/ari/channels/1400609726.3/play?media=sound:hello-world>
--data '{ "endpoint": "SIP/Alice", "variables": { "CALLERID(name)":
"Alice" ,
2020 Aug 10
0
With ARI, is it possible to create (originate) a call and pass both the caller id name and number?
Hi Jöran,
Would it be possible to see an example using curl of how you are passing the PAI Header through ARI create?
Dan
From: asterisk-users <asterisk-users-bounces at lists.digium.com> On Behalf Of Jöran Vinzens
Sent: Friday, August 7, 2020 12:10 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com>
Subject: Re: [asterisk-users] With
2013 Sep 12
1
How to get call progress events from WebSocket connected to Asterisk 12 ARI events API
Hello,
I am experimenting with Asterisk 12.0.0 alpha1. I have a couple of SIP
phones working. Good. I can retrieve data using curl to interact with the
new Asterisk REST API (ARI). Good.
Now I want to use the new ARI events API, which requires a WebSocket
connection. I am using Node.js for the client, and have a stable
connection to ARI events on the Asterisk 12 server.
What I hope for is
2023 Jun 07
1
Listen to ARI events
Ok that worked.
Since I have not declared a statis app called “test”, does that mean any non-existent app name on the URL will subscribe to all system events? (Or is test a built-in app name)
Brian
From: asterisk-users [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Joshua C. Colp
Sent: Wednesday, June 7, 2023 9:56 AM
To: Asterisk Users Mailing List - Non-Commercial