Displaying 20 results from an estimated 1000 matches similar to: "Asterisk 18.14.0 vs 18.18.0 and chan_console/chan_alsa"
2023 Sep 07
1
Asterisk 18.14.0 vs 18.18.0 and chan_console/chan_alsa
On Thu, Sep 7, 2023 at 3:15 PM Jerry Geis <jerry.geis at gmail.com> wrote:
> Joshua
>
> Asterisk 18.14.0 with chan_alsa and Console/dsp works.
> This does not work in 18.18.0 with chan_console enabled.
> I am on Ubuntu 20.04 LTS.
>
> Is there a howto for the new chan_console ?
>
I'm not aware of one. The module itself has existed since at least Asterisk
1.8
2023 Sep 07
2
Asterisk 18.14.0 vs 18.18.0 and chan_console/chan_alsa
I found "console list available"
===
=== ---------------------------------------------------------
=== Device Name: default
=== ---> Default Input Device
=== ---> Default Output Device
=== ---------------------------------------------------------
===
=== ---------------------------------------------------------
=== Device Name: dmix
=== ---> Output Device
===
2023 Sep 08
2
Asterisk 18.14.0 vs 18.18.0 and chan_console/chan_alsa
>
>
> 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.
>
Well this is a bummer....
[Sep 8 08:45:28] WARNING[313684][C-00000001]:
2023 Sep 07
2
Asterisk 18.14.0 vs 18.18.0 and chan_console/chan_alsa
ok switching to "Console/default" does show the text
--- <("<) --- Call to device 'default' on console from 'default'
<2564286000> --- (>")> ---
--- <("<) --- Auto-answered --- (>")> ---
However I don't hear any audio.
Thanks
Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2023 Sep 08
1
Asterisk 18.14.0 vs 18.18.0 and chan_console/chan_alsa
Some progress to report:
I had to run asterisk as the user logged in - actually not even that. I
could not "su user -c " to that user - I had to run it as that user.
Then I did a test and got audio! Great...
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
2023 Sep 08
1
Asterisk 18.14.0 vs 18.18.0 and chan_console/chan_alsa
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.
2023 Sep 08
2
Asterisk 18.14.0 vs 18.18.0 and chan_console/chan_alsa
So I have done through chan_console.c and searched for console_pct_lock() -
every one - has a matching console_pvt_unlock()
How is the deadlock occurring ?
jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20230908/dee530c8/attachment.html>
2023 Sep 13
2
Asterisk 18.14.0 vs 18.18.0 and chan_console/chan_alsa
I have found that I can add the restart of asterisk (killall -9 asterisk)
to the h extension- BOY is that UGLY.
chan_console is not a testing device - how can we get this nasty bug fixed ?
Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20230913/e148eada/attachment.html>
2023 Sep 14
1
Asterisk 18.14.0 vs 18.18.0 and chan_console/chan_alsa
On Wed, Sep 13, 2023 at 5:20 PM Jerry Geis <jerry.geis at gmail.com> wrote:
> >An issue[1] was already created by asterisk at phreaknet.org and they
> also put
> >a fix up for review and inclusion[2].
>
> >[1] https://github.com/asterisk/asterisk/issues/308
> >[2] https://github.com/asterisk/asterisk/pull/309
>
>
> The change "seems" to be
2023 Sep 13
1
Asterisk 18.14.0 vs 18.18.0 and chan_console/chan_alsa
> After a hung call, can you run core restart now from the asterisk console?
Doing a "killall -9 asterisk" is the only thing that works
I tried killall asterisk - does not free up the channel
the asterisk "core restart now" takes like a good 20 seconds to return but
does work.
The issue is I cannot run it after teh Dial() as the
Dial(Console/default,20,g) never returns to
2023 Sep 13
1
Asterisk 18.14.0 vs 18.18.0 and chan_console/chan_alsa
>An issue[1] was already created by asterisk at phreaknet.org and they also
put
>a fix up for review and inclusion[2].
>[1] https://github.com/asterisk/asterisk/issues/308
>[2] https://github.com/asterisk/asterisk/pull/309
The change "seems" to be working.
Will test more tomorrow - had to leave.
THANKS!
Jerry
-------------- next part --------------
An HTML attachment was
2023 Sep 13
2
Asterisk 18.14.0 vs 18.18.0 and chan_console/chan_alsa
Is there a dial plan call that can "exit asterisk" or completely reload
everything - killall active calls and start over ?
seems the console/dummy (chan_console) is holding some resource. How do I
just "exit" and start over after call came in ?
Thanks
Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2023 Sep 06
2
asterisk 18.18.0 and chan_console
> What is the device that you're connecting to?
I am trying to just play on PulseAudio actually.
This used to work - I have just recently updated to 18.18.0, so I'm puzzled.
Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20230906/eb5e9088/attachment.html>
2023 Sep 07
1
asterisk 18.18.0 and chan_console
I am trying to get audio to play on Pulse - so just the monitor basically.
I have tried Console/dsp, Console/dmix, Console/pulse, and a couple others.
The error is always the same "console_request: Console device 'dmix' not
found.
What is the correct "Console/XXXX" to play on pulse for UBuntu 20.04 LTS ?
I can "aplay /usr/share/sounds/alsa/Front_Center.wav" no
2023 Sep 13
1
Asterisk 18.14.0 vs 18.18.0 and chan_console/chan_alsa
I have noticed that once my message speaks - the server thinks its done and
HUNGUP,
the endpoint STILL thinks the channel is active - the last message says
"Rx: BYE" on sip show channels
I tried ADDING to Dial() ,20,g and then had a Hangup after teh dial.
Its NOT getting there to hangup.
Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2023 Sep 13
2
Asterisk 18.14.0 vs 18.18.0 and chan_console/chan_alsa
>Using system() you could issue a asterisk -rx 'core restart now'
So I tried this
exten => s,1,Playback(beep)
exten => s,n,Dial(Console/default,20,g)
exten => s,n,Hangup
exten => s,n,System(asterisk -rx 'core restart now')
But it does not continue. Last thing I see is "Exited non zero"
so its not doing the hangup or the system.
jerry
--------------
2023 Sep 06
2
asterisk 18.18.0 and chan_console
I am still using chan_console.
I compiled 18.18.0 and chan_console is not built.
I am using ubuntu 20.04.6 LTS
make menuselect says XXX chan_consoel and it needs "portaudio"
What do I do next ?
Also menuconfig is saying XXX on Also - what alsa library is needed ?
Thanks
jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2023 Sep 06
2
asterisk 18.18.0 and chan_console
> portaudio19-dev
Thanks doug - I did that - still showing XXX for chan_console
libportaudio2/focal,now 19.6.0-1build1 amd64 [installed]
libportaudiocpp0/focal,now 19.6.0-1build1 amd64 [installed,automatic]
portaudio19-dev/focal,now 19.6.0-1build1 amd64 [installed]
Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2023 Sep 06
2
asterisk 18.18.0 and chan_console
>
>
> Just to verify that you did rerun configure after installing the libraries?
>
> Doug
>
Oh that is a good one - I thought I did - but apparently not. menuconfig
now shows "*"
So is chan_alsa going away ? What is it being replaced with?
thank you!
Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2023 Sep 06
2
asterisk 18.18.0 and chan_console
> I don't use it; just figured I'd try to help
Thanks Doug...
So then for the list - I have chan_console working now....
But I am trying Console/dsp and Console/ALSA and both give an error about
not found.
What have I missed ?
Thanks
Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: