RE: [Asterisk-Users] anyone use mailboxexists?

2004-06-21 Thread Jeremy Jones
Hi all, Odd... I did a make update and how the MailboxExists works fine. However, it works just as the docs say: add 101 to priority if the box *does* exist, add 1 if not. I have tested it and this seems to be how it works. You may wish to test your flow and make sure it works as you

Re: [Asterisk-Users] anyone use mailboxexists?

2004-06-18 Thread Michael George
Billy, looking at this more closely, I have some questions... On Jun 15, 2004, at 9:45 PM, Billy Huddleston wrote: Yes, I use it. Here's a sample extension of how to use it. exten = 1234,1,Answer() exten = 1234,2,MailboxExists(1234) exten = 1234,3,Dial(SIP/1234,20) ; Try to ring for 20 seconds, no

RE: [Asterisk-Users] anyone use mailboxexists?

2004-06-18 Thread Jeremy Jones
Michael, From the docs, it looks like MailboxExists() will add 101 to the priority if the box *does* exist and goes to the next priority if not. I think the show application mailboxexists documentation is wrong. I believe it's the other way around. It does exits? Jump to next priority. It

Re: [Asterisk-Users] anyone use mailboxexists?

2004-06-18 Thread Michael George
On Jun 18, 2004, at 10:57 AM, Jeremy Jones wrote: From the docs, it looks like MailboxExists() will add 101 to the priority if the box *does* exist and goes to the next priority if not. I think the show application mailboxexists documentation is wrong. I believe it's the other way around. It

Re: [Asterisk-Users] anyone use mailboxexists?

2004-06-16 Thread Michael George
On Jun 15, 2004, at 9:45 PM, Billy Huddleston wrote: Yes, I use it. Here's a sample extension of how to use it. exten = 1234,1,Answer() exten = 1234,2,MailboxExists(1234) exten = 1234,3,Dial(SIP/1234,20) ; Try to ring for 20 seconds, no answer goto voicemail exten = 1234,4,Voicemail(b1234) ; send

Re: [Asterisk-Users] anyone use mailboxexists?

2004-06-15 Thread Eric Wieling
There was some sort of update to MailboxExists in Asterisk CVS -head the other day. See http://lists.digium.com/pipermail/asterisk-cvs/ On Tue, 2004-06-15 at 16:36, Michael George wrote: I replied to a post of mine a few days ago asking of anyone uses mailboxexists(). I haven't received any

Re: [Asterisk-Users] anyone use mailboxexists?

2004-06-15 Thread Michael George
I wondered if that might not be, and I just got the source yesterday (with make update) but perhaps that doesn't get the head. I'll look on the wiki for information on getting the head. Maybe that will fix it... Thanks! On Jun 15, 2004, at 6:37 PM, Eric Wieling wrote: There was some sort of

Re: [Asterisk-Users] anyone use mailboxexists?

2004-06-15 Thread Billy Huddleston
Yes, I use it. Here's a sample extension of how to use it. exten = 1234,1,Answer() exten = 1234,2,MailboxExists(1234) exten = 1234,3,Dial(SIP/1234,20) ; Try to ring for 20 seconds, no answer goto voicemail exten = 1234,4,Voicemail(b1234) ; send to voicemail if busy exten = 1234,103,Dial(SIP/1234)