Re: Deleting voicemail by program
Michael Bradeen <[email protected]> Mon, 9 Oct 2023 13:15:45 -0600
| Newsgroups | gmane.comp.telephony.pbx.asterisk.user |
|---|---|
| Message-ID | <CAM7VCebg-Up9y2aJuHjzh=J=iKae2A_KH1KT8wUthU=5WiUaTQ@mail.gmail.com> |
--===============6395295026173813318== Content-Type: multipart/alternative; boundary="00000000000067be0d06074d6b83" --00000000000067be0d06074d6b83 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Mike, New AMI actions were recently added to app_voicemail to let you remotely manipulate a mailbox: https://github.com/asterisk/asterisk/issues/181 Hope this helps. BR, -Mike On Mon, Oct 9, 2023 at 1:06=E2=80=AFPM Mike Diehl <[email protected]> wro= te: > Hi all, > > I need to be able to delete a voicemail message using a program. > > Is is sufficient to simply delete the .wav and .txt files in the spool > directory? > Or do I need to also renumber the remaining files? > > For example, let say a given mailbox has 20 messages in it and I want to > delete message number 5. Can I just delete the 2 files and expect that > asterisk will renumber them? Or do I need to? > > Also, is the answer the same when I migrate to storing voicemails in a > database? > > Thanks in advance. > > Mike > > > > -- > _____________________________________________________________________ > -- 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 --00000000000067be0d06074d6b83 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hi Mike,<div><br></div><div>New AMI actions were recently = added to app_voicemail to let you remotely manipulate a mailbox:=C2=A0</div= ><div><a href=3D"https://github.com/asterisk/asterisk/issues/181">https://g= ithub.com/asterisk/asterisk/issues/181</a></div><div><br></div><div>Hope=C2= =A0this helps.</div><div><br></div><div>BR,</div><div>-Mike</div><div><br><= /div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_a= ttr">On Mon, Oct 9, 2023 at 1:06=E2=80=AFPM Mike Diehl <<a href=3D"mailt= o:[email protected]">[email protected]</a>> wrote:<br></div><blockqu= ote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px= solid rgb(204,204,204);padding-left:1ex">Hi all,<br> <br> I need to be able to delete a voicemail message using a program.=C2=A0 <br> <br> Is is sufficient to simply delete the .wav and .txt files in the spool dire= ctory?=C2=A0 <br> Or do I need to also renumber the remaining files?<br> <br> For example, let say a given mailbox has 20 messages in it and I want to <b= r> delete message number 5.=C2=A0 Can I just delete the 2 files and expect tha= t <br> asterisk will renumber them?=C2=A0 Or do I need to?<br> <br> Also, is the answer the same when I migrate to storing voicemails in a <br> database?<br> <br> Thanks in advance.<br> <br> Mike<br> <br> <br> <br> -- <br> _____________________________________________________________________<br> -- Bandwidth and Colocation Provided by <a href=3D"http://www.api-digital.c= om" rel=3D"noreferrer" target=3D"_blank">http://www.api-digital.com</a> --<= br> <br> Check out the new Asterisk community forum at: <a href=3D"https://community= .asterisk.org/" rel=3D"noreferrer" target=3D"_blank">https://community.aste= risk.org/</a><br> <br> New to Asterisk? Start here:<br> =C2=A0 =C2=A0 =C2=A0 <a href=3D"https://wiki.asterisk.org/wiki/display/AST/= Getting+Started" rel=3D"noreferrer" target=3D"_blank">https://wiki.asterisk= .org/wiki/display/AST/Getting+Started</a><br> <br> asterisk-users mailing list<br> To UNSUBSCRIBE or update options visit:<br> =C2=A0 =C2=A0<a href=3D"http://lists.digium.com/mailman/listinfo/asterisk-u= sers" rel=3D"noreferrer" target=3D"_blank">http://lists.digium.com/mailman/= listinfo/asterisk-users</a></blockquote></div> --00000000000067be0d06074d6b83-- --===============6395295026173813318== 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= --===============6395295026173813318==--