Don't know how to display condition 26 on ALSA/default

I am getting this warning in dialplan when the call is established and when the call ends.

chan_alsa.c:567 alsa_indicate: Don't know how to display condition 26 on ALSA/default
.......
......
......
-- Channel PJSIP/103-00000025 left 'simple_bridge' basic-bridge <b2abb28e-804b-406d-b32e-554bc8120eeb>
    -- Channel ALSA/default left 'simple_bridge' basic-bridge <b2abb28e-804b-406d-b32e-554bc8120eeb>
[Apr  9 12:25:46] WARNING[7289][C-00000014]: chan_alsa.c:567 alsa_indicate: Don't know how to display condition 26 on ALSA/default
  << Hangup on console >> 
  == Spawn extension (default, 900, 6) exited non-zero on 'PJSIP/103-00000025'

the dialplan is

exten => 900,1,NoOp(Dialing speakers)
same => n,System(/usr/lib/myapp/monitor_900.sh&)
same => n,System(/usr/lib/myapp/speakers900_start.sh)
same => n,System(/bin/sleep 2)
same => n,Dial(CONSOLE/ALSA,,g)
same => n,System(/bin/sleep 1) ;----> THIS & BELOW NEVER GETS EXECECUTES
same => n,System(/usr/lib/myapp/speakers900_stop.sh)
same => n,System(/bin/sleep 2)
same => n,NoOp(Ending. })
same => n,Hangup()

Although I am using g option as an argument still when the call ends by the calling party the marked priority above and the ones below that never get executed

True and harmless

AST_CONTROL_SRCCHANGE = 26, /*!&< Media source has changed and requires a new RTP SSRC */

What is the best way to run some scripts after the call is hung up, in my case I have to switch of the amplifier etc!

h extension or hangup handler.

g on dial only continues if the A side is still up.

Can you please provide an example of the hangup handler

The wiki has a page[1] talking about hangup handlers.

[1] https://wiki.asterisk.org/wiki/display/AST/Hangup+Handlers

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.