Is there a way to reduce the number of rings if there is a message on the mailbox. That is I set the Wait app to 10 secs but then want it to pick up a call right away after someone leaves a message (ie I am not at home, office) How can i do this? Thanks in advance Dan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20030404/d9378e0b/attachment.htm
Quoting Dan Fernandez <danfernandez00@hotmail.com>:> Is there a way to reduce the number of rings if there is a message on > the mailbox. That is I set the Wait app to 10 secs but then want it to > pick up a call right away after someone leaves a message (ie I am not at > home, office)How about using a variable to do the wait. Then, set it to 1 if a call falls to the mailbox so next time it picks up straight away. Additionally, set it back to 10 if you've opened your mailbox with the VoiceMailMain ? Florian
On Friday 04 April 2003 17:38, Dan Fernandez wrote:> Is there a way to reduce the number of rings if there is a > message on the mailbox. That is I set the Wait app to 10 secs > but then want it to pick up a call right away after someone > leaves a message (ie I am not at home, office)Untested code, but it should be fairly close. -Tilghman -------------- next part -------------- A non-text attachment was scrubbed... Name: app_hasnewvoicemail.c Type: text/x-csrc Size: 3614 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20030405/95f61feb/app_hasnewvoicemail.c