Re: [Asterisk-Users] MWI for endpoints not registered at Asterisk

2005-10-12 Thread Ryan Hulsker

Take a look at sipsak. http://sipsak.org/
Or at the wiki on how to use it.
http://www.voip-info.org/wiki-Asterisk+at+large

I think you will still need to be able to look up the IP address that
corresponds to your sip client though.

Ryan Hulsker


On Wed, 2005-10-12 at 08:21, Peter Bowyer wrote:
 On 12/10/05, Stojan Sljivic - Pamet [EMAIL PROTECTED] wrote:
  Hi,
 
  We have phones registered at another soft switch, and would like to use
  Asterisk as a Voicemail system.
  Is it possible and how to configure Asterisk to send NOTIFY messages (for
  MWI) to the endpoints that are not registered to the Asterisk?
 
 I couldn't find a way round this, and ended up using a 'spare' line
 presentation on my GXP-2000 phones to register to the voicemail server
 simply to pick up the NOTIFYs. Since the phone only has a single MWI
 LED, it doesn't matter which line the NOTIFY comes in on.
 
 Peter
 
 --
 Peter Bowyer
 Email: [EMAIL PROTECTED]
 Tel: +44 1296 768003
 VoIP: sip:[EMAIL PROTECTED]
 ___
 --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
 

___
--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] Voicemail Passwords and RealTime

2005-10-11 Thread Ryan Hulsker




Juan,

I just went through the same thing here. I never did get it to work, i suspect it is a bug but have not had time to look into it.

What I did was use the externpass configuration directive in voicemail.conf to run an external perl script which updates my database.

externpass will run your perl script with 3 arguments, context, mailbox, and password once the user has entered the password 2 times and they match.

mine looks like this

#!/usr/bin/perl
# Takes 3 command line args, context, mailbox, password
# updates the mailbox password in mysql

use strict;
use DBI;

my ($Context, $MailBox, $Password) = @ARGV;

my $dbh = DBI-connect(dbi:mysql:hostname=localhost;database=asterisk,username, password);

$dbh-do(update voicemail_users set password = '$Password' where context = '$Context' and mailbox = '$MailBox');

$dbh-disconnect();



Hope this helps!

Ryan Hulsker


On Tue, 2005-10-11 at 15:45, Juan Salas wrote:

Hello.

One question...
When we use voicemail with flat file configuration (voicemail.conf) 
the vaicemail user can change his password by voicemailmain (voice menu)
this change the value in voicemail.conf.
When we use Realtime the password is stored in the database. What the 
voicemailmain (voice menu) application do? change the database value? 
As I see it doesn't work.

Regard.

Jsalas.









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
___
--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




___
--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] Voicemail not updating password SQL

2005-10-05 Thread Ryan Hulsker

I solved this problem by externpass to run a perl script that updates my
database.

Although I do believe that this should work through the built in ODBC
setup.

Ryan Hulsker


On Tue, 2005-10-04 at 17:16, Ryan Hulsker wrote:
 I am using asterisk-1.2.0-beta1 with ODBC connecting to a MySQL
 database.
 
 All voicemail functions work correctly, except for updating passwords. 
 When I try to change my password the system tells me it has changed, but
 it has not.
 
 My mysql.log shows no attempts to update the voicemail_users table in my
 database.
 
 Does anyone have any clues as to what is going on here?  I have searched
 the wiki several times and can't find any similar issues.
 
 Thanks.
 
 Ryan Hulsker
 
 
 ___
 --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
 

___
--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


[Asterisk-Users] Voicemail not updating password SQL

2005-10-04 Thread Ryan Hulsker

I am using asterisk-1.2.0-beta1 with ODBC connecting to a MySQL
database.

All voicemail functions work correctly, except for updating passwords. 
When I try to change my password the system tells me it has changed, but
it has not.

My mysql.log shows no attempts to update the voicemail_users table in my
database.

Does anyone have any clues as to what is going on here?  I have searched
the wiki several times and can't find any similar issues.

Thanks.

Ryan Hulsker


___
--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