Paste your extensions.conf section that is relevant. -Matthew ----- Original Message ----- From: "Greg - Cirelle Enterprises" <gcirino@cirelle.com> To: <asterisk-dev@lists.digium.com> Sent: Monday, December 27, 2004 4:32 PM Subject: [Asterisk-Dev] realtime voicemail> Let me clarify my last message. > > If I put in the wrong password I get polled > again for the password. When I put in the > correct password, the system errors and returns > an incorrect password message, which is due to > asterisk doing a sql query using the callerid > and not the mailbox. > > > > Regards > Greg Cirino > > > _______________________________________________ > Asterisk-Dev mailing list > Asterisk-Dev@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-dev > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-dev
i tried to setup realtime voicemail recently with 1.2.1 but couldn't get it to work. no matter what i do. it still looks for config in the voicemail.conf file. (BTW realtime sip & extensions works fine) here's the voicemail line in extconfig.conf: voicemail => mysql,asterisk,voicemail here's the mysql schema: CREATE TABLE voicemail ( uniqueid int(11) NOT NULL auto_increment, customer_id bigint NOT NULL default '0', context varchar(50) NOT NULL default '', mailbox bigint NOT NULL default '0', password varchar(10) NOT NULL default '0', fullname varchar(50) NOT NULL default '', email varchar(50) NOT NULL default '', pager varchar(50) NOT NULL default '', stamp timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, attach varchar(3) NOT NULL default 'yes', saycid varchar(3) NOT NULL default 'yes', hidefromdir varchar(3) NOT NULL default 'no', PRIMARY KEY (uniqueid), KEY mailbox_context (mailbox,context) ) TYPE=MyISAM; am i missing something? -- __ Edwin Lam <edwin@officegeneral.com> __________________________ __ Systems Engineer, Office General, Inc. ________________________ __ Ph: +1 415 439 4988 Fax: +1 415 283 3370 ______________________ __ http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xEF11A895 __
asterisk-users-bounces@lists.digium.com wrote:> On Monday 16 January 2006 09:02, elam@officegeneral.com wrote: > Put in voicemail.conf searchcontexts=yes > and do not forget to stop and start *. > Reload may not do. > benchevThat's not a solution, but just a workaround. 1.2.1 has a bug where it always uses an empty context when searching for a mailbox when using realtime config. At around line 546 of apps/app_voicemail.c there is a line that says var = ast_load_realtime("voicemail", "mailbox", mailbox, "context", retval->context, NULL); Change it to var = ast_load_realtime("voicemail", "mailbox", mailbox, "context", context, NULL); Then recompile and contexts will work.
I'm noticing that the documentation on the voip wiki for voicemail and realtime voicemail hasn't kept up with reality. I just created a column called maxmsg in my table. I set it to 1 for the user. I can leave more than once voicemail message. Why? Doug.
> -----Original Message----- > From: Douglas Garstang > Sent: Tuesday, June 27, 2006 11:55 AM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: [Asterisk-Users] Realtime Voicemail > > > I'm noticing that the documentation on the voip wiki for > voicemail and realtime voicemail hasn't kept up with reality. > > I just created a column called maxmsg in my table. I set it > to 1 for the user. I can leave more than once voicemail message. > Why?Weird. Maxmsg suddenly worked on the next call. I tried setting maxlogins for the user to 1, and it's letting me put the wrong pin in 3 times before disconnecting me. What am I missing here? Are the supported options documented somewhere, that matches up with what's really in the code? Doug.
> -----Original Message----- > From: Michiel van Baak [mailto:michiel@vanbaak.info] > Sent: Tuesday, June 27, 2006 12:21 PM > To: asterisk-users@lists.digium.com > Subject: Re: [Asterisk-Users] Realtime Voicemail > > > On 12:13, Tue 27 Jun 06, Douglas Garstang wrote: > > > -----Original Message----- > > > From: Douglas Garstang > > > Sent: Tuesday, June 27, 2006 11:55 AM > > > To: Asterisk Users Mailing List - Non-Commercial Discussion > > > Subject: [Asterisk-Users] Realtime Voicemail > > > > > > > > > I'm noticing that the documentation on the voip wiki for > > > voicemail and realtime voicemail hasn't kept up with reality. > > > > > > I just created a column called maxmsg in my table. I set it > > > to 1 for the user. I can leave more than once voicemail message. > > > Why? > > > > Weird. Maxmsg suddenly worked on the next call. I tried > setting maxlogins for the user to 1, and it's letting me put > the wrong pin in 3 times before disconnecting me. What am I > missing here? Are the supported options documented somewhere, > that matches up with what's really in the code? > > Do you cache realtime stuff ? > If so, that would explain itI wasn't aware that realtime voicemail supported caching. I knew sip.conf did, but voicemail? How does that work? I just tried setting 'format' and 'sendvoicemail' in the users database row. No effect. BUT... maxmsg DOES work... I don't understand. Doug.
> -----Original Message----- > From: Douglas Garstang > Sent: Tuesday, June 27, 2006 12:14 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: RE: [Asterisk-Users] Realtime Voicemail > > > > -----Original Message----- > > From: Douglas Garstang > > Sent: Tuesday, June 27, 2006 11:55 AM > > To: Asterisk Users Mailing List - Non-Commercial Discussion > > Subject: [Asterisk-Users] Realtime Voicemail > > > > > > I'm noticing that the documentation on the voip wiki for > > voicemail and realtime voicemail hasn't kept up with reality. > > > > I just created a column called maxmsg in my table. I set it > > to 1 for the user. I can leave more than once voicemail message. > > Why? > > Weird. Maxmsg suddenly worked on the next call. I tried > setting maxlogins for the user to 1, and it's letting me put > the wrong pin in 3 times before disconnecting me. What am I > missing here? Are the supported options documented somewhere, > that matches up with what's really in the code?Oh man, this is some freaky stuff. I commented out 'format=wav49|gsm|wav' in voicemail.conf and did a reload. I set the format field to the user to 'gsm'. And... Asterisk record a wav file. Huh? Doug.