How easy is it to use the A and B number of the incoming calls in certain scripts (e.g. are functions present to read them and use them for further operation)
I have not worked with AGI scripts before and probably need to have a look at this. Is the AGI capable of doing the issues as you described them below?
Cheers, Jeroen
PS: Andrew, handling password is not required, an A number analysis is sufficient (environment is 'secured')
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
_______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
