Hi all Looking for a solution to create a flexible voicemail solution in Asterisk without the need to preregister the voicemail users (via databases etc etc). Scenario: All incoming calls are voicemail calls however the dialled number (called party) does not necessarily have a voicemailbox configured in the Asterisk system. I am looking for * to do the following: * Call comes in * Called number is analysed (e.g. 44123456) * Call is routed to default voicemail messages * Message is recorded (for the 44123456 number) ~~~~~~ * When number (44123456) dials voicemail system via voicemail service number * the A number is analysed and checked if voicemails are present on the system for the calling number * if voicemail is present the caller goes to voicemail menu to list to his voicemail * If no voicemail messages are present, * hangs up. I am curious if such requirements can be realised in Asterisk and maybe you have another solution with respect to set up the voicemail without a database. Would appreciate it if you could let me know what you think Thanks Jeroen
Andrew Thompson
2004-Jan-16 15:11 UTC
[Asterisk-Users] VoiceMail - no user pre-registration
----- Original Message ----- From: "Jeroen" <linux@comresult.com> To: <asterisk-users@lists.digium.com> Sent: Friday, January 16, 2004 3:10 PM Subject: [Asterisk-Users] VoiceMail - no user pre-registration> Hi all > > Looking for a solution to create a flexible voicemail solution in > Asterisk without the need to preregister the voicemail users (via > databases etc etc). > > Scenario: > All incoming calls are voicemail calls however the dialled number > (called party) does not necessarily have a voicemailbox configured in > the Asterisk system. > > I am looking for * to do the following: > * Call comes in > * Called number is analysed (e.g. 44123456) > * Call is routed to default voicemail messages > * Message is recorded (for the 44123456 number) > ~~~~~~ > * When number (44123456) dials voicemail system via voicemail > service number > * the A number is analysed and checked if voicemails are present on > the system for the calling number > * if voicemail is present the caller goes to voicemail menu to list > to his voicemail > * If no voicemail messages are present, * hangs up. > > I am curious if such requirements can be realised in Asterisk and maybe > you have another solution with respect to set up the voicemail without a > database. > Would appreciate it if you could let me know what you think > > Thanks > Jeroen >My only question is how do you intend to handle passwords? ----- Andrew Thompson http://aktzero.com/ Your eyes are weary from staring at the CRT. You feel sleepy. Notice how restful it is to watch the cursor blink. Close your eyes. The opinions stated above are yours. You cannot imagine why you ever felt otherwise.
Philipp von Klitzing
2004-Jan-16 16:35 UTC
[Asterisk-Users] VoiceMail - no user pre-registration
Hi!> Scenario: > All incoming calls are voicemail calls however the dialled number > (called party) does not necessarily have a voicemailbox configured in > the Asterisk system.You could: - configure a set of temporary mailboxes in voicemail.conf - direct a caller without mailbox to such a temporary box and record his name somehow (either in the Asterisk Db, or using an AGI script) - after (or at the beginning of the next) call run a clean-up script that 1. renames the voicemail directory and 2. re-creates the temporary mailbox using plain simple shell commands through System(), and 3. modifies voicemail.conf and 4. reloads asterisk (for voicemail.conf I *think* you don't need a restart). I am not sure why you wouldn't want to use a database for voicemail.conf, but I think it can be done rather easily without. Cheers, Philipp