Ticket #2035 (closed Bugs: fixed)

Opened 6 years ago

Last modified 6 years ago

MailBoxExists requires 'j' option to function on 1.4

Reported by: p_lindheimer Assigned to: p_lindheimer
Priority: minor Milestone: 2.3
Component: Voicemail Version: 2.3-branch
Keywords: Cc:
Confirmation: Distro:
Backend Engine: Asterisk 1.4.x Distro Ver:
Backend Ver: SVN Revision (if applicable):

Description

per the forum report: http://freepbx.org/forums/viewtopic.php?t=2430

verified that adding the 'j' (which is proper syntax) does work on 1.2 still, adding this.

Change History

06/28/07 11:46:44 changed by p_lindheimer

  • status changed from new to closed.
  • resolution set to fixed.

r4265, r4266 (2.2)
r4267, r4268 (2.3)

07/12/07 18:52:47 changed by teleweb

  • status changed from closed to reopened.
  • resolution deleted.

I would like to reopen this ticket because using priority jumping is not the right way going forward (actually, priority jumping was one of the most horrible mistakes EVER in Asterisk).

Instead of adding the j option, you can check the VMBOXEXISTSSTATUS channel variable.

VMBOXEXISTSSTATUS - This will contain the status of the execution of the
                    MailboxExists application. Possible values include:
                    SUCCESS | FAILED 

That way, you won't have to use a 101 priority...

07/12/07 20:07:48 changed by p_lindheimer

  • status changed from reopened to closed.
  • resolution set to fixed.

well I never liked priority jumping either - although it probably is more efficient then yet another check...

If you want to supply a patch and test it out using the exit status channel variable, I'll be glad to take a look at it. So ... feel free to reopen the bug with that patch attached, otherwise for now I'm going to re-close it since it does work per the asterisk 'spec' and there are too many other things that need attention to chase this one. (But like I said, you are welcome to toss it together and resubmit the patch).