[asterisk-users] A way to run extenrnotify when IMAP events take place...

Danny Nicholas danny at debsinc.com
Fri Nov 21 08:28:31 CST 2008


Here is a "Dirty" solution - create a PERL or other script to "listen" for
changes to voicemail DB/Dir.  When VM is deleted, launch script to turn off
Cisco MWI (should be simple since you are turning on with script).   Not
"Best" solution, just workable one.  I'm doing similar thing with my VM - I
look for new VM, run soz to turn up volume, then send new wav file to
recipient in e-mail so they can listen in Media Player or on Iphone instead
of dialing in.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Philipp
Kempgen
Sent: Friday, November 21, 2008 6:58 AM
To: Asterisk Users
Subject: Re: [asterisk-users] A way to run extenrnotify when IMAP events
take place...

Jeffrey Phelps schrieb:
> But how do I get it to run a script??  I don't have any SMDI Interfaces,
> so I wouldn't be able to put anything in the config...

I thought Cisco CallManager had SMDI so that might have been an
alternative solution.
All I can tell is that the normal externnotify command in
voicemail.conf works well for me - without IMAP storage that
is.
Sorry for not being of any help here. Maybe someone else can
comment.

> Jeffrey Phelps schrieb:
> 
>> I have IMAP voicemail working with Exchange 2003 using a single
> username
> 
>> and password for multiple mailboxes.
> 
>  
> 
>> Right now, I am setting up asterisk to use voicemail with my Cisco
> Call
> 
>> Manager (Which I detest BTW...) and I have everything working, EXCEPT:
> 
>  
> 
>> I cannot get my externnotify script to run when any changes have been
> 
>> made to the VoiceMail...
> 
>  
> 
>> Scenario:
> 
>  
> 
>> Bob gets a call  -> Bob rejects call to voicemail
> 
>  
> 
>> Caller leaves Bob a voicemail  -> externnotify calls script which
> turns
> 
>> on his Cisco MWI.
> 
>  
> 
>> Bob checks Voicemail  ->  Bob deletes Voicemail  -> asterisk says that
> 
>> the voicemail was deleted, but doesn't run my script again to turn off
> 
>> the Cisco MWI.
> 
>  
> 
>> I would just like to know if there is any work around for this.
> 
>> OR.............  Maybe Someone is working on adding this into the code
> 
>> so that it works...
> 
>  
> 
>> I'm running * 1.6.1-beta2
> 
>  
> 
> afaicr I read something which might be related in doc/smdi.txt.


   Philipp Kempgen

-- 
http://www.das-asterisk-buch.de  -  http://www.the-asterisk-book.com
Amooma GmbH - Bachstr. 126 - 56566 Neuwied  ->  http://www.amooma.de
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
-- 

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list