in my setup i have several users with DID lines coming in from various sip/iax providers. within our old phone system, a user could call their own DID line, then hit the * key when they hear their voicemail greeting and be prompted for their password. is there any way this could be replicated within asterisk? i'm having trouble figuring it out since it steps through things sequentially, whereas i want to scan for input during the playback. any help would be greatly appreciated. regards, -steve -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040408/8fd8f54f/attachment.htm
Instead of using playback for your vm sounds try the Background command. This command allows interruption by hitting a key. Keith ________________________________ From: asterisk-users-admin@lists.digium.com on behalf of Steven Kokinos Sent: Thu 4/8/2004 02:41 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] External access to voicemail in my setup i have several users with DID lines coming in from various sip/iax providers. within our old phone system, a user could call their own DID line, then hit the * key when they hear their voicemail greeting and be prompted for their password. is there any way this could be replicated within asterisk? i'm having trouble figuring it out since it steps through things sequentially, whereas i want to scan for input during the playback. any help would be greatly appreciated. regards, -steve -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/ms-tnef Size: 4250 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20040408/5fad88d1/attachment.bin
in the context of the incoming DID assuming their Caller ID is equal to the mailbox for their voicemail aka DID # exten * => 1,VoicemailMain(${CALLERIDNUM}) You might want to improve this though like so: Add all assigned DIDs to an Asterisk DB On * check if callerid is a valid did u assigned if yes then VoicemailMain(${CALLERIDNUM}) else VoicemailMain() This would cause them just get get a password prompt for their VM if they call from a caller id matching the mailbox and press * If the callerid doesn't match then call Voicemailmain without an arg then they will get a prompt for the voicemail exten then password so they can enter their did manually before the password prompt. On Thu, 2004-04-08 at 14:41, Steven Kokinos wrote:> in my setup i have several users with DID lines coming in from various > sip/iax providers. within our old phone system, a user could call > their own DID line, then hit the * key when they hear their voicemail > greeting and be prompted for their password. > > is there any way this could be replicated within asterisk? i'm having > trouble figuring it out since it steps through things sequentially, > whereas i want to scan for input during the playback. > > any help would be greatly appreciated. > > regards, > > -steve
At 2:41 PM -0400 on 4/8/04, Steven Kokinos wrote:>in my setup i have several users with DID lines coming in from >various sip/iax providers. within our old phone system, a user could >call their own DID line, then hit the * key when they hear their >voicemail greeting and be prompted for their password. > >is there any way this could be replicated within asterisk? i'm >having trouble figuring it out since it steps through things >sequentially, whereas i want to scan for input during the playback. > >any help would be greatly appreciated. > >regards, > >-steveHint #1) Don't send HTML email Hints #2-4) Look at the "Background" utility, then look at where the "busy" and "unavailable" messages are stored for each user, and then look at the Voicemail2 options that go right to the mailbox without playing the introductory message(s). You should be able to piece something together with those clues. JT
Hello. I have written a small patch to app_voicemail.c which provides the precise functionality Steve wants. I sent it to this list once, and got my subscription disabled for my trouble. so, if anyone's interested in it, it's about a 50 line diff file, which I'd be happy to mail anyone who writes and says they want it. If enough write, I'll post a URL on this list for it. If it's super popular, I'll figure out how to submit it as a feature request on the bug tracker. -Brian