Re: Asterisk 18.14.0 vs 18.18.0 and chan_console/chan_alsa
Jerry Geis <[email protected]> Wed, 13 Sep 2023 13:57:46 -0400
| Newsgroups | gmane.comp.telephony.pbx.asterisk.user |
|---|---|
| Message-ID | <CABr8-B6TDEPMbE+s1rDQje2e8Ne_W6xLV3Cq8e64h10b0u_D+Q@mail.gmail.com> |
--===============5745037442882862598== Content-Type: multipart/alternative; boundary="000000000000a775ed0605414c41" --000000000000a775ed0605414c41 Content-Type: text/plain; charset="UTF-8" >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 --000000000000a775ed0605414c41 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>>Using system() you could issue a asterisk -rx = 9;core restart now'</div><div><br></div>So I tried this<div><br></div><= div><br>exten =3D> s,1,Playback(beep)<br>exten =3D> s,n,Dial(Console/= default,20,g)<br>exten =3D> s,n,Hangup<br></div><div>exten =3D> s,n,S= ystem(asterisk -rx 'core restart now')</div><div><br></div><div>But= it does not continue. Last thing I see is "Exited=C2=A0non zero"= =C2=A0</div><div>so its not doing the hangup or the system.</div><div><br><= div>jerry</div></div></div> --000000000000a775ed0605414c41-- --===============5745037442882862598== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline LS0gCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fXwotLSBCYW5kd2lkdGggYW5kIENvbG9jYXRpb24gUHJvdmlkZWQgYnkg aHR0cDovL3d3dy5hcGktZGlnaXRhbC5jb20gLS0KCkNoZWNrIG91dCB0aGUgbmV3IEFzdGVyaXNr IGNvbW11bml0eSBmb3J1bSBhdDogaHR0cHM6Ly9jb21tdW5pdHkuYXN0ZXJpc2sub3JnLwoKTmV3 IHRvIEFzdGVyaXNrPyBTdGFydCBoZXJlOgogICAgICBodHRwczovL3dpa2kuYXN0ZXJpc2sub3Jn L3dpa2kvZGlzcGxheS9BU1QvR2V0dGluZytTdGFydGVkCgphc3Rlcmlzay11c2VycyBtYWlsaW5n IGxpc3QKVG8gVU5TVUJTQ1JJQkUgb3IgdXBkYXRlIG9wdGlvbnMgdmlzaXQ6CiAgIGh0dHA6Ly9s aXN0cy5kaWdpdW0uY29tL21haWxtYW4vbGlzdGluZm8vYXN0ZXJpc2stdXNlcnM= --===============5745037442882862598==--