$>dialplan show in [ Context 'in' created by 'pbx_config' ] '0123456789' => 1. NoOp() [pbx_config] 2. Answer() [pbx_config] 3. Stasis(myapp) [pbx_config] 4. Hangup() [pbx_config] $> pjsip show endpoint pnt Endpoint: pnt Not in use 0 of inf context in $>module show like res_stasis Module Description Use Count Status Support Level res_stasis.so Stasis application support 12 Running core res_stasis_answer.so Stasis application answer support 0 Running core res_stasis_device_state.so Stasis application device state support 0 Running core res_stasis_playback.so Stasis application playback support 0 Running core res_stasis_recording.so Stasis application recording support 0 Running core res_stasis_snoop.so Stasis application snoop support 0 Running core 6 modules loaded 

When I receive a call to the context 'in', I get:

 res_stasis.c:1268 stasis_app_exec: Stasis app 'myapp' not registered 

Asterisk 12/13/1

How to deal with it?

    1 answer 1

    As it turned out - for registration you need a client for WebSocket.

    When a client joins at / ari / events? App = myapp & subscribeAll = true & api_key = usr: pwd, myapp is activated.

    To control the channel in the dialplan, you need to call Stasis (myapp) in the desired context.