[asterisk-users] VoiceMail.conf reading variables
Hi Is it possible to read the full name of the Voice Mail extension from voicemail.conf using VMauthenticate command ? as everytime I call VMauthenticate and try to feed in my password - it always returns VM_NAME as empty string . Alternatively let me know if there is any other way to read the VM_NAME for a particular extension Thanks Sriram ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Voicemail.conf: where to fin strftime manual entry ?
Hi, In voicemail.conf, you can read ; Look in /usr/share/zoneinfo/ for names of timezones. ; Look at the manual page for strftime for a quick tutorial on how the ; variable substitution is done on the values below. Where can this manual page for strftime be found ? man strftime and apt-cache search strftime don't reply much ... Regards ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Voicemail.conf : concise hour prompts
Hi, In voicemail.conf: ; Supported values: ; 'filename'filename of a soundfile (single ticks around the filename ; required) ; ${VAR}variable substitution ; A or aDay of week (Saturday, Sunday, ...) ; B or b or h Month name (January, February, ...) ; d or enumeric day of month (first, second, ..., thirty-first) ; Y Year ; I or lHour, 12 hour clock ; H Hour, 24 hour clock (single digit hours preceded by oh) ; k Hour, 24 hour clock (single digit hours NOT preceded by oh) ; M Minute, with 00 pronounced as o'clock ; N Minute, with 00 pronounced as hundred (US military time) ; P or pAM or PM ; Q today, yesterday or ABdY ; (*note: not standard strftime value) ; q (for today), yesterday, weekday, or ABdY ; (*note: not standard strftime value) ; R 24 hour time, including minute Is it me or it's not possible to hear something like : seventeen hour fifteen minutes ? I can't get rid of am or pm prompts : both k, R or combinations fail. Regards ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Voicemail.conf: where to fin strftime manual entry?
http://linux.die.net/man/3/strftime http://linux.die.net/man/3/strftime has an explanation of this function. _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Olivier Sent: Tuesday, December 09, 2008 9:08 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Voicemail.conf: where to fin strftime manual entry? Hi, In voicemail.conf, you can read ; Look in /usr/share/zoneinfo/ for names of timezones. ; Look at the manual page for strftime for a quick tutorial on how the ; variable substitution is done on the values below. Where can this manual page for strftime be found ? man strftime and apt-cache search strftime don't reply much ... Regards ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Voicemail.conf: where to fin strftime manual entry?
Here is another resource http://us2.php.net/strftime ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Voicemail.conf: where to fin strftime manual entry ?
On Tue, Dec 09, 2008 at 04:07:54PM +0100, Olivier wrote: Hi, In voicemail.conf, you can read ; Look in /usr/share/zoneinfo/ for names of timezones. ; Look at the manual page for strftime for a quick tutorial on how the ; variable substitution is done on the values below. Where can this manual page for strftime be found ? On Debians: manpages-dev -- Tzafrir Cohen icq#16849755 jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Voicemail.conf: where to fin strftime manual entry ? [SOLVED]
2008/12/9 Tzafrir Cohen [EMAIL PROTECTED] On Tue, Dec 09, 2008 at 04:07:54PM +0100, Olivier wrote: Hi, In voicemail.conf, you can read ; Look in /usr/share/zoneinfo/ for names of timezones. ; Look at the manual page for strftime for a quick tutorial on how the ; variable substitution is done on the values below. Where can this manual page for strftime be found ? On Debians: manpages-dev -- Tzafrir Cohen icq#16849755 jabber:[EMAIL PROTECTED][EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users Thanks for helping : I did : apt-get install manpages-dev man strftime ... et voila ! ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Voicemail.conf : concise hour prompts
On Tuesday 09 December 2008 09:14:11 Olivier wrote: Hi, In voicemail.conf: ; Supported values: ; 'filename'filename of a soundfile (single ticks around the filename ; required) ; ${VAR}variable substitution ; A or aDay of week (Saturday, Sunday, ...) ; B or b or h Month name (January, February, ...) ; d or enumeric day of month (first, second, ..., thirty-first) ; Y Year ; I or lHour, 12 hour clock ; H Hour, 24 hour clock (single digit hours preceded by oh) ; k Hour, 24 hour clock (single digit hours NOT preceded by oh) ; M Minute, with 00 pronounced as o'clock ; N Minute, with 00 pronounced as hundred (US military time) ; P or pAM or PM ; Q today, yesterday or ABdY ; (*note: not standard strftime value) ; q (for today), yesterday, weekday, or ABdY ; (*note: not standard strftime value) ; R 24 hour time, including minute Is it me or it's not possible to hear something like : seventeen hour fifteen minutes ? I can't get rid of am or pm prompts : both k, R or combinations fail. What language are you using? It's possible that the translator for that language decided your usage was not common and did not create a set of prompts that work for you. -- Tilghman ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Voicemail.conf : concise hour prompts
2008/12/9 Tilghman Lesher [EMAIL PROTECTED] On Tuesday 09 December 2008 09:14:11 Olivier wrote: Hi, In voicemail.conf: ; Supported values: ; 'filename'filename of a soundfile (single ticks around the filename ; required) ; ${VAR}variable substitution ; A or aDay of week (Saturday, Sunday, ...) ; B or b or h Month name (January, February, ...) ; d or enumeric day of month (first, second, ..., thirty-first) ; Y Year ; I or lHour, 12 hour clock ; H Hour, 24 hour clock (single digit hours preceded by oh) ; k Hour, 24 hour clock (single digit hours NOT preceded by oh) ; M Minute, with 00 pronounced as o'clock ; N Minute, with 00 pronounced as hundred (US military time) ; P or pAM or PM ; Q today, yesterday or ABdY ; (*note: not standard strftime value) ; q (for today), yesterday, weekday, or ABdY ; (*note: not standard strftime value) ; R 24 hour time, including minute Is it me or it's not possible to hear something like : seventeen hour fifteen minutes ? I can't get rid of am or pm prompts : both k, R or combinations fail. What language are you using? It's possible that the translator for that language decided your usage was not common and did not create a set of prompts that work for you. I'm using french. I would say that in french french, usage is not to say am or pm when counting hours from 0 to 23. (for instance, you would say nineteen hours fifteen minutes). May be this is not the case in canadian french ? -- Tilghman ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Voicemail.conf : concise hour prompts [SOLVED]
2008/12/9 Olivier [EMAIL PROTECTED] 2008/12/9 Tilghman Lesher [EMAIL PROTECTED] On Tuesday 09 December 2008 09:14:11 Olivier wrote: Hi, In voicemail.conf: ; Supported values: ; 'filename'filename of a soundfile (single ticks around the filename ; required) ; ${VAR}variable substitution ; A or aDay of week (Saturday, Sunday, ...) ; B or b or h Month name (January, February, ...) ; d or enumeric day of month (first, second, ..., thirty-first) ; Y Year ; I or lHour, 12 hour clock ; H Hour, 24 hour clock (single digit hours preceded by oh) ; k Hour, 24 hour clock (single digit hours NOT preceded by oh) ; M Minute, with 00 pronounced as o'clock ; N Minute, with 00 pronounced as hundred (US military time) ; P or pAM or PM ; Q today, yesterday or ABdY ; (*note: not standard strftime value) ; q (for today), yesterday, weekday, or ABdY ; (*note: not standard strftime value) ; R 24 hour time, including minute Is it me or it's not possible to hear something like : seventeen hour fifteen minutes ? I can't get rid of am or pm prompts : both k, R or combinations fail. What language are you using? It's possible that the translator for that language decided your usage was not common and did not create a set of prompts that work for you. I'm using french. I would say that in french french, usage is not to say am or pm when counting hours from 0 to 23. (for instance, you would say nineteen hours fifteen minutes). May be this is not the case in canadian french ? -- Tilghman ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users Hi, I still don't know for canadian french usage but R option is working properly here (in french and english). In my previous trials, I mixed up with timezone options. Regards ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] voicemail.conf
Is it possible to create extensions in the voicemail.conf remotely by using the manager interface. I cannot seem to find any documents or examples describing that capability. Jonathan ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] voicemail.conf
On Wednesday 15 October 2008 15:59:09 jonathan augenstine wrote: Is it possible to create extensions in the voicemail.conf remotely by using the manager interface. I cannot seem to find any documents or examples describing that capability. It's not possible, no. However, you could enable realtime voicemail and configure new voicemail users via a database. -- Tilghman ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] voicemail.conf fromstring, emailbody - per context?
I ended up solving this by using mailcmd I changed mailcmd from /usr/bin/sendmail -t to my own custom script. Then I parsed out the data I need, do some database lookups, and customize and send the email based on what I've got. Now we have unlimited custom email possibilities without changing any asterisk code. -- Chris Carey On Tue, Mar 25, 2008 at 9:54 AM, Chris Carey [EMAIL PROTECTED] wrote: Has anyone put together a patch which would allow a different fromstring and emailbody based on context? Or any other way to have more than one fromstring and emailbody per server? ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] voicemail.conf fromstring, emailbody - per context?
Has anyone put together a patch which would allow a different fromstring and emailbody based on context? Or any other way to have more than one fromstring and emailbody per server? ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] voicemail.conf fromstring, emailbody - per context?
25 mar 2008 kl. 16.54 skrev Chris Carey: Has anyone put together a patch which would allow a different fromstring and emailbody based on context? Or any other way to have more than one fromstring and emailbody per server? Minivoicemail has limited voicemail capabilities, but has multiple email templates with proper support for locale's. /O ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] voicemail.conf numerical extensions only?
Alan Lord wrote: Hi, Is it mandatory that all voicemail entries have a numerical mailbox name? Or is it possible (like SIP extension for example) for them to have alphanumeric names? All references I have read use numerical definitions and examples, but do not explicitly state this is the ONLY acceptable method. TIA Alan Answering my own question I know, but playing around today I have found that voicemail can indeed be alpha, numeric or alphanumeric. defined thus in voicemail.conf: [business] tolc = 1234,The Open Learning Centre,,, manage like this - as long as your sip phone does text... exten = _8tolc,1,Answer() exten = _8tolc,n,Voicemailmain(${EXTEN:[EMAIL PROTECTED]) Just FYI for search engines. Alan -- The way out is open! http://www.theopensourcerer.com ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] voicemail.conf numerical extensions only?
Hi, Is it mandatory that all voicemail entries have a numerical mailbox name? Or is it possible (like SIP extension for example) for them to have alphanumeric names? All references I have read use numerical definitions and examples, but do not explicitly state this is the ONLY acceptable method. TIA Alan -- The way out is open! http://www.theopensourcerer.com ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Voicemail.conf
Hi Paul, The way to specify the email_id is as follows 8000 = 8000,ajay,[EMAIL PROTECTED] Bye and take care. On 9/17/07, Paul Hales [EMAIL PROTECTED] wrote: Is there a way to specify multiple email addresses in voicemail.conf for a specific user? I seem to remember that it was possible, but can't remember the character to separate the email addresses. (I tried '', but that didn't work...) later, PaulH ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Voicemail.conf
On Monday 17 September 2007 00:48:56 Paul Hales wrote: On Mon, 2007-09-17 at 07:25 +0200, Adam KOSA wrote: Paul Hales wrote: Is there a way to specify multiple email addresses in voicemail.conf for a specific user? why don't you use the /etc/aliases file for this purpose? This is more of a question - I don't really need to know a way to get this to work. I was just wondering whether there was a way to do this. Someone submitted a patch to Digium a year or so ago from memory, but I can't find any reference to it. Using voicemail.conf, no. This is why the suggestion was made to use /etc/aliases. However, you can specify multiple email addresses using a comma for separation, if you use realtime to load your voicemail users. -- Tilghman ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Voicemail.conf
On Mon, 2007-09-17 at 01:39 -0500, Tilghman Lesher wrote: On Monday 17 September 2007 00:48:56 Paul Hales wrote: On Mon, 2007-09-17 at 07:25 +0200, Adam KOSA wrote: Paul Hales wrote: Is there a way to specify multiple email addresses in voicemail.conf for a specific user? why don't you use the /etc/aliases file for this purpose? This is more of a question - I don't really need to know a way to get this to work. I was just wondering whether there was a way to do this. Someone submitted a patch to Digium a year or so ago from memory, but I can't find any reference to it. Using voicemail.conf, no. This is why the suggestion was made to use /etc/aliases. However, you can specify multiple email addresses using a comma for separation, if you use realtime to load your voicemail users. That makes sense - use realtime, use commas. PaulH ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Voicemail.conf
It is possible, kind of. The only way I was able to get this to work for me (and only for two email addresses) was to specify one email address as normal, and the second email address as the pager email address. Possibly not what you're looking for, but the best solution (short of email groups) that I'm aware of. Paul Hales wrote: Is there a way to specify multiple email addresses in voicemail.conf for a specific user? I seem to remember that it was possible, but can't remember the character to separate the email addresses. (I tried '', but that didn't work...) later, PaulH ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Voicemail.conf
Is there a way to specify multiple email addresses in voicemail.conf for a specific user? I seem to remember that it was possible, but can't remember the character to separate the email addresses. (I tried '', but that didn't work...) later, PaulH ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Voicemail.conf
Paul Hales wrote: Is there a way to specify multiple email addresses in voicemail.conf for a specific user? why don't you use the /etc/aliases file for this purpose? regards adam ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Voicemail.conf
On Mon, 2007-09-17 at 07:25 +0200, Adam KOSA wrote: Paul Hales wrote: Is there a way to specify multiple email addresses in voicemail.conf for a specific user? why don't you use the /etc/aliases file for this purpose? This is more of a question - I don't really need to know a way to get this to work. I was just wondering whether there was a way to do this. Someone submitted a patch to Digium a year or so ago from memory, but I can't find any reference to it. PaulH ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] voicemail.conf serveremail
Patrick Pfeifer wrote: Hello, I was wondering if there is a way to change the From address (not just the Return-Path) for voicemail notification emails in Asterisk. It looks like the serveremail directive in voicemail.conf just changes the Return-Path. I'm looking for something analogous to the -r option in mailx, for example. I need this since the mail server I'm using requires the sender to be on the system. Any advice would be appreciated. Have you considered an alternative mailer, like ssmtp? That's what we use -- and we just define the From: address in the configuration for ssmtp. -Stephen- ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] voicemail.conf serveremail
vm_general.conf is where I've set mine (freepbx installation) D. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Patrick Pfeifer Sent: Thursday, June 28, 2007 12:03 AM To: asterisk-users@lists.digium.com Subject: [asterisk-users] voicemail.conf serveremail Hello, I was wondering if there is a way to change the From address (not just the Return-Path) for voicemail notification emails in Asterisk. It looks like the serveremail directive in voicemail.conf just changes the Return-Path. I'm looking for something analogous to the -r option in mailx, for example. I need this since the mail server I'm using requires the sender to be on the system. Any advice would be appreciated. Thanks ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] voicemail.conf serveremail
Hello, I was wondering if there is a way to change the From address (not just the Return-Path) for voicemail notification emails in Asterisk. It looks like the serveremail directive in voicemail.conf just changes the Return-Path. I'm looking for something analogous to the -r option in mailx, for example. I need this since the mail server I'm using requires the sender to be on the system. Any advice would be appreciated. Thanks ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] voicemail.conf locking problem
I'm wondering if anyone is having problems when multiple users concurrently change their voicemail passwords. Consider the following scenario (based on vm_change_password() in app_voicemail.c): - user1 wishes to change his password so voicemail.conf is opened and read into a buffer - user1 changes his password - user2 wishes to change his password so voicemail.conf is opened and read into a buffer - voicemail.conf is written with user1's modified password - voicemail.conf is rewritten with user2's modified password but not including user1's modified password because the voicemail.conf that was read by Asterisk when user2 wanted to change his password was read before the changed password of user1 got written back. It seems by looking at the code that this is how it is currently done. The file is not locked down once it is opened. So my question, is the above scenario correct or is there somewhere a lock which I missed out on? Jez Want to start your own business? Learn how on Yahoo! Small Business. http://smallbusiness.yahoo.com/r-index ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [asterisk-users] voicemail.conf locking problem
If you have enough users where this comes up as a real issue, I'd recommend migrating to Asterisk Realtime voicemail, then can have row-level locking etc. if you use the right kind of storage engine... I've found problems using the dial-by-name directory with realtime voicemail, but it seems you might have the scale where some customization work can be justified. Regards, Scott From: [EMAIL PROTECTED] on behalf of je . Sent: Wed 11/29/2006 4:42 PM To: asterisk-users@lists.digium.com Subject: [asterisk-users] voicemail.conf locking problem I'm wondering if anyone is having problems when multiple users concurrently change their voicemail passwords. Consider the following scenario (based on vm_change_password() in app_voicemail.c): - user1 wishes to change his password so voicemail.conf is opened and read into a buffer - user1 changes his password - user2 wishes to change his password so voicemail.conf is opened and read into a buffer - voicemail.conf is written with user1's modified password - voicemail.conf is rewritten with user2's modified password but not including user1's modified password because the voicemail.conf that was read by Asterisk when user2 wanted to change his password was read before the changed password of user1 got written back. It seems by looking at the code that this is how it is currently done. The file is not locked down once it is opened. So my question, is the above scenario correct or is there somewhere a lock which I missed out on? Jez Want to start your own business? Learn how on Yahoo! Small Business. http://smallbusiness.yahoo.com/r-index ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] voicemail.conf locking problem
On 17:05, Wed 29 Nov 06, Scott Keagy wrote: If you have enough users where this comes up as a real issue, I'd recommend migrating to Asterisk Realtime voicemail, then can have row-level locking etc. if you use the right kind of storage engine... I've found problems using the dial-by-name directory with realtime voicemail, but it seems you might have the scale where some customization work can be justified. Or use the externpass option in voicemail.conf and write some script/tool to do the passwordchanging for you -- Michiel van Baak [EMAIL PROTECTED] http://michiel.vanbaak.eu GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x71C946BD Why is it drug addicts and computer afficionados are both called users? ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] voicemail.conf locking problem
On Wed, Nov 29, 2006 at 05:05:13PM -0500, Scott Keagy wrote: If you have enough users where this comes up as a real issue, I'd recommend migrating to Asterisk Realtime voicemail, [ snip ] If you have expected a different type of reply, consider discussion this in asterisk-dev . Yes. The current voicemail is known to be broken in that sense. -- Tzafrir Cohen icq#16849755jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] voicemail.conf locking problem
Sounds like a good solution to me! Could potentially use externpass then use flock(), fcntl() et al. every once in a while to write all passwords back to voicemail.conf. Thanks for the insight. --- Michiel van Baak [EMAIL PROTECTED] wrote: On 17:05, Wed 29 Nov 06, Scott Keagy wrote: If you have enough users where this comes up as a real issue, I'd recommend migrating to Asterisk Realtime voicemail, then can have row-level locking etc. if you use the right kind of storage engine... I've found problems using the dial-by-name directory with realtime voicemail, but it seems you might have the scale where some customization work can be justified. Or use the externpass option in voicemail.conf and write some script/tool to do the passwordchanging for you -- Michiel van Baak [EMAIL PROTECTED] http://michiel.vanbaak.eu GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x71C946BD Why is it drug addicts and computer afficionados are both called users? ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users Want to start your own business? Learn how on Yahoo! Small Business. http://smallbusiness.yahoo.com/r-index ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Voicemail.conf multi languages
Hello, Im a student of the school of engineer of Yverdon Switzerland and Im working for my project of diploma (VoIP-Asterisk) Im wondering if it is possible to have multi languages email with the voicemail.conf. I wish to set the emailbody/emailsubject relatively to the user language of the mailbox? Any advice or idea will be appreciated! Thanks Salim ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] voicemail.conf
Is it possible to run a command in the voicemail.conf file to change the from email-address. This way the user who gets the email, can reply on the mail just by clicking answer. I want to do something like this serveremail='grep ${VM_CIDNUM}) /etc/asterisk/voicemail.conf | cut -d, -f3' Greetings Jan ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] voicemail.conf
Hi Jan, maybe externnotify voicemail.conf command may help you to exec an external script. Giorgio Incantalupo Jan Pringels wrote: Is it possible to run a command in the voicemail.conf file to change the ‘from’ email-address. This way the user who gets the email, can reply on the mail just by clicking ‘answer’. I want to do something like this… serveremail='grep ${VM_CIDNUM}) /etc/asterisk/voicemail.conf | cut -d, -f3' Greetings Jan // // ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] voicemail.conf
No you can't. We've actually got a patch that does exactly that. It uses realtime heavily, mainly to pull the information directly from the database. If you're interested, let me know :) On Fri, 26 May 2006, Jan Pringels wrote: Is it possible to run a command in the voicemail.conf file to change the 'from' email-address. This way the user who gets the email, can reply on the mail just by clicking 'answer'. I want to do something like this. serveremail='grep ${VM_CIDNUM}) /etc/asterisk/voicemail.conf | cut -d, -f3' Greetings Jan -- Aaron Daniel Computer Systems Technician Sam Houston State University [EMAIL PROTECTED] (936) 294-4198 ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] voicemail.conf overwritten
I'm trying to set up a base * configuration in a version control system. I have nearly all the system-specific configuration pulled out into a subdirectory so that /etc/asterisk is very generic and I can copy it into another system when I create it. The only stickler is voicemail.conf. Includes within voicemail.conf will work, but when a user changes their password, * cannot put the change into the included file and a restart would wipe out password changes. I tried using symlinks and hard links and it appears that when a user changes their VM password, the file is deleted and rewritten. Those semantics defeat both types of links. I will have to ponder this issue for a bit. If anyone has suggestions, please offer them. If I come up with a solution transparent to the revision control system (subversion), I will report back to the list. Thank you. -- -M There are 10 kinds of people in this world: Those who can count in binary and those who cannot. ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] voicemail.conf overwritten
On Tue, Jul 05, 2005 at 09:53:46AM -0400, Michael George wrote: I'm trying to set up a base * configuration in a version control system. I have nearly all the system-specific configuration pulled out into a subdirectory so that /etc/asterisk is very generic and I can copy it into another system when I create it. The only stickler is voicemail.conf. Includes within voicemail.conf will work, but when a user changes their password, * cannot put the change into the included file and a restart would wipe out password changes. I tried using symlinks and hard links and it appears that when a user changes their VM password, the file is deleted and rewritten. Those semantics defeat both types of links. I will have to ponder this issue for a bit. If anyone has suggestions, please offer them. If I come up with a solution transparent to the revision control system (subversion), I will report back to the list. On a related topic: I use an external command to change the password in the included files. Following Asterisk's logic, that external command should have updated the password app_voicemail remembers internally: http://bugs.digium.com/view.php?id=4602 -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il | | a Mutt's [EMAIL PROTECTED] | | best ICQ# 16849755 | | friend ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] voicemail.conf from DB
[EMAIL PROTECTED] wrote: Hi tks for the feedback, the admintool i cant use, because users create/add themselves to the system themselves, could be 100 or 1000+ users. Hence I could get my script which create user/pass details in myqsql to call the voicemail script to create the physical path on the server, but appending 1000+ lines to voicemail.conf doesnt seem like a good idea, and then reloading each time. I looked at the realtime feature in asterisk and it looked good, yap... it sounds promissing want to store the voicemail on the server itself, (wish i could change the dir struture though, rather than have one ../context/voicemail etc I would want it split like a mbox mail directory structure for large scalabilty---but thats another story-new thread), Why not use GFS or similar for this purpose. Since GFS it is global/cluster file system you can expand it, it is fully posix complient etc. and you do not need to worry about creating ../context/voicemail. and the mapping , user/pass details for each user pull from the DB. Iqbal On 5/16/2005, Senad J [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: but the other choice is to keep editing the voicemail.conf file, everytime I add a new user, which again is not really scalable. Using an administration interface of some kind will solve this issue. I dont wish to store the voicemail in the DB, just the conf file itself, mysql will easily in a clusered scenario support 100K+ entries. Fine... What setup would you recommend Do do what? Senad ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] voicemail.conf from DB
although a great discussion, has anyone actually got the voicemail.conf from a DB, the query that asterisk sends is SELECT category, var_name, var_val, cat_metric FROM voicemail_users WHERE filename='voicemail.conf' and commented=0 ORDER BY filename, cat_metric desc, var_metric asc, category, var_name, var_val, id; however the table setup is followed from the wiki is way different, is there a new table structure, Iqbal Matthew Boehm wrote: Preston Garrison wrote: the database. But that is mostly due to the fact that realtime queries the database 4 times everytime it needs a sip record. Also ?? I have not observed this 4 query behavior. I only see 1 query. -Matthew ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users . ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] voicemail.conf from DB
Hi I have been playing with trying to get voicemail.conf from DB, I am using cvs-head, but when I start asterisk, it dies a horrible death, because it cant load any voicemil setting. I looked at my mysql logs to see what query was being sent, and I get SELECT category, var_name, var_val, cat_metric FROM voicemail_users WHERE filename='voicemail.conf' and commented=0 ORDER BY filename, cat_metric desc, var_metric asc, category, var_name, var_val, id; which is in no way related to the table I created following the example on the wiki. Is there another table format , I have +-+---+--+-+-++ | Field | Type | Null | Key | Default | Extra | +-+---+--+-+-++ | uniqueid| int(11) | | PRI | NULL| auto_increment | | customer_id | int(11) | | | 0 || | context | varchar(50) | | | || | mailbox | int(5)| | MUL | 0 || | password| varchar(4)| | | 0 || | fullname| varchar(50) | | | || | email | varchar(50) | | | || | pager | varchar(50) | | | || | stamp | timestamp(14) | YES | | NULL|| +-+---+--+-+-++ tks Iqbal ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] voicemail.conf from DB
In my opinion.. using voicemail from DB is not good for scaling up scenarios... in particular if you need to provide HA of five nine... 99.999% The cluster database (well in particular MYSQL puts everything in RAM)... so as the user base grows.. so does RAM requirement... Ta Senad [EMAIL PROTECTED] wrote: Hi I have been playing with trying to get voicemail.conf from DB, I am using cvs-head, but when I start asterisk, it dies a horrible death, because it cant load any voicemil setting. I looked at my mysql logs to see what query was being sent, and I get SELECT category, var_name, var_val, cat_metric FROM voicemail_users WHERE filename='voicemail.conf' and commented=0 ORDER BY filename, cat_metric desc, var_metric asc, category, var_name, var_val, id; which is in no way related to the table I created following the example on the wiki. Is there another table format , I have +-+---+--+-+-++ Field | Type | Null | Key | Default | Extra | +-+---+--+-+-++ uniqueid| int(11) | | PRI | NULL| auto_increment | customer_id | int(11) | | | 0 || context | varchar(50) | | | || mailbox | int(5)| | MUL | 0 || password| varchar(4)| | | 0 || fullname| varchar(50) | | | || email | varchar(50) | | | || pager | varchar(50) | | | || stamp | timestamp(14) | YES | | NULL|| +-+---+--+-+-++ tks Iqbal ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] voicemail.conf from DB
but the other choice is to keep editing the voicemail.conf file, everytime I add a new user, which again is not really scalable. I dont wish to store the voicemail in the DB, just the conf file itself, mysql will easily in a clusered scenario support 100K+ entries. What setup would you recommend iqbal Senad J wrote: In my opinion.. using voicemail from DB is not good for scaling up scenarios... in particular if you need to provide HA of five nine... 99.999% The cluster database (well in particular MYSQL puts everything in RAM)... so as the user base grows.. so does RAM requirement... Ta Senad [EMAIL PROTECTED] wrote: Hi I have been playing with trying to get voicemail.conf from DB, I am using cvs-head, but when I start asterisk, it dies a horrible death, because it cant load any voicemil setting. I looked at my mysql logs to see what query was being sent, and I get SELECT category, var_name, var_val, cat_metric FROM voicemail_users WHERE filename='voicemail.conf' and commented=0 ORDER BY filename, cat_metric desc, var_metric asc, category, var_name, var_val, id; which is in no way related to the table I created following the example on the wiki. Is there another table format , I have +-+---+--+-+-++ Field | Type | Null | Key | Default | Extra | +-+---+--+-+-++ uniqueid| int(11) | | PRI | NULL| auto_increment | customer_id | int(11) | | | 0 || context | varchar(50) | | | || mailbox | int(5)| | MUL | 0 || password| varchar(4)| | | 0 || fullname| varchar(50) | | | || email | varchar(50) | | | || pager | varchar(50) | | | || stamp | timestamp(14) | YES | | NULL|| +-+---+--+-+-++ tks Iqbal ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users . ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] voicemail.conf from DB
Actually using voicemail from db is alot smarter then using SIP from the database. But that is mostly due to the fact that realtime queries the database 4 times everytime it needs a sip record. Also mysql doesn't keep everything in memory at all. It only keeps stuff it needs to in memory, that it finds itself accessing alot. The algorithms are pretty damn good in mysql about what to keep in memory. Preston Garrison direct: 877-748-4142 fax: 310-774-3901 cell: 623-748-4140 -Original Message- From: Senad J [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Mon, 16 May 2005 20:33:32 +0100 Subject: RE: [Asterisk-Users] voicemail.conf from DB In my opinion.. using voicemail from DB is not good for scaling up scenarios... in particular if you need to provide HA of five nine... 99.999% The cluster database (well in particular MYSQL puts everything in RAM)... so as the user base grows.. so does RAM requirement... Ta Senad [EMAIL PROTECTED] wrote: Hi I have been playing with trying to get voicemail.conf from DB, I am using cvs-head, but when I start asterisk, it dies a horrible death, because it cant load any voicemil setting. I looked at my mysql logs to see what query was being sent, and I get SELECT category, var_name, var_val, cat_metric FROM voicemail_users WHERE filename='voicemail.conf' and commented=0 ORDER BY filename, cat_metric desc, var_metric asc, category, var_name, var_val, id; which is in no way related to the table I created following the example on the wiki. Is there another table format , I have +-+---+--+-+-++ Field | Type | Null | Key | Default | Extra | +-+---+--+-+-++ uniqueid| int(11) | | PRI | NULL| auto_increment | customer_id | int(11) | | | 0 || context | varchar(50) | | | || mailbox | int(5)| | MUL | 0 || password| varchar(4)| | | 0 || fullname| varchar(50) | | | || email | varchar(50) | | | || pager | varchar(50) | | | || stamp | timestamp(14) | YES | | NULL|| +-+---+--+-+-++ tks Iqbal ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] voicemail.conf from DB
[EMAIL PROTECTED] wrote: but the other choice is to keep editing the voicemail.conf file, everytime I add a new user, which again is not really scalable. Using an administration interface of some kind will solve this issue. I dont wish to store the voicemail in the DB, just the conf file itself, mysql will easily in a clusered scenario support 100K+ entries. Fine... What setup would you recommend Do do what? Senad ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] voicemail.conf from DB
Hi tks for the feedback, the admintool i cant use, because users create/add themselves to the system themselves, could be 100 or 1000+ users. Hence I could get my script which create user/pass details in myqsql to call the voicemail script to create the physical path on the server, but appending 1000+ lines to voicemail.conf doesnt seem like a good idea, and then reloading each time. I looked at the realtime feature in asterisk and it looked good, I want to store the voicemail on the server itself, (wish i could change the dir struture though, rather than have one ../context/voicemail etc I would want it split like a mbox mail directory structure for large scalabilty---but thats another story-new thread), and the mapping , user/pass details for each user pull from the DB. Iqbal On 5/16/2005, Senad J [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: but the other choice is to keep editing the voicemail.conf file, everytime I add a new user, which again is not really scalable. Using an administration interface of some kind will solve this issue. I dont wish to store the voicemail in the DB, just the conf file itself, mysql will easily in a clusered scenario support 100K+ entries. Fine... What setup would you recommend Do do what? Senad ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] voicemail.conf from DB
and running mysql with master slave config, can also allow load balancing on the queries, but the problem is I just cant get it too work :-) Iqbal On 5/16/2005, Preston Garrison [EMAIL PROTECTED] wrote: Actually using voicemail from db is alot smarter then using SIP from the database. But that is mostly due to the fact that realtime queries the database 4 times everytime it needs a sip record. Also mysql doesn't keep everything in memory at all. It only keeps stuff it needs to in memory, that it finds itself accessing alot. The algorithms are pretty damn good in mysql about what to keep in memory. Preston Garrison direct: 877-748-4142 fax: 310-774-3901 cell: 623-748-4140 -Original Message- From: Senad J [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Mon, 16 May 2005 20:33:32 +0100 Subject: RE: [Asterisk-Users] voicemail.conf from DB In my opinion.. using voicemail from DB is not good for scaling up scenarios... in particular if you need to provide HA of five nine... 99.999% The cluster database (well in particular MYSQL puts everything in RAM)... so as the user base grows.. so does RAM requirement... Ta Senad [EMAIL PROTECTED] wrote: Hi I have been playing with trying to get voicemail.conf from DB, I am using cvs-head, but when I start asterisk, it dies a horrible death, because it cant load any voicemil setting. I looked at my mysql logs to see what query was being sent, and I get SELECT category, var_name, var_val, cat_metric FROM voicemail_users WHERE filename='voicemail.conf' and commented=0 ORDER BY filename, cat_metric desc, var_metric asc, category, var_name, var_val, id; which is in no way related to the table I created following the example on the wiki. Is there another table format , I have +-+---+--+-+-++ Field | Type | Null | Key | Default | Extra | +-+---+--+-+-++ uniqueid| int(11) | | PRI | NULL| auto_increment | customer_id | int(11) | | | 0 || context | varchar(50) | | | || mailbox | int(5)| | MUL | 0 || password| varchar(4)| | | 0 || fullname| varchar(50) | | | || email | varchar(50) | | | || pager | varchar(50) | | | || stamp | timestamp(14) | YES | | NULL|| +-+---+--+-+-++ tks Iqbal ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] voicemail.conf from DB
[EMAIL PROTECTED] wrote: Actually using voicemail from db is alot smarter then using SIP from the database. Depens how you administer your configuration files. But that is mostly due to the fact that realtime queries the database 4 times everytime it needs a sip record. Also mysql doesn't keep everything in memory at all. It only keeps stuff it needs to in memory, that it finds itself accessing alot. The algorithms are pretty damn good in mysql about what to keep in memory. I was not talking about MySQL on a single host... I was refering to MYSQL Cluster. Regards, Senad ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] voicemail.conf from DB
Preston Garrison wrote: the database. But that is mostly due to the fact that realtime queries the database 4 times everytime it needs a sip record. Also ?? I have not observed this 4 query behavior. I only see 1 query. -Matthew ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] voicemail.conf extractor?
Hi, I believe there is a script that reads the contents of voicemail.conf and goes on to send the voice e-mail messages to whatever e-mail address specified in voicemail.conf. What's the name of this script and where is it located? Thanks, Julius. ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] voicemail.conf extractor?
Hi, I believe there is a script that reads the contents of voicemail.conf and goes on to send the voice e-mail messages to whatever e-mail address specified in voicemail.conf. What's the name of this script and where is it located? Thanks, Julius. ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Voicemail.conf pin protection
Is there any way to encrypt the PIN numbers in voicemail.conf. I looked at the Wiki page for voicemail.conf but it did not mention anything about that topic. I am not using MySQL or any other thrid party database. Kurt ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Voicemail.Conf
When I specify the users voicemail can I specify more than one email address to send the recording to once its finished? Also can I set it where it only emails the voicemail recording and not stores it local to the * box? .o---o. Brian Fertig Network Engineer Planet Telecom, Inc. Tampa, FL Office 813.864.3161x107 Office 813.864.3164 Direct ___ 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
Re: [Asterisk-Users] Voicemail.Conf
Brian C. Fertig wrote: When I specify the users voicemail can I specify more than one email address to send the recording to once its finished? Also can I set it where it only emails the voicemail recording and not stores it local to the * box? Brian, What about aliases in your MTA? That seems like a pretty good way to do it. For the deletion, I think it is something like delete=yes in voicemail.conf. -- Kristian Kielhofner ___ 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
Re: [Asterisk-Users] Voicemail.Conf
just create an email address that sends to more than one mailbox (usualy done on the email server) On Fri, 17 Dec 2004 10:19:05 -0500, Brian C. Fertig [EMAIL PROTECTED] wrote: When I specify the user's voicemail can I specify more than one email address to send the recording to once its finished? Also can I set it where it only emails the voicemail recording and not stores it local to the * box? .o---o. Brian Fertig Network Engineer Planet Telecom, Inc. Tampa, FL Office 813.864.3161x107 Office 813.864.3164 Direct ___ 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 ___ 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
RE: [Asterisk-Users] voicemail.conf
I have set it on my box but it didn't work either. I have it set up like this: [mailbox number] = [password],[name],[email],delete=yes -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian West Sent: Wednesday, October 27, 2004 4:38 PM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE: [Asterisk-Users] voicemail.conf Delete=yes is a per box option. bkw -Original Message- From: [EMAIL PROTECTED] [mailto:asterisk-users- [EMAIL PROTECTED] On Behalf Of Duraid Abbas Sent: Wednesday, October 27, 2004 3:14 PM To: [EMAIL PROTECTED] Subject: [Asterisk-Users] voicemail.conf I have delete=yes and attach=yes. But my messages are not getting deleted after they're sent. I'm running asterisk as root so it can't be a permission issue. Any ideas? ___ 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 ___ 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 ___ 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
Re: [Asterisk-Users] voicemail.conf
Duraid Abbas wrote: I have set it on my box but it didn't work either. I have it set up like this: [mailbox number] = [password],[name],[email],delete=yes [mailbox number] = [password],[name],[email],[pageremail],delete=yes So, you probably want something like: 100 = 1234,Test User,[EMAIL PROTECTED],,delete=yes Regards Darryl ___ 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
RE: [Asterisk-Users] voicemail.conf
Yup, it worked. Thanks. I have another question. My fromstring is not working would you know why? But email body is working. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Darryl Ros Sent: Thursday, October 28, 2004 10:51 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] voicemail.conf Duraid Abbas wrote: I have set it on my box but it didn't work either. I have it set up like this: [mailbox number] = [password],[name],[email],delete=yes [mailbox number] = [password],[name],[email],[pageremail],delete=yes So, you probably want something like: 100 = 1234,Test User,[EMAIL PROTECTED],,delete=yes Regards Darryl ___ 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 ___ 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
[Asterisk-Users] voicemail.conf
I have delete=yes and attach=yes. But my messages are not getting deleted after they're sent. I'm running asterisk as root so it can't be a permission issue. Any ideas? ___ 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
RE: [Asterisk-Users] voicemail.conf
Delete=yes is a per box option. bkw -Original Message- From: [EMAIL PROTECTED] [mailto:asterisk-users- [EMAIL PROTECTED] On Behalf Of Duraid Abbas Sent: Wednesday, October 27, 2004 3:14 PM To: [EMAIL PROTECTED] Subject: [Asterisk-Users] voicemail.conf I have delete=yes and attach=yes. But my messages are not getting deleted after they're sent. I'm running asterisk as root so it can't be a permission issue. Any ideas? ___ 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 ___ 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
[Asterisk-Users] voicemail.conf
I have delete=yes and attach=yes. But my messages are not getting deleted after they're sent. I'm running asterisk as root so it can't be a permission issue. Any ideas? ___ 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
[Asterisk-Users] Voicemail.conf not being re-read / Updates (e.g. pin numbers) ok.
I understand that you not supposed to have to reload anything for the voicemail.conf to be updated on a running asterisk (similar to the meetme.conf). However, if I add someone to voicemail.conf, asterisk doesn't see them until I restart asterisk. I thought maybe after adding someone, that if I read my own voicemail, that the voicemail_app would fire up and re-read the thing, but that doesn't work either. Updates to the file like pin numbers work. So it's not a permissions issue. Anyone else have this issue or is there a setting I'm missing somewhere? I'm on CVS HEAD 7-29-04. ___ 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
[Asterisk-Users] voicemail.conf email notification
Hello, I am trying to change the email body and the from string sent in the voicemail notifocation mail. I have changed the entries in the voicemail.conf but I still receive the standard email template from Asterisk PBX (instead of my from) and [PBX]: in the subject. Can anyone help me out in customizing the email notification ? Thanks in advace. Dave ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] voicemail.conf email notification
Dawid Mielnik wrote: Hello, I am trying to change the email body and the from string sent in the voicemail notifocation mail. I have changed the entries in the voicemail.conf but I still receive the standard email template from Asterisk PBX (instead of my from) and [PBX]: in the subject. Can anyone help me out in customizing the email notification ? cd /path/to/asterisk vi apps/app_voicemail2.c Jeremy McNamara ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] voicemail.conf email notification
Jeremy, So the only way is to change the voicemailcode and recompile ? the flexible - uncomment these lines does will never work ? thnx. Dave -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jeremy McNamara Sent: Monday, December 15, 2003 5:33 PM To: [EMAIL PROTECTED] Subject: Re: [Asterisk-Users] voicemail.conf email notification Dawid Mielnik wrote: Hello, I am trying to change the email body and the from string sent in the voicemail notifocation mail. I have changed the entries in the voicemail.conf but I still receive the standard email template from Asterisk PBX (instead of my from) and [PBX]: in the subject. Can anyone help me out in customizing the email notification ? cd /path/to/asterisk vi apps/app_voicemail2.c Jeremy McNamara ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] voicemail.conf email notification
Hi! I am trying to change the email body and the from string sent in the voicemail notifocation mail. I have changed the entries in the voicemail.conf but I still receive the standard email template from Asterisk PBX (instead of my from) and [PBX]: in the subject. I know *that* problem, it *is* confusing indeed. From what I saw during past tests is that you should not have a serveremail option in your personal mailbox definition in voicemail.conf - if you do, then the standard message will be sent no matter what you defined above for from and body. You might also want to test if new voicemail users see a different notification message, I never got around to that... Cheers, Philipp ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Voicemail.conf in MySQL is not functioning
Hi, Here is the error from Asterisk messages log file that I forgot to put in. Voicemail.conf in MySQL is not functioning where I get the following error from Asterisk messages log file: Oct 25 10:55:11 WARNING[19474]: File app_voicemail2.c, Line 2388 (vm_execmain): Couldn't read username CLI debug output is as follows: Executing VoiceMailMain2(SIP/2205-3df0, ) in new stack -- Playing 'vm-login' -- Playing 'vm-password' -- Incorrect password '1234' for user '0' (context = any) -- Playing 'vm-incorrect' -- Playing 'vm-password' -- Incorrect password '2421' for user '2205' (context = any) -- Playing 'vm-incorrect' Here are my configs In extensions.conf I am using Voicemail2 and VoiceMailMain2 that has support for MySQL exten = 8500,1,VoiceMailMain2 In voicemail.conf I have the MySQL connectivity settings in [general] dbhost=localhost dbname=asterisk dbuser=someuser dbpass=somepass As well in voicemail.conf I have commented out the entire [default] section, and mailboxes. I do have MySQL working with CDR MySQL from asterisk-addons thanks, John Haigh ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Voicemail.conf in MySQL is not functioning
Voicemail.conf in MySQL is not functioning where I get the following error from Asterisk messages log file: CLI debug output is as follows: Executing VoiceMailMain2("SIP/2205-3df0", "") in new stack -- Playing 'vm-login' -- Playing 'vm-password' -- Incorrect password '1234' for user '0' (context = any) -- Playing 'vm-incorrect' -- Playing 'vm-password' -- Incorrect password '2421' for user '2205' (context = any) -- Playing 'vm-incorrect' Here are my configs In extensions.conf I am using Voicemail2 and VoiceMailMain2 that has support for MySQL exten = 8500,1,VoiceMailMain2 In voicemail.conf I have the MySQL connectivity settings in [general] dbhost=localhost dbname=asterisk dbuser=someuser dbpass=somepass I have commented out the entire [default] section and it's mailboxes. I do have MySQL working with CDR MySQL from asterisk-addons thanks, John Haigh