>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.
An issue[1] was already created by aster...@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
On Wed, Sep 13, 2023 at 4:27 PM Jerry Geis wrote:
>
> I have found that I can a
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
--
_
-- Bandwidth and Colocation
> 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 cann
It worked with my test. I'm on Asterisk 18.19.0
-- Executing [517xxx@voipms:4] System("IAX2/voipms-15815", "asterisk
-rx 'core restart now'") in new stack
-- Remote UNIX connection
Asterisk uncleanly ending (0).
Executing last minute cleanups
== Destroying musiconhold processes
=
>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 n
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
--
>> Is there a dial plan call that can "exit asterisk" or completely reload
>> everything - killall active calls and start over ?
Using system() you could issue a asterisk -rx 'core restart now'
Doug
--
_
-- Bandwidth and Coloc
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
--
__