Re: [asterisk-users] Realtime Voicemail MWI
>From SIP-debug output I have a little more information. In one case the first subscribe after a restart was rejected: SIP/2.0 481 Call/Transaction Does Not Exist Later subscribes from the same phone needed authentication and after this where rejected: SIP/2.0 404 Not found (no mailbox) There seems to be another problem. Even if the mailbox information is available, the phones are not notified immediatly when a new voicemail has arrived. The notification is delayed until the phone subscribes again. -- Stefan Tichy ( asterisk3 at pi4tel dot de ) -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Realtime Voicemail MWI
I'm bone stock except for the following global(s). rtcachefriends=yes limitonpeers=yes allowsubscribe=yes notifyringing=yes notifyhold=yes notifybusy=yes My Sip Table looks like (Sorry, Hard to read, Note the 207@103 mailbox setting. 90103_14"Nick" <321XXX>103_14 SECRETPASS 103_internalnorfc2833dynamic port,invite207@103force_rport,comedia yes9001300friendallulaw0yes0 2070 And my voicemail table (Hard to read as well) 98207103207PASSNickcentralnoyes nononono1nonoyesnonoyes 2015-08-17 15:22:09yesno4 25 Forcing a reload from the DB with the Prune>Load method loads the mailbox about 20% of the time Named Callgr : Nam. Pickupgr: MOH Suggest : Mailbox : VM Extension : asterisk LastMsgsSent : 1/0 Call limit : 0 Max forwards : 0 Dynamic : Yes Callerid : "Nick" <321XXX> Nick Olsen Network Operations (855) FLSPEED x106 From: "Stefan Tichy" <asteri...@pi4tel.de> Sent: Sunday, September 20, 2015 9:28 AM To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] Realtime Voicemail MWI On Wed, Sep 16, 2015 at 04:44:45PM -0400, Nick Olsen wrote: > I've got SIP Peers in realtime. All with a mailbox set. 98% of the time, > These are loaded into asterisk without the mailbox info. Leading to > "Received SIP subscribe for peer without mailbox" notices. And non-working > MWI. > > Occasionally, It just works. But only on a peer or two at a time. And > it'll stop working after a few minutes. Here it seems to be the other way round. Occasionally I see that peers have lost there mailbox setting and don't get notify messages with voicemail information. It is Asterisk 13.5.0 "sip prune realtime peer ..." "sip show peer ... load" After this the setting is restored, but until now I have no idea why this happens. The database field mailbox remains unchanged. Could you post the Realtime SIP Settings? -- Stefan Tichy ( asterisk3 at pi4tel dot de ) -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello 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 -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Realtime Voicemail MWI
On Wed, Sep 16, 2015 at 04:44:45PM -0400, Nick Olsen wrote: > I've got SIP Peers in realtime. All with a mailbox set. 98% of the time, > These are loaded into asterisk without the mailbox info. Leading to > "Received SIP subscribe for peer without mailbox" notices. And non-working > MWI. > > Occasionally, It just works. But only on a peer or two at a time. And > it'll stop working after a few minutes. Here it seems to be the other way round. Occasionally I see that peers have lost there mailbox setting and don't get notify messages with voicemail information. It is Asterisk 13.5.0 "sip prune realtime peer ..." "sip show peer ... load" After this the setting is restored, but until now I have no idea why this happens. The database field mailbox remains unchanged. Could you post the Realtime SIP Settings? -- Stefan Tichy ( asterisk3 at pi4tel dot de ) -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Realtime Voicemail MWI
Hi Nick, did you set-up also Voicemail boxes in Realtime ? Michele Il 16/09/2015 22:44, Nick Olsen ha scritto: > Greetings All, Regarding this archived > post. > http://lists.digium.com/pipermail/asterisk-users/2014-November/285169.html > > Did anyone ever find an solution to this? I've got a new box running > 13.3.0 with the exact same issue. > > For those that don't read the link. > > I've got SIP Peers in realtime. All with a mailbox set. 98% of the > time, These are loaded into asterisk without the mailbox info. Leading > to "Received SIP subscribe for peer without mailbox" notices. And > non-working MWI. > > Occasionally, It just works. But only on a peer or two at a time. And > it'll stop working after a few minutes. > > Any ideas? Thanks > > -- Michele Pinassi Responsabile Telefonia di Ateneo Servizio Reti, Sistemi e Sicurezza Informatica - Università degli Studi di Siena tel: 0577.(23)5000 - fax: 0577.(23)2053 Per trovare una soluzione rapida ai tuoi problemi tecnici consulta le FAQ di Ateneo, http://www.faq.unisi.it signature.asc Description: OpenPGP digital signature -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Realtime Voicemail MWI
Yes, They are. Nick Olsen Network Operations (855) FLSPEED x106 From: "Michele Pinassi" <michele.pina...@unisi.it> Sent: Thursday, September 17, 2015 3:07 AM To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] Realtime Voicemail MWI Hi Nick, did you set-up also Voicemail boxes in Realtime ? Michele Il 16/09/2015 22:44, Nick Olsen ha scritto: Greetings All, Regarding this archived post. http://lists.digium.com/pipermail/asterisk-users/2014-November/285169.html Did anyone ever find an solution to this? I've got a new box running 13.3.0 with the exact same issue. For those that don't read the link. I've got SIP Peers in realtime. All with a mailbox set. 98% of the time, These are loaded into asterisk without the mailbox info. Leading to "Received SIP subscribe for peer without mailbox" notices. And non-working MWI. Occasionally, It just works. But only on a peer or two at a time. And it'll stop working after a few minutes. Any ideas? Thanks -- Michele Pinassi Responsabile Telefonia di Ateneo Servizio Reti, Sistemi e Sicurezza Informatica - Università degli Studi di Siena tel: 0577.(23)5000 - fax: 0577.(23)2053 Per trovare una soluzione rapida ai tuoi problemi tecnici consulta le FAQ di Ateneo, http://www.faq.unisi.it -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Realtime Voicemail MWI
Greetings All, Regarding this archived post. http://lists.digium.com/pipermail/asterisk-users/2014-November/285169.html Did anyone ever find an solution to this? I've got a new box running 13.3.0 with the exact same issue. For those that don't read the link. I've got SIP Peers in realtime. All with a mailbox set. 98% of the time, These are loaded into asterisk without the mailbox info. Leading to "Received SIP subscribe for peer without mailbox" notices. And non-working MWI. Occasionally, It just works. But only on a peer or two at a time. And it'll stop working after a few minutes. Any ideas? Thanks Nick Olsen Network Operations (855) FLSPEED x106 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] realtime voicemail asterisk 11
Hi list, I'm trying to put my voicemail on asterisk realtime with 11.XX, generate tables in a couple of files in the folder realtime / mysql , voicemail_messages.sql and voicemail.sql the connection with mysql and odbc works well isql asterisk useradmin xxx +---+ | Connected!| | | | sql-statement | | help [tablename] | | quit | | | +---+ [Oct 14 10:06:16] WARNING[10037][C-0003]: res_odbc.c:645 ast_odbc_prepare_and_execute: SQL Execute returned an error -1: 42S02: [MySQL][ODBC 5.2(w) Driver][mysqld-5.6.12]Table 'asterisk.voicemessages' doesn't exist (86) [Oct 14 10:06:16] WARNING[10037][C-0003]: res_odbc.c:657 ast_odbc_prepare_and_execute: SQL Execute error -1! Verifying connection to asterisk [asterisk]... [Oct 14 10:06:16] WARNING[10037][C-0003]: res_odbc.c:761 ast_odbc_sanity_check: Connection is down attempting to reconnect... [Oct 14 10:06:16] NOTICE[10037][C-0003]: res_odbc.c:1527 odbc_obj_connect: Connecting asterisk [Oct 14 10:06:16] NOTICE[10037][C-0003]: res_odbc.c:1559 odbc_obj_connect: res_odbc: Connected to asterisk [asterisk] [Oct 14 10:06:16] WARNING[10037][C-0003]: app_voicemail.c:5609 messagecount: SQL Execute error! any help is appreciated! -- rickygm http://gnuforever.homelinux.com -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] realtime voicemail asterisk 11
On Mon, Oct 14, 2013 at 11:13 AM, troxlinux xserverli...@gmail.com wrote: Hi list, I'm trying to put my voicemail on asterisk realtime with 11.XX, generate tables in a couple of files in the folder realtime / mysql , voicemail_messages.sql and voicemail.sql the connection with mysql and odbc works well isql asterisk useradmin xxx +---+ | Connected!| | | | sql-statement | | help [tablename] | | quit | | | +---+ [Oct 14 10:06:16] WARNING[10037][C-0003]: res_odbc.c:645 ast_odbc_prepare_and_execute: SQL Execute returned an error -1: 42S02: [MySQL][ODBC 5.2(w) Driver][mysqld-5.6.12]Table 'asterisk.voicemessages' doesn't exist (86) [Oct 14 10:06:16] WARNING[10037][C-0003]: res_odbc.c:657 ast_odbc_prepare_and_execute: SQL Execute error -1! Verifying connection to asterisk [asterisk]... [Oct 14 10:06:16] WARNING[10037][C-0003]: res_odbc.c:761 ast_odbc_sanity_check: Connection is down attempting to reconnect... [Oct 14 10:06:16] NOTICE[10037][C-0003]: res_odbc.c:1527 odbc_obj_connect: Connecting asterisk [Oct 14 10:06:16] NOTICE[10037][C-0003]: res_odbc.c:1559 odbc_obj_connect: res_odbc: Connected to asterisk [asterisk] [Oct 14 10:06:16] WARNING[10037][C-0003]: app_voicemail.c:5609 messagecount: SQL Execute error! Could you post a sanitized version of your res_config_mysql.conf and extconfig.conf files? I'm thinking maybe you've got an error in there somewhere that's causing this error. -- Thanks, Warren Selby, dCAP http://www.SelbyTech.com http://www.selbytech.com -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] realtime voicemail asterisk 11
res_config_mysql [general] dbhost = 127.0.0.1 dbname = asterisk dbuser = root dbpass = x dbport = 3306 dbsock = /var/lib/mysql/mysql.sock extconfig.conf voicemail= mysql,asterisk,voicemail_messages right now I'm around trying to rename the table voicemail_messages by asterisk.voicemessages 2013/10/14 Warren Selby wcse...@selbytech.com On Mon, Oct 14, 2013 at 11:13 AM, troxlinux xserverli...@gmail.comwrote: Hi list, I'm trying to put my voicemail on asterisk realtime with 11.XX, generate tables in a couple of files in the folder realtime / mysql , voicemail_messages.sql and voicemail.sql the connection with mysql and odbc works well isql asterisk useradmin xxx +---+ | Connected!| | | | sql-statement | | help [tablename] | | quit | | | +---+ [Oct 14 10:06:16] WARNING[10037][C-0003]: res_odbc.c:645 ast_odbc_prepare_and_execute: SQL Execute returned an error -1: 42S02: [MySQL][ODBC 5.2(w) Driver][mysqld-5.6.12]Table 'asterisk.voicemessages' doesn't exist (86) [Oct 14 10:06:16] WARNING[10037][C-0003]: res_odbc.c:657 ast_odbc_prepare_and_execute: SQL Execute error -1! Verifying connection to asterisk [asterisk]... [Oct 14 10:06:16] WARNING[10037][C-0003]: res_odbc.c:761 ast_odbc_sanity_check: Connection is down attempting to reconnect... [Oct 14 10:06:16] NOTICE[10037][C-0003]: res_odbc.c:1527 odbc_obj_connect: Connecting asterisk [Oct 14 10:06:16] NOTICE[10037][C-0003]: res_odbc.c:1559 odbc_obj_connect: res_odbc: Connected to asterisk [asterisk] [Oct 14 10:06:16] WARNING[10037][C-0003]: app_voicemail.c:5609 messagecount: SQL Execute error! Could you post a sanitized version of your res_config_mysql.conf and extconfig.conf files? I'm thinking maybe you've got an error in there somewhere that's causing this error. -- Thanks, Warren Selby, dCAP http://www.SelbyTech.com http://www.selbytech.com -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- rickygm http://gnuforever.homelinux.com -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] realtime voicemail asterisk 11
On Mon, Oct 14, 2013 at 12:19 PM, troxlinux xserverli...@gmail.com wrote: res_config_mysql [general] dbhost = 127.0.0.1 dbname = asterisk dbuser = root dbpass = x dbport = 3306 dbsock = /var/lib/mysql/mysql.sock extconfig.conf voicemail= mysql,asterisk,voicemail_messages First issue I see - you've got the context named [general] in res_config_mysql, but you're attempting to connect to asterisk in extconfig.conf (mysql,*asterisk*,voicemail_messages). The second item in extconfig.conf should match the database context name in res_config_mysql. So either fix res_config_mysql by changing [general] to [asterisk], or fix extconfig.conf by changing the line to voicemail = mysql,general,voicemail_messages. Make whichever change you prefer (I would make the change in res_config_mysql.conf personally, but it's up to you), and then reload asterisk to see if that resolves the error. Otherwise, post whatever you're new error is. -- Thanks, Warren Selby, dCAP http://www.SelbyTech.com http://www.selbytech.com -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] realtime voicemail asterisk 11
thnk Warren , I only see one warning message [Oct 14 13:12:14] WARNING[2736][C-]: app_voicemail.c:3768 retrieve_file: SQL Get Data error! coltitle=category [SELECT * FROM voicemessages WHERE dir=? AND msgnum=?] 2013/10/14 Warren Selby wcse...@selbytech.com On Mon, Oct 14, 2013 at 12:19 PM, troxlinux xserverli...@gmail.comwrote: res_config_mysql [general] dbhost = 127.0.0.1 dbname = asterisk dbuser = root dbpass = x dbport = 3306 dbsock = /var/lib/mysql/mysql.sock extconfig.conf voicemail= mysql,asterisk,voicemail_messages First issue I see - you've got the context named [general] in res_config_mysql, but you're attempting to connect to asterisk in extconfig.conf (mysql,*asterisk*,voicemail_messages). The second item in extconfig.conf should match the database context name in res_config_mysql. So either fix res_config_mysql by changing [general] to [asterisk], or fix extconfig.conf by changing the line to voicemail = mysql,general,voicemail_messages. Make whichever change you prefer (I would make the change in res_config_mysql.conf personally, but it's up to you), and then reload asterisk to see if that resolves the error. Otherwise, post whatever you're new error is. -- Thanks, Warren Selby, dCAP http://www.SelbyTech.com http://www.selbytech.com -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- rickygm http://gnuforever.homelinux.com -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] realtime voicemail asterisk 11
On Mon, Oct 14, 2013 at 2:15 PM, troxlinux xserverli...@gmail.com wrote: thnk Warren , I only see one warning message [Oct 14 13:12:14] WARNING[2736][C-]: app_voicemail.c:3768 retrieve_file: SQL Get Data error! coltitle=category [SELECT * FROM voicemessages WHERE dir=? AND msgnum=?] I'm not sure on this. Hopefully someone else can help. -- Thanks, Warren Selby, dCAP http://www.SelbyTech.com http://www.selbytech.com -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] realtime voicemail asterisk 11
ok , thnk Warren , your help has been invaluable. 2013/10/14 Warren Selby wcse...@selbytech.com On Mon, Oct 14, 2013 at 2:15 PM, troxlinux xserverli...@gmail.com wrote: thnk Warren , I only see one warning message [Oct 14 13:12:14] WARNING[2736][C-]: app_voicemail.c:3768 retrieve_file: SQL Get Data error! coltitle=category [SELECT * FROM voicemessages WHERE dir=? AND msgnum=?] I'm not sure on this. Hopefully someone else can help. -- Thanks, Warren Selby, dCAP http://www.SelbyTech.com http://www.selbytech.com -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- rickygm http://gnuforever.homelinux.com -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] RealTime Voicemail
I am using Asterisk 1.4.36 with Realtime Voicemail from a MySQL database, and whilst I have it all working, I am unable to find a way to customize the content of the email that gets sent to a user when they receive a voicemail. In the past I just edited it in the voicemail.conf file and made the customizations in there, but now that I am using Realtime voicemail from MySQL, my voicemail.conf file has to be an empty file. So does anyone know how it would be possible for me to customize the content of the email, other than hacking the source? Cheers, Brad Hughes -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] realtime voicemail and imap user
Hi,Does anyone know which database columns I would use to configure the imap user/password in a Realtime voicemail table?Todd ___ -- 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] Realtime Voicemail Password Change Not Working
Hi All, I'm using asterisk 1.2.9.1 and mysql 3.23, asterisk add-ons 1.2.3. All seems to work normally with realtime voicemail, reads vmbox parameters from the db fine. When I try to change the password, asterisk operates normally, enter new password ok, re-enter new password ok, password has been changed There are no entries in the mysql.log setting the new password in the database. How can I isolate between asterisk, realtime driver, and mysql? Thanks. JR -- JR Richardson Engineering for the Masses ___ --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] Realtime Voicemail Table Column Name Question
Hi All, In the realtime voicemail table the column 'customer_id' is used, for my purpose, to specify the customers accountcode. The column name 'accountcode' is used in the iax and sip tables. To keep this consistent throughout the tables, is there any reason I should NOT switch the column name 'customer_id' to 'accountcode' in the voicemail table? Does Asterisk read from the 'customer_id' column for anything? Is the name particular and need to remain 'customer_id' for any reason? Thanks. JR -- JR Richardson Engineering for the Masses ___ --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] Realtime voicemail passwords
I've been looking through everything I can find and observing the mysql logs and I don't see password changes passing through to the DB. Is that correct? -- One day at a time, one second if that's what it takes ___ --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] Realtime voicemail passwords
Bruce Ferrell wrote: I've been looking through everything I can find and observing the mysql logs and I don't see password changes passing through to the DB. Is that correct? Works fine for me with 1.2.14. Trevor ___ --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] Realtime Voicemail
maxlogins =3D 3; if ((s =3D ast_variable_retrieve(cfg, general, maxlogins))) { if (sscanf(s, %d, x) =3D=3D 1) { maxlogins =3D x; } else { ast_log(LOG_WARNING, Invalid max failed login attempts\n); } } And yes, that should be documented somewhere... not a bad option to see about writing in for a per user setting :) Douglas Garstang wrote: -Original Message- From: Douglas Garstang=20 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=20 voicemail and realtime voicemail hasn't kept up with reality. I just created a column called maxmsg in my table. I set it=20 to 1 for the user. I can leave more than once voicemail message. Why? =20 Weird. Maxmsg suddenly worked on the next call. I tried setting maxlogi= ns for the user to 1, and it's letting me put the wrong pin in 3 times be= fore disconnecting me. What am I missing here? Are the supported options = documented somewhere, that matches up with what's really in the code? =20 Doug. ___ --Bandwidth and Colocation provided by Easynews.com -- =20 Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users signature.asc Description: OpenPGP digital signature ___ --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] 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? Doug. ___ --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] 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? Doug. ___ --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] 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 it -- 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] Realtime Voicemail
-Original Message- From: Michiel van Baak [mailto:[EMAIL PROTECTED] 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 it I 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. ___ --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] Realtime Voicemail
-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. ___ --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] Realtime Voicemail
On 12:26, Tue 27 Jun 06, Douglas Garstang wrote: I 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. Looks like I was reading with my eyes closed. I dont recal realtime voicemail using caching. Sorry. Looks like you found an issue here. Sorry I cannot help 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
[Asterisk-Users] Realtime Voicemail Broken?
What's up with realtime voicemail? I have been going thtough and testing each feature that can be set as a column in the db, one by one. Some do work, and some don't. Here's some I have found that do work: delete envelope maxmsg review saycid and here's some that simply don't work: attach (emails sentif there is something in the email field) maxsilence (docs say the default is 0/off, but the default is 10s) maxmessage minmessage maxlogins (how hard can this be?) pbxskip Has anyone got any idea on this? Doug. -Original Message-From: Andrew Nowrot [mailto:[EMAIL PROTECTED]Sent: Tuesday, June 27, 2006 2:12 PMTo: Asterisk Users Mailing List - Non-Commercial DiscussionSubject: Re: [Asterisk-Users] Call length limitationOn 6/27/06, William Piper [EMAIL PROTECTED] wrote: Well, It was worth a shot. Perhaps doing a some variation of the HANGUPCAUSE variable. http://www.voip-info.org/wiki/index.php?page=Asterisk+variable+hangupcause exten = x,2,Dial(Sip/|30|gL(6:3:1)) exten = x,3,GoToIf($["${HANGUPCAUSE}" != "1"]?4:10)exten = x,4,DeadAGI() exten = x,10,hangup()I will do that first thing in the morning (now it's getting late) and of course send the results to the list. Cheers ___ --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] Realtime voicemail not working
Hi, I've been using MySql with the CDR for awhile with no issues at all, but I figured I'd try putting voicemail users in a DB. Using the same DB (very low load), and a user that has been proven to work well using a client GUI, I inserted one user and tried to use realtime. This is what I get in the console: ERROR[30517]: res_config_mysql.c:615 mysql_reconnect: MySQL RealTime: Failed to connect database server asterisk on localhost. Check debug for more info. I am using 1.2.4. Where should I look for more detailed explanation than failed to connect? Mike ___ --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] Realtime voicemail not working
2006/6/23, Mike [EMAIL PROTECTED]: Hi,I've been using MySql with the CDR for awhile with no issues at all, but Ifigured I'd try putting voicemail users in a DB.Using the same DB (verylow load), and a user that has been proven to work well using a client GUI, I inserted one user and tried to use realtime.This is what I get in theconsole:ERROR[30517]: res_config_mysql.c:615 mysql_reconnect: MySQL RealTime: Failedto connect database server asterisk on localhost. Check debug for more info. What's in your res_mysql.conf file? You need to place the connection settings there like you did in cdr_mysql.conf. If you still get errors, start asterisk using the -d option and check /var/log/asterisk. Also check logger.conf to make sure debugging is enabled. ___ --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] Realtime voicemail not working
That is what I have in my config file. Pretty much the same thing as the CDR file [general]dbhost=localhostdbname=dbdbuser=userdbpass=pw;dbport=3306;dbsock = /tmp/mysql.sock Mike From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Benjamin StockerSent: June 23, 2006 9:07 AMTo: Asterisk Users Mailing List - Non-Commercial DiscussionSubject: Re: [Asterisk-Users] Realtime voicemail not working 2006/6/23, Mike [EMAIL PROTECTED]: Hi,I've been using MySql with the CDR for awhile with no issues at all, but Ifigured I'd try putting voicemail users in a DB.Using the same DB (verylow load), and a user that has been proven to work well using a client GUI, I inserted one user and tried to use realtime.This is what I get in theconsole:ERROR[30517]: res_config_mysql.c:615 mysql_reconnect: MySQL RealTime: Failedto connect database server asterisk on localhost. Check debug for more info. What's in your res_mysql.conf file? You need to place the connection settings there like you did in cdr_mysql.conf. If you still get errors, start asterisk using the -d option and check /var/log/asterisk. Also check logger.conf to make sure debugging is enabled. ___ --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] Realtime voicemail not working
Weird. I just tried with 127.0.0.1 instead of localhost and it worked. Can't explain why How can I force it to go through a db socket instead? Mike From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Benjamin StockerSent: June 23, 2006 9:07 AMTo: Asterisk Users Mailing List - Non-Commercial DiscussionSubject: Re: [Asterisk-Users] Realtime voicemail not working 2006/6/23, Mike [EMAIL PROTECTED]: Hi,I've been using MySql with the CDR for awhile with no issues at all, but Ifigured I'd try putting voicemail users in a DB.Using the same DB (verylow load), and a user that has been proven to work well using a client GUI, I inserted one user and tried to use realtime.This is what I get in theconsole:ERROR[30517]: res_config_mysql.c:615 mysql_reconnect: MySQL RealTime: Failedto connect database server asterisk on localhost. Check debug for more info. What's in your res_mysql.conf file? You need to place the connection settings there like you did in cdr_mysql.conf. If you still get errors, start asterisk using the -d option and check /var/log/asterisk. Also check logger.conf to make sure debugging is enabled. ___ --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] Realtime voicemail not working
2006/6/23, Mike [EMAIL PROTECTED]: That is what I have in my config file. Pretty much the same thing as the CDR file [general]dbhost=localhostdbname=dbdbuser=userdbpass=pw;dbport=3306 ;dbsock = /tmp/mysql.sock In logger.conf, enable debug mode: debug = notice,warning,error,debug,verboseStart asterisk in debug mode: asterisk -d Check /var/log/asterisk/debug, you should see more details about the connection problem there. ___ --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] Realtime voicemail not working
I think you just comment out dbhost statement and leave the dbsock statement in, and it assumes its a localhost connection on the socket specified. Cheers, Adam From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Sent: 23 June 2006 14:51 To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE: [Asterisk-Users] Realtime voicemail not working Weird. I just tried with 127.0.0.1 instead of localhost and it worked. Can't explain why How can I force it to go through a db socket instead? Mike From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Benjamin Stocker Sent: June 23, 2006 9:07 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Realtime voicemail not working 2006/6/23, Mike [EMAIL PROTECTED]: Hi, I've been using MySql with the CDR for awhile with no issues at all, but I figured I'd try putting voicemail users in a DB.Using the same DB (very low load), and a user that has been proven to work well using a client GUI, I inserted one user and tried to use realtime.This is what I get in the console: ERROR[30517]: res_config_mysql.c:615 mysql_reconnect: MySQL RealTime: Failed to connect database server asterisk on localhost. Check debug for more info. What's in your res_mysql.conf file? You need to place the connection settings there like you did in cdr_mysql.conf. If you still get errors, start asterisk using the -d option and check /var/log/asterisk. Also check logger.conf to make sure debugging is enabled. ___ --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] realtime voicemail
On Monday 16 January 2006 09:02, [EMAIL PROTECTED] wrote: 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; Put in voicemail.conf searchcontexts=yes and do not forget to stop and start *. Reload may not do. benchev ___ --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] realtime voicemail
[EMAIL PROTECTED] wrote: On Monday 16 January 2006 09:02, [EMAIL PROTECTED] wrote: Put in voicemail.conf searchcontexts=yes and do not forget to stop and start *. Reload may not do. benchev That'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. ___ --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] realtime voicemail
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 [EMAIL PROTECTED] __ __ Systems Engineer, Office General, Inc. __ Ph: +1 415 439 4988 Fax: +1 415 283 3370 __ __ http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xEF11A895 __ ___ --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] realtime voicemail
On Sun, 2006-01-15 at 23:02 -0800, [EMAIL PROTECTED] wrote: 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? That looks like the minimal config... Something I found out was that I need to set the context = '' for it to work. I was using default, but for some reason I could never get that to work. Perhaps it is a bug? Steve ___ --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] Realtime Voicemail mailcmd=
Hello, I need to alter the sendmail flags on my asterisk box so that I may define the reply address, and I read in the app_voicemail.c file that it can done in voicemail.conf /* Default mail command to mail voicemail. Change it with the mailcmd= command in voicemail.conf */ #define SENDMAIL /usr/sbin/sendmail -t I'm using Realtime, so my voicemail.conf file is empty. Changing the source would be simply enough, but I'd rather do it the right way. Any advice is appreciated! Niles ___ --Bandwidth and Colocation sponsored by Easynews.com -- 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] Realtime voicemail login incorrect
Adam Goryachev wrote: On Thu, 2005-05-12 at 07:35 +0800, Ronald Wiplinger wrote: I have two ways to go to the voicemail box, either by dialing 8500 from the phone which received the voicemail (without a password) or from another phone by dialing 8501 and key in the mailbox and the password. However, with Realtime the password will be rejected as login incorrect. What do I miss? exten = 8500,1,VoicemailMain(s${CALLERIDNUM}) exten = 8500,2,hangup exten = 8501,1,VoicemailMain exten = 8501,2,hangup AFAIK, you *must* specify the context when using realtime, even if the context is default. Change the above to: exten = 8500,1,VoicemailMain([EMAIL PROTECTED]) exten = 8500,2,hangup exten = 8501,1,VoicemailMain(@default) exten = 8501,2,hangup Or something like that I assume. Regards, Adam Adam, it seems you are right, you need the context there, but than I cannot use it in Realtime anymore, since I have more than one context, .. I would than need for each context an extra extension number. It makes no sense either, since one phone number should have anyway only ONE context, or could be there a case that one could have more than one context? bye Ronald ___ 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] Realtime voicemail login incorrect
it seems you are right, you need the context there, but than I cannot use it in Realtime anymore, since I have more than one context Why would having more than one context stop you fomr using RealTime? Doesn't stop us. I would than need for each context an extra extension number. It makes no sense either, since one phone number should have anyway only ONE context, or could be there a case that one could have more than one context? Uh..no..I've got about 5 different instances of the extension 3113. They are all in different contexts. Contexts (for us at least) are broken into customers. Each context has specific extensions for their company. All have their own VoiceMailMain entry. Pretty easy. -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] Realtime voicemail login incorrect
I have two ways to go to the voicemail box, either by dialing 8500 from the phone which received the voicemail (without a password) or from another phone by dialing 8501 and key in the mailbox and the password. However, with Realtime the password will be rejected as login incorrect. What do I miss? exten = 8500,1,VoicemailMain(s${CALLERIDNUM}) exten = 8500,2,hangup exten = 8501,1,VoicemailMain exten = 8501,2,hangup uniqueid 1 customer_id 602 context other mailbox 602 password fullname Ronald Wiplinger email [EMAIL PROTECTED] pager stamp 20050511232451 attach yes saycid yes hidefromdir no *CLI show version Asterisk CVS-HEAD-04/17/05-07:25:45 built by [EMAIL PROTECTED] on a x86_64 running Linux ___ 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] Realtime voicemail login incorrect
Where is your debug trace? -Matthew Ronald Wiplinger wrote: I have two ways to go to the voicemail box, either by dialing 8500 from the phone which received the voicemail (without a password) or from another phone by dialing 8501 and key in the mailbox and the password. However, with Realtime the password will be rejected as login incorrect. What do I miss? exten = 8500,1,VoicemailMain(s${CALLERIDNUM}) exten = 8500,2,hangup exten = 8501,1,VoicemailMain exten = 8501,2,hangup uniqueid 1 customer_id 602 context other mailbox 602 password fullname Ronald Wiplinger email [EMAIL PROTECTED] pager stamp 20050511232451 attach yes saycid yes hidefromdir no *CLI show version Asterisk CVS-HEAD-04/17/05-07:25:45 built by [EMAIL PROTECTED] on a x86_64 running Linux ___ 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] Realtime voicemail login incorrect
Matthew Boehm wrote: Where is your debug trace? Have you had a look at my settings already? Do you think it is correct? Or have you seen a mistake? If yes, yes and no, than please guide me to a page how I can produce the debug trace. I consider to DEBUG as the last methode to solve something, and than I suspect a bug. I don't suspect a bug, but a mistake in my settings. bye Ronald -Matthew Ronald Wiplinger wrote: I have two ways to go to the voicemail box, either by dialing 8500 from the phone which received the voicemail (without a password) or from another phone by dialing 8501 and key in the mailbox and the password. However, with Realtime the password will be rejected as login incorrect. What do I miss? exten = 8500,1,VoicemailMain(s${CALLERIDNUM}) exten = 8500,2,hangup exten = 8501,1,VoicemailMain exten = 8501,2,hangup uniqueid 1 customer_id 602 context other mailbox 602 password fullname Ronald Wiplinger email [EMAIL PROTECTED] pager stamp 20050511232451 attach yes saycid yes hidefromdir no *CLI show version Asterisk CVS-HEAD-04/17/05-07:25:45 built by [EMAIL PROTECTED] on a x86_64 running Linux ___ 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] Realtime voicemail login incorrect
A debug trace is simply tail -f /var/log/asterisk/debug | grep res_config_mysql pretty simple... Also, send the console output during your attempt. -Matthew Ronald Wiplinger wrote: Matthew Boehm wrote: Where is your debug trace? Have you had a look at my settings already? Do you think it is correct? Or have you seen a mistake? If yes, yes and no, than please guide me to a page how I can produce the debug trace. I consider to DEBUG as the last methode to solve something, and than I suspect a bug. I don't suspect a bug, but a mistake in my settings. bye Ronald -Matthew Ronald Wiplinger wrote: I have two ways to go to the voicemail box, either by dialing 8500 from the phone which received the voicemail (without a password) or from another phone by dialing 8501 and key in the mailbox and the password. However, with Realtime the password will be rejected as login incorrect. What do I miss? exten = 8500,1,VoicemailMain(s${CALLERIDNUM}) exten = 8500,2,hangup exten = 8501,1,VoicemailMain exten = 8501,2,hangup uniqueid 1 customer_id 602 context other mailbox 602 password fullname Ronald Wiplinger email [EMAIL PROTECTED] pager stamp 20050511232451 attach yes saycid yes hidefromdir no *CLI show version Asterisk CVS-HEAD-04/17/05-07:25:45 built by [EMAIL PROTECTED] on a x86_64 running Linux ___ 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] Realtime voicemail login incorrect
Matthew Boehm wrote: A debug trace is simply tail -f /var/log/asterisk/debug | grep res_config_mysql pretty simple... The output is also pretty simple: empty So, how does the debug trace really need to be setup? Or simpler do I have a syntax error to authenticate for the mailbox? bye Ronald Also, send the console output during your attempt. -Matthew Ronald Wiplinger wrote: Matthew Boehm wrote: Where is your debug trace? Have you had a look at my settings already? Do you think it is correct? Or have you seen a mistake? If yes, yes and no, than please guide me to a page how I can produce the debug trace. I consider to DEBUG as the last methode to solve something, and than I suspect a bug. I don't suspect a bug, but a mistake in my settings. bye Ronald -Matthew Ronald Wiplinger wrote: I have two ways to go to the voicemail box, either by dialing 8500 from the phone which received the voicemail (without a password) or from another phone by dialing 8501 and key in the mailbox and the password. However, with Realtime the password will be rejected as login incorrect. What do I miss? exten = 8500,1,VoicemailMain(s${CALLERIDNUM}) exten = 8500,2,hangup exten = 8501,1,VoicemailMain exten = 8501,2,hangup uniqueid 1 customer_id 602 context other mailbox 602 password fullname Ronald Wiplinger email [EMAIL PROTECTED] pager stamp 20050511232451 attach yes saycid yes hidefromdir no *CLI show version Asterisk CVS-HEAD-04/17/05-07:25:45 built by [EMAIL PROTECTED] on a x86_64 running Linux ___ 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 -- Ronald Wiplinger (CEO of ELMIT) http://www.elmit.com+886 (0) 939--77-55-16 or FWD 511208 - I'm a SpamCon Foundation Member, #694, Verify it at http://www.spamcon.org PS: Spam prevention! Our system is protected with a spam prevention program. If you send us an e-mail, our system will send you a confirmation message back. Just reply to this confirmation message please. After receiving this confirmation message, our system will send the hold message (one) and all future messages (after the received confirmation message) to me without asking you again. ___ 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] Realtime voicemail login incorrect
On Thu, 2005-05-12 at 07:35 +0800, Ronald Wiplinger wrote: I have two ways to go to the voicemail box, either by dialing 8500 from the phone which received the voicemail (without a password) or from another phone by dialing 8501 and key in the mailbox and the password. However, with Realtime the password will be rejected as login incorrect. What do I miss? exten = 8500,1,VoicemailMain(s${CALLERIDNUM}) exten = 8500,2,hangup exten = 8501,1,VoicemailMain exten = 8501,2,hangup AFAIK, you *must* specify the context when using realtime, even if the context is default. Change the above to: exten = 8500,1,VoicemailMain([EMAIL PROTECTED]) exten = 8500,2,hangup exten = 8501,1,VoicemailMain(@default) exten = 8501,2,hangup Or something like that I assume. Regards, Adam -- -- Adam Goryachev Website Managers Ph: +61 2 8304 [EMAIL PROTECTED] Fax: +61 2 9345 4396www.websitemanagers.com.au ___ 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] Realtime voicemail
Thank you both for the insight. The original problem was that the voice mail system returned a no mailbox found error since the query was looking for a mailbox in the default context and I had defined them in other contexts, in my case, from-sip and analog-phones. It seems I am confusing extension context with voicemail context. I included the following in my extension file: exten = 2201,1,agi,notify.agi exten = 2201,2,Dial(Zap/9,20) exten = 2201,3,Answer exten = 2201,4,Wait(1) exten = 2201,5,Voicemail(u${EXTEN}) exten = 2201,6,Hangup exten = 2201,105,Voicemail(b${EXTEN}) exten = 2201,106,Hangup For the channel definition in the zapata.conf file, I have the following: context = analog-phones group = 3 pickupgroup = 3 signalling = fxo_ks adsi = yes mailbox = [EMAIL PROTECTED] callerid = Phone 1 2201 channel = 9 I realize that I did not need to use the EXTEN variable, since I had unique entries in this case. I added [EMAIL PROTECTED] ( or could have used the variable) and all works correctly. Thank you. I assumed that the context entry in the voicemail_users table identified the mailbox location. In the past, before realtime, and with the mailboxes defined in voicemail.conf, I did not have to append the context in the extension table. I don't really care that it is required now, but why did it work before? Regards, Ed Horton ___ 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] Realtime voicemail
exten = 2201,1,agi,notify.agi exten = 2201,2,Dial(Zap/9,20) exten = 2201,3,Answer exten = 2201,4,Wait(1) exten = 2201,5,Voicemail(u${EXTEN}) exten = 2201,6,Hangup exten = 2201,105,Voicemail(b${EXTEN}) exten = 2201,106,Hangup I realize that I did not need to use the EXTEN variable, since I had unique entries in this case. I added [EMAIL PROTECTED] ( or could have used the variable) and all works correctly. Thank you. I assumed that the context entry in the voicemail_users table identified the mailbox location. In the past, before realtime, and with the mailboxes defined in voicemail.conf, I did not have to append the context in the extension table. I don't really care that it is required now, but why did it work before? Don't know why it worked before. I've always had Voicemail([EMAIL PROTECTED]) in all my extensions from day 1. -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
RE: [Asterisk-Users] Realtime voicemail
You entered 'other' as the context in the voicemail_users Database, but you failed to specify that context when you made the call for voicemail from the dial plan. The dial plan should be: VoiceMail(SIP/601-a9a3, [EMAIL PROTECTED]) As stated in other posts on this subject, the Voicemail application assumes the context to be 'default' unless otherwise specified. Hope this helps. Joe -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Terry Wilson Sent: Friday, April 08, 2005 1:53 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Realtime voicemail Try having the voicemail command do Voicemail([EMAIL PROTECTED]) On Apr 4, 2005 4:56 AM, Ronald Wiplinger [EMAIL PROTECTED] wrote: I tried to use ONE entry of my voicemail.conf to put into the database: [other] ;602=1357,Ronald Wiplinger 602,[EMAIL PROTECTED] INSERT INTO `voicemail_users` ( `uniqueid` , `customer_id` , `context` , `mailbox` , `password` , `fullname` , `email` , `pager` , `stamp` , `attach` , `saycid` , `hidefromdir` ) VALUES ('1', '602', 'other', '602', '3525', 'Ronald Wiplinger', '[EMAIL PROTECTED]', '', NOW( ) , 'no', 'yes', 'no') extconfig.conf includes: voicemail = mysql,astconf,voicemail_users *CLI reload -- Executing VoiceMail(SIP/601-a9a3, b602) in new stack Apr 4 17:48:34 WARNING[18977]: app_voicemail.c:2227 leave_voicemail: No entry in voicemail config file for '602' What do I miss? bye Ronald ___ 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 -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 4/7/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.10.2 - Release Date: 4/21/2005 ___ 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] Realtime voicemail
I have the latest Asterisk CVS as of 4/21/05 and a Fedora FC3 machine. I also set up the system to use Realtime for the voicemail mailboxes. I am successfully using Realtime for extensions and sip clients on this machine, but as yet, cannot get the voicemail system to recognize the mailboxes as defined in the MySQL database. The other tables, Sip and Extensions are part of the same database and they are accessed correctly. When the voicemail system does a MySQL query, the debug output shows that the correct mailbox is requested, but the context in the query is default, not the context that should be active at the moment, in my case analog-phones. Of course, if I define the extension in the voicemail.conf file, it works perfectly for the same context. I must be doing something wrong, but I cannot see what. Any help would be greatly appreciated. Ed Horton ___ 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] Realtime voicemail
Edwin Horton wrote: I have the latest Asterisk CVS as of 4/21/05 and a Fedora FC3 machine. I also set up the system to use Realtime for the voicemail mailboxes. I am successfully using Realtime for extensions and sip clients on this machine, but as yet, cannot get the voicemail system to recognize the mailboxes as defined in the MySQL database. The other tables, Sip and Extensions are part of the same database and they are accessed correctly. When the voicemail system does a MySQL query, the debug output shows that the correct mailbox is requested, but the context in the query is default, not the context that should be active at the moment, in my case analog-phones. Of course, if I define the extension in the voicemail.conf file, it works perfectly for the same context. I must be doing something wrong, but I cannot see what. Any help would be greatly appreciated. Ed Horton Send your extensions.conf section relative to this VM call. -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
Re: [Asterisk-Users] Realtime voicemail
Realtime voicemail configuration assumes the Voicemail Context to be 'default' unless otherwise specified. This is not the same as the Extensions Context. Having said that, can you specify what the actual problem is? Can't get voicemail to pick up; MWI doesn't work; etc. Matthew Boehm ([EMAIL PROTECTED]) wrote: Edwin Horton wrote: I have the latest Asterisk CVS as of 4/21/05 and a Fedora FC3 machine. I also set up the system to use Realtime for the voicemail mailboxes. I am successfully using Realtime for extensions and sip clients on this machine, but as yet, cannot get the voicemail system to recognize the mailboxes as defined in the MySQL database. The other tables, Sip and Extensions are part of the same database and they are accessed correctly. When the voicemail system does a MySQL query, the debug output shows that the correct mailbox is requested, but the context in the query is default, not the context that should be active at the moment, in my case analog-phones. Of course, if I define the extension in the voicemail.conf file, it works perfectly for the same context. I must be doing something wrong, but I cannot see what. Any help would be greatly appreciated. Ed Horton Send your extensions.conf section relative to this VM call. -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 -- Joe Dennick [EMAIL PROTECTED] ___ 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] Realtime voicemail
Damn Joe, that slap in the face was totally unnecessary. And who said anything about the extensions context? My original email is below..and I don't see anything in there about extensions context. Mr. Horton, could you please post the relevant section to your extensions.conf so I can see how you are calling Voicemail? VoiceMail([EMAIL PROTECTED]) If you don't have the @context listed above, Voicemail will assume 'default'. -Matthew Joe Dennick wrote: Realtime voicemail configuration assumes the Voicemail Context to be 'default' unless otherwise specified. This is not the same as the Extensions Context. Having said that, can you specify what the actual problem is? Can't get voicemail to pick up; MWI doesn't work; etc. Matthew Boehm ([EMAIL PROTECTED]) wrote: Edwin Horton wrote: I have the latest Asterisk CVS as of 4/21/05 and a Fedora FC3 machine. I also set up the system to use Realtime for the voicemail mailboxes. I am successfully using Realtime for extensions and sip clients on this machine, but as yet, cannot get the voicemail system to recognize the mailboxes as defined in the MySQL database. The other tables, Sip and Extensions are part of the same database and they are accessed correctly. When the voicemail system does a MySQL query, the debug output shows that the correct mailbox is requested, but the context in the query is default, not the context that should be active at the moment, in my case analog-phones. Of course, if I define the extension in the voicemail.conf file, it works perfectly for the same context. I must be doing something wrong, but I cannot see what. Any help would be greatly appreciated. Ed Horton Send your extensions.conf section relative to this VM call. -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
Re: [Asterisk-Users] Realtime voicemail
Try having the voicemail command do Voicemail([EMAIL PROTECTED]) On Apr 4, 2005 4:56 AM, Ronald Wiplinger [EMAIL PROTECTED] wrote: I tried to use ONE entry of my voicemail.conf to put into the database: [other] ;602=1357,Ronald Wiplinger 602,[EMAIL PROTECTED] INSERT INTO `voicemail_users` ( `uniqueid` , `customer_id` , `context` , `mailbox` , `password` , `fullname` , `email` , `pager` , `stamp` , `attach` , `saycid` , `hidefromdir` ) VALUES ('1', '602', 'other', '602', '3525', 'Ronald Wiplinger', '[EMAIL PROTECTED]', '', NOW( ) , 'no', 'yes', 'no') extconfig.conf includes: voicemail = mysql,astconf,voicemail_users *CLI reload -- Executing VoiceMail(SIP/601-a9a3, b602) in new stack Apr 4 17:48:34 WARNING[18977]: app_voicemail.c:2227 leave_voicemail: No entry in voicemail config file for '602' What do I miss? bye Ronald ___ 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] Realtime voicemail
I tried to use ONE entry of my voicemail.conf to put into the database: [other] ;602=1357,Ronald Wiplinger 602,[EMAIL PROTECTED] INSERT INTO `voicemail_users` ( `uniqueid` , `customer_id` , `context` , `mailbox` , `password` , `fullname` , `email` , `pager` , `stamp` , `attach` , `saycid` , `hidefromdir` ) VALUES ('1', '602', 'other', '602', '3525', 'Ronald Wiplinger', '[EMAIL PROTECTED]', '', NOW( ) , 'no', 'yes', 'no') extconfig.conf includes: voicemail = mysql,astconf,voicemail_users *CLI reload -- Executing VoiceMail(SIP/601-a9a3, b602) in new stack Apr 4 17:48:34 WARNING[18977]: app_voicemail.c:2227 leave_voicemail: No entry in voicemail config file for '602' What do I miss? bye Ronald ___ 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] Realtime voicemail question
Group I'm using realtime for voicemail the it works great.. The only problem I have is I'm not able to use directory or vmail.cgi Does anyone have a solution for this problem? Asterisk CVS-HEAD-01/24/05-07:36:37 RedHat 9.0 Any help would be great Thanks ___ 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] Realtime voicemail question
This will solve app_directory(): http://bugs.digium.com/bug_view_page.php?bug_id=0002475 Be sure to download: app_directory_realtime_1.3.patch I don't use vmail.cgi so I can't help you there..sry.. -Matthew - Original Message - From: Eric Hall [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Monday, January 24, 2005 8:19 PM Subject: [Asterisk-Users] Realtime voicemail question Group I'm using realtime for voicemail the it works great.. The only problem I have is I'm not able to use directory or vmail.cgi Does anyone have a solution for this problem? Asterisk CVS-HEAD-01/24/05-07:36:37 RedHat 9.0 Any help would be great Thanks ___ 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] Realtime Voicemail ...
Hi, Realtime SIP and Extensions are working fine but facing some problems with Voicemail. Added an entry to extconfig.conf voicemail = mysql,asterisk,voicemail_users Created the corresponding table and an entry for mailbox 201. This is also reflected in the CLI as shown below. CLI realtime load voicemail mailbox 201 Column Name Column Value uniqueid 1 customer_id 201 mailbox 201 password 201 fullname Mailbox 201 stamp 20050118164309 CLI When I try to log into the Voicemailmain, it cribs for incorrect login as shown below. Where am I going wrong ? Jan 18 17:49:12 DEBUG[5502]: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '8500' AND context = 'default' AND priority = '1' Jan 18 17:49:12 DEBUG[5502]: MySQL RealTime: Everything is fine. Jan 18 17:49:12 DEBUG[5502]: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten LIKE '\_%' AND context = 'default' AND priority = '1' ORDER BY exten Jan 18 17:49:12 DEBUG[5502]: MySQL RealTime: Everything is fine. Jan 18 17:49:12 VERBOSE[5502]: -- Executing VoiceMailMain (SIP/vamsi-0c3c, ) in new stack Jan 18 17:49:12 DEBUG[5502]: Scheduling timer at 160 sample intervals Jan 18 17:49:12 VERBOSE[5502]: -- Playing 'vm-login' (language 'en') Jan 18 17:49:12 DEBUG[5502]: Stopping retransmission on '[EMAIL PROTECTED]' of Response 101: Found Jan 18 17:49:14 DEBUG[5502]: Manager received command 'Command' Jan 18 17:49:14 DEBUG[5502]: Scheduling timer at 0 sample intervals Jan 18 17:49:14 DEBUG[5502]: Scheduling timer at 0 sample intervals Jan 18 17:49:16 DEBUG[5502]: MySQL RealTime: Retrieve SQL: SELECT * FROM voicemail_users WHERE mailbox = '201' AND context = 'default' Jan 18 17:49:16 DEBUG[5502]: MySQL RealTime: Everything is fine. Jan 18 17:49:16 DEBUG[5502]: Scheduling timer at 160 sample intervals Jan 18 17:49:16 VERBOSE[5502]: -- Playing 'vm-password' (language 'en') Jan 18 17:49:17 DEBUG[5502]: Scheduling timer at 0 sample intervals Jan 18 17:49:17 DEBUG[5502]: Scheduling timer at 0 sample intervals Jan 18 17:49:19 VERBOSE[5502]: -- Incorrect password '201' for user '201' (context = any) Jan 18 17:49:19 DEBUG[5502]: Scheduling timer at 160 sample intervals Jan 18 17:49:19 VERBOSE[5502]: -- Playing 'vm-incorrect- mailbox' (language 'en') Jan 18 17:49:22 DEBUG[5502]: Scheduling timer at 0 sample intervals Jan 18 17:49:22 DEBUG[5502]: Scheduling timer at 0 sample intervals Thanks, ~Vamsi ___ 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] Realtime Voicemail ...
MySQL RealTime: Retrieve SQL: SELECT * FROM voicemail_users WHERE mailbox = '201' AND context = 'default' There is no column 'context'. Add a column 'context' to your voicemail_users table, default value of 'default', make sure the column is filled with 'default' as a value. Or edit the source code to modify the SQL call, to ignore querying the AND context = '. Do this and your login should work. - Yeah, we rocked the vote all right. Those little bastards betrayed us again. - Hunter S. Thompson on the 2004 election. On Tue, 18 Jan 2005, Vamsi Pottangi wrote: Hi, Realtime SIP and Extensions are working fine but facing some problems with Voicemail. Added an entry to extconfig.conf voicemail = mysql,asterisk,voicemail_users Created the corresponding table and an entry for mailbox 201. This is also reflected in the CLI as shown below. CLI realtime load voicemail mailbox 201 Column Name Column Value uniqueid 1 customer_id 201 mailbox 201 password 201 fullname Mailbox 201 stamp 20050118164309 CLI When I try to log into the Voicemailmain, it cribs for incorrect login as shown below. Where am I going wrong ? Jan 18 17:49:12 DEBUG[5502]: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '8500' AND context = 'default' AND priority = '1' Jan 18 17:49:12 DEBUG[5502]: MySQL RealTime: Everything is fine. Jan 18 17:49:12 DEBUG[5502]: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten LIKE '\_%' AND context = 'default' AND priority = '1' ORDER BY exten Jan 18 17:49:12 DEBUG[5502]: MySQL RealTime: Everything is fine. Jan 18 17:49:12 VERBOSE[5502]: -- Executing VoiceMailMain (SIP/vamsi-0c3c, ) in new stack Jan 18 17:49:12 DEBUG[5502]: Scheduling timer at 160 sample intervals Jan 18 17:49:12 VERBOSE[5502]: -- Playing 'vm-login' (language 'en') Jan 18 17:49:12 DEBUG[5502]: Stopping retransmission on '[EMAIL PROTECTED]' of Response 101: Found Jan 18 17:49:14 DEBUG[5502]: Manager received command 'Command' Jan 18 17:49:14 DEBUG[5502]: Scheduling timer at 0 sample intervals Jan 18 17:49:14 DEBUG[5502]: Scheduling timer at 0 sample intervals Jan 18 17:49:16 DEBUG[5502]: MySQL RealTime: Retrieve SQL: SELECT * FROM voicemail_users WHERE mailbox = '201' AND context = 'default' Jan 18 17:49:16 DEBUG[5502]: MySQL RealTime: Everything is fine. Jan 18 17:49:16 DEBUG[5502]: Scheduling timer at 160 sample intervals Jan 18 17:49:16 VERBOSE[5502]: -- Playing 'vm-password' (language 'en') Jan 18 17:49:17 DEBUG[5502]: Scheduling timer at 0 sample intervals Jan 18 17:49:17 DEBUG[5502]: Scheduling timer at 0 sample intervals Jan 18 17:49:19 VERBOSE[5502]: -- Incorrect password '201' for user '201' (context = any) Jan 18 17:49:19 DEBUG[5502]: Scheduling timer at 160 sample intervals Jan 18 17:49:19 VERBOSE[5502]: -- Playing 'vm-incorrect- mailbox' (language 'en') Jan 18 17:49:22 DEBUG[5502]: Scheduling timer at 0 sample intervals Jan 18 17:49:22 DEBUG[5502]: Scheduling timer at 0 sample intervals Thanks, ~Vamsi ___ 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] Realtime Voicemail ...
You are missing many columns in that table. Goto the wiki and get the right schema. -Matthew - Original Message - From: Vamsi Pottangi [EMAIL PROTECTED] To: Asterisk-Users@lists.digium.com Sent: Tuesday, January 18, 2005 6:13 AM Subject: [Asterisk-Users] Realtime Voicemail ... Hi, Realtime SIP and Extensions are working fine but facing some problems with Voicemail. Added an entry to extconfig.conf voicemail = mysql,asterisk,voicemail_users Created the corresponding table and an entry for mailbox 201. This is also reflected in the CLI as shown below. CLI realtime load voicemail mailbox 201 Column Name Column Value uniqueid 1 customer_id 201 mailbox 201 password 201 fullname Mailbox 201 stamp 20050118164309 CLI When I try to log into the Voicemailmain, it cribs for incorrect login as shown below. Where am I going wrong ? Jan 18 17:49:12 DEBUG[5502]: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten = '8500' AND context = 'default' AND priority = '1' Jan 18 17:49:12 DEBUG[5502]: MySQL RealTime: Everything is fine. Jan 18 17:49:12 DEBUG[5502]: MySQL RealTime: Retrieve SQL: SELECT * FROM extensions_table WHERE exten LIKE '\_%' AND context = 'default' AND priority = '1' ORDER BY exten Jan 18 17:49:12 DEBUG[5502]: MySQL RealTime: Everything is fine. Jan 18 17:49:12 VERBOSE[5502]: -- Executing VoiceMailMain (SIP/vamsi-0c3c, ) in new stack Jan 18 17:49:12 DEBUG[5502]: Scheduling timer at 160 sample intervals Jan 18 17:49:12 VERBOSE[5502]: -- Playing 'vm-login' (language 'en') Jan 18 17:49:12 DEBUG[5502]: Stopping retransmission on '[EMAIL PROTECTED]' of Response 101: Found Jan 18 17:49:14 DEBUG[5502]: Manager received command 'Command' Jan 18 17:49:14 DEBUG[5502]: Scheduling timer at 0 sample intervals Jan 18 17:49:14 DEBUG[5502]: Scheduling timer at 0 sample intervals Jan 18 17:49:16 DEBUG[5502]: MySQL RealTime: Retrieve SQL: SELECT * FROM voicemail_users WHERE mailbox = '201' AND context = 'default' Jan 18 17:49:16 DEBUG[5502]: MySQL RealTime: Everything is fine. Jan 18 17:49:16 DEBUG[5502]: Scheduling timer at 160 sample intervals Jan 18 17:49:16 VERBOSE[5502]: -- Playing 'vm-password' (language 'en') Jan 18 17:49:17 DEBUG[5502]: Scheduling timer at 0 sample intervals Jan 18 17:49:17 DEBUG[5502]: Scheduling timer at 0 sample intervals Jan 18 17:49:19 VERBOSE[5502]: -- Incorrect password '201' for user '201' (context = any) Jan 18 17:49:19 DEBUG[5502]: Scheduling timer at 160 sample intervals Jan 18 17:49:19 VERBOSE[5502]: -- Playing 'vm-incorrect- mailbox' (language 'en') Jan 18 17:49:22 DEBUG[5502]: Scheduling timer at 0 sample intervals Jan 18 17:49:22 DEBUG[5502]: Scheduling timer at 0 sample intervals Thanks, ~Vamsi ___ 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] realtime voicemail
Paste your extensions.conf section that is relevant. -Matthew - Original Message - From: Greg - Cirelle Enterprises [EMAIL PROTECTED] 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 ___ 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] Realtime voicemail failure
having set up mysql per instructions for the voicemail system in realtime, we have noticed, email notification has stopped on receipt of voicemail. this works fine on conf file setup, not under realtime. Regards Greg Cirino ___ ___ 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] Realtime voicemail failure
Have you looked at the debug logs to see if there is any SQL errors? -Matthew - Original Message - From: Greg - Cirelle Enterprises [EMAIL PROTECTED] To: asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Monday, December 20, 2004 7:12 AM Subject: [Asterisk-Users] Realtime voicemail failure having set up mysql per instructions for the voicemail system in realtime, we have noticed, email notification has stopped on receipt of voicemail. this works fine on conf file setup, not under realtime. Regards Greg Cirino ___ ___ 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] Realtime voicemail failure
At 10:57 AM 12/20/04, you wrote: Have you looked at the debug logs to see if there is any SQL errors? -Matthew I realized the problem, was using a semi colon to separate addresses to send the VM email notification from one extension to 2 addresses. I solved that issue by using a forward address which contains several email addresses, keeping the single address in the email field for notification ex. [EMAIL PROTECTED] points to 2 real email addresses Greg ___ 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