Re: [asterisk-users] Voicemail() app not available?

2010-05-13 Thread Tzafrir Cohen
On Wed, May 12, 2010 at 05:29:29PM +0800, Andrew Furey wrote:
 Hi all,
 
 I have a demo machine I'm running up on Lenny - it has the packaged
 Asterisk version installed (1.4.21.2+stuff).

Specifically, builds 3 different variants of app_voicemail.so as
different modules (app_voicemail.so, app_voicemail_imap.so,
app_voicemail_odbc.so).

 
 I'm trying to add an extension to leave a voicemail message, just with
 Voicemail(1234), which I've done before (on 1.2 at least), but it's
 saying no application 'Voicemail' .
 
 module show like voi shows app_voicemail.so and
 app_hasnewvoicemail.so loaded (I have autoload=yes in modules.conf
 and have noload= a bunch, but I even explicitly set
 load=app_voicemail.so just in case.
 
 However, core show applications like voi only lists HasVoicemail
 and HasNewVoicemail, with no sign of Voicemail. The wiki seems to
 show that it should all be included, with no sign of deprecation...
 
 Any ideas where I can look?

What happens if you run:

  module unload app_voicemail.so
  module   load app_voicemail.so

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir

-- 
_
-- 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] Voicemail() app not available?

2010-05-13 Thread Andrew Furey
On 13/05/2010, Tzafrir Cohen tzafrir.co...@xorcom.com wrote:
 Specifically, builds 3 different variants of app_voicemail.so as
  different modules (app_voicemail.so, app_voicemail_imap.so,
  app_voicemail_odbc.so).

Correct; the other two were noload(ed) by default so I left them.


 What happens if you run:

   module unload app_voicemail.so
   module   load app_voicemail.so

Aha; I get the following:

asteriskdemo*CLI module unload app_voicemail.so
Unable to unload resource app_voicemail.so
[May 14 11:06:04] WARNING[15747]: loader.c:501 ast_unload_resource:
Firm unload failed for app_voicemail.so
asteriskdemo*CLI module load app_voicemail.so
[May 14 11:06:22] ERROR[15747]: app_voicemail.c:7941 load_module:
app_voicemail.so depends upon res_adsi.so

... which I had noload(ed) as well - didn't realise it was required.
(Further looking shows it was in the messages log the whole time;
didn't think to check, been connecting to -r console...)

Loading res_adsi.so fixes the problem. I'll have to go over the
Asterisk Slimming wiki entry...

Thanks Tzafrir!

Andrew

-- 
Linux supports the notion of a command line or a shell for the same
reason that only children read books with only pictures in them.
Language, be it English or something else, is the only tool flexible
enough to accomplish a sufficiently broad range of tasks.
  -- Bill Garrett

-- 
_
-- 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] Voicemail() app not available?

2010-05-12 Thread Andrew Furey
Hi all,

I have a demo machine I'm running up on Lenny - it has the packaged
Asterisk version installed (1.4.21.2+stuff).

I'm trying to add an extension to leave a voicemail message, just with
Voicemail(1234), which I've done before (on 1.2 at least), but it's
saying no application 'Voicemail' .

module show like voi shows app_voicemail.so and
app_hasnewvoicemail.so loaded (I have autoload=yes in modules.conf
and have noload= a bunch, but I even explicitly set
load=app_voicemail.so just in case.

However, core show applications like voi only lists HasVoicemail
and HasNewVoicemail, with no sign of Voicemail. The wiki seems to
show that it should all be included, with no sign of deprecation...

Any ideas where I can look?

TIA,
Andrew

-- 
Linux supports the notion of a command line or a shell for the same
reason that only children read books with only pictures in them.
Language, be it English or something else, is the only tool flexible
enough to accomplish a sufficiently broad range of tasks.
  -- Bill Garrett

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