Asterisk ARI Stasis not showing application only showed topics
aravindh-OptiPlex-790CLI> stasis show application
No such command ‘stasis show application’ (type ‘core show help stasis show’ for other possible commands)
aravindh-OptiPlex-790CLI>
Asterisk ARI Stasis not showing application only showed topics
aravindh-OptiPlex-790CLI> stasis show application
No such command ‘stasis show application’ (type ‘core show help stasis show’ for other possible commands)
aravindh-OptiPlex-790CLI>
There is no such CLI command. Applications aren’t something stasis really knows about in that way. Are you looking for “ari show apps”? What exactly are you trying to get?
i need create custom communication application so I want to stasis application
Then you configure a user in ari.conf, and connect to Asterisk using a websocket to make the application appear. It’s then up to you to write the logic of the application to do as you want.
On Monday 10 February 2025 at 13:46:19, aravindh-itgalax via Asterisk
Community wrote:
aravindh-OptiPlex-790*CLI> stasis show application
No such command ‘stasis show application’ (type ‘core show help stasis
show’ for other possible commands)
Which version of Asterisk is this and how was it installed?
Antony.
–
Tinned food was developed for the British Navy in 1813.
The tin opener was not invented until 1858.
18.0.0 using ubuntu command sudo apt-get install asterisk
[general]
enabled = yes
pretty = yes
allowed_origins = http://localhost:8088
[admin]
type = user
password = 12345
read_only = no
this is my basic ari setup and ARI is running success. but application does not work
What does “does not work” mean.
I have create Stasis custom app but app is not showing
[default]
exten => 100,1,Answer()
exten => 100,n,Stasis(myapp)
exten => 100,n,Hangup()
Have you written an ARI application, and had it connect to Asterisk successfully? Asterisk will state in the console when it connects and disconnects. Is that dialplan executed upon calling? What is shown on the console?
ARI has its own meaning of the term “application”, separate from those configuration entries (I’ll call them “dialplan commands”) you use in extensions.conf
.
You cannot use an ARI “application” name in the Stasis
dialplan command until it has been created. You create a new application name by registering an ARI WebSocket listener for that name. So a listener must already be listening before the Stasis
dialplan command can be validly executed.
I have a few examples (in Python) of this sort of thing in my seaskirt_examples
repo.