Displaying 20 results from an estimated 700 matches similar to: "Listen to ARI events"
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]
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
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
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
2023 Jun 07
1
Listen to ARI events
I’ve been looking through the docs (near https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+Applications+REST+API) and am searching for a list of events I can subscribe to. Is this list published? Or can I query the ARI for a list of available events?
Thanks
Brian
From: asterisk-users [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Joshua C. Colp
Sent: Wednesday,
2023 Jun 07
1
Listen to ARI events
On Wed, Jun 7, 2023 at 12:04 PM TTT <lists at telium.io> wrote:
> 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)
>
Applications are not declared or configured anywhere. The act of connecting
a websocket with an
2018 Jan 24
0
Issue with concatenation of URL losing
a) you need to read the help pages on the paste function... more likely
you are looking for the paste0 function because extra spaces will most
likely break the GET request format.
b) quotes do not become "stuck" as \" ... that is a visual representation
intended to clarify that that quote is not terminating the string but is
actually part of it. If you want to see the contents
2018 Jan 24
2
Issue with concatenation of URL losing
Thank you for your help in advance.
I am trying to pull some data back from a web service
library(httr)
sample2 <- GET("https://elevation.mapzen.com/height?json={\"range\":false,\"shape\":[{\"lat\":40.7,\"lon\":-76.5}]}&api_key=mycode")
result2 <- content(sample2)
height <- result2$height[[1]]
I would like to put by own latitude
2018 Jan 19
5
API de AEMET con R?
Desde el terminal de Ubuntu, he conseguido descargar los datos usando esto:
DESCARGAR LISTA DE ESTACIONES
wget --method GET --header 'cache-control: no-cache' --no-check-certificate
--output-document -
https://opendata.aemet.es/opendata/api/valores/climatologicos/inventarioestaciones/todasestaciones/?api_key=*vuestra
api key*
DESCARGAR DATOS HISTÓRICOS
Diciembre 2017, ALICANTE
wget
2011 Oct 07
1
403 Error Dont know whats wrong.
Hi,
I am quite new to ruby and am programming an application to send sms
using rest_client gem. I so far have code on one of my modules which
tries to send an sms to a number. It gives the 403 error -
RestClient::Forbidden in SMSController#index
403 Forbidden
Rails.root: /Users/user1/Desktop/rails_projects/sms_app
My code in the module looks as follows - before adding this code i had a
simple
2008 Jan 29
3
Facebook Redirects to Callback Path after log in
Hey,
I am wondering if anyone has run into this issue before. I can''t seem
to figure out what Facebook is doing.
I have an application that only requires Facebook Authentication, the
user doesn''t need to "add" the app. So at the top of my main
controller I have
class GettingStartedController < ApplicationController
ensure_authenticated_to_facebook
......
2008 Mar 20
2
Anyone having problems with asset_host not getting set up right?
Hey All,
I think I found a bug but I would be suprised since it would cause major
problems.
We setup the asset_host in init.rb with:
if File.exist?(facebook_config)
FACEBOOKER = YAML.load_file(facebook_config)[RAILS_ENV]
ENV[''FACEBOOK_API_KEY''] = FACEBOOKER[''api_key'']
ENV[''FACEBOOK_SECRET_KEY''] =
2008 Apr 03
3
loading settings from database
I''m just wondering what the best way to go about loading my API keys
from the database is ...
Should I simply place them in the ENV variable?
Is there a way better way to go about this?
2009 May 30
2
Generating and authenticating by API keys
I''m trying to get my head round offering up an API for a RESTful app; is
it just a matter of;
1. adding an api_key column to the resource on which incoming requests
will made (the app has a User model but I think the API authentication
will need to be done on the Site model to which Users belong),
2. generating the API key using Digest::SHA1 or similar (the last dev
used SHA1 for the
2020 Aug 06
2
ARI Stop Playback
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 http://localhost:8088/ari/channels/1596750578.46/play?media=sound:hello-world,sound:tt-monkeys,number:553,sound:demo-instruct,number:123,number:456,number:789
If I attempt to
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 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 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
2006 May 22
8
flickr tag question
hey,
i am using the flickr wrapper for ruby and need to access the tags of a
specific photo. i got all the rest working. i must admit i am kind of new to
ruby, but i tried and tried and couldn''t figure it out. among other things i
want to read geotags like in my example here:
http://www.flickr.com/photos/whoisstan/146634506/
i''m sure it is deadsimple and i just overlooked it.
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