On 9/8/2023 8:18 AM, Jerry Geis wrote:
But when I do a second test. Asterisk HANGS on ChanIsAvail()

Then I thought lets SKIP that - and just let it do the Dial() - I stopped everything - got it running again. - and then the Dial() hangs on the second call.

So both ChanIsAvail() or Dial() both hang on the second call in.

So only 1 call in will work.
Below is the CLI report of the call that works.

This is my context
[smvoice-mediacontroller-public-address]
exten => s,1,ChanIsAvail(Console/default)
exten => s,n,GotoIf($["${AVAILCHAN}" = ""]?smvoice-busy,s,1)
exten => s,n,Playback(beep)
exten => s,n,Dial(Console/default)
exten => s,n,Hangup

Not sure if this is the same thing you're seeing, but chan_console currently has a known deadlock issue that has not been resolved: https://issues-archive.asterisk.org/ASTERISK-30481 It's quite easy to reproduce, so it may be the case that the module is currently unusable.

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
     https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to