Pbx.c:2904 pbx_extension_helper: No application 'Stasis' for extension

Hello,
I’m trying to use ARI Restful API to control my channels.

But i’m having some troubles with any call from a PJSIP user with WebRTC using this configs:

===========================================
extensions.conf

[default]
exten => 1000,1,NoOp()
same => n,Answer()
same => n,Playback(hello-world)
same => n,Stasis(hello,world)
same => n,Hangup()

===========================================
pjsip.conf

[199]
type=aor
max_contacts=1
remove_existing=yes

[199]
type=auth
auth_type=userpass
username=199
password=199

[199]
type=endpoint
aors=199
auth=199
use_avpf=yes
media_encryption=dtls
dtls_ca_file=/etc/asterisk/keys/ca.crt
dtls_cert_file=/etc/asterisk/keys/asterisk.pem
dtls_verify=fingerprint
dtls_setup=actpass
ice_support=yes
media_use_received_transport=yes
rtcp_mux=yes
context=default
disallow=all
allow=ulaw

And then, i execute the following:
wscat -n -c “wss://127.0.0.1:8089/ari/events?api_key=asterisk:asterisk&app=hello”

I can listen “Hello World”, but then the call is terminated and i see the message below on my asterisk logs:
pbx.c:2904 pbx_extension_helper: No application ‘Stasis’ for extension (default, 1000, 4)

Anyone can help with this?
I’m doing something wrong?

(no messages are show on wscat logs)

Do you have the app_stasis.so module loaded?

2 Likes

Thank you for fast response!

You’re right.

After added

load = app_stasis.so

to modules.conf it’s works wel!!!