[Asterisk-Users] Sending DTMF after recording new voicemail

Umar Sear usedcanon at yahoo.co.uk
Wed Sep 29 01:11:51 MST 2004


Andrew, 

The externnotify returns the number of messages in the mailbox, and if
the mailbox is empty it will return zero. 

My understanding is that you want to dial out to the Toshiba PBX when a
message is left or retrieved. The way I would do it to write an
application that creates an appropriate call to dial out to the pbx and
send the appropriate DTMF depending on whether or not there are messages
in the mailbox. 

As for sharing, I would be happy to share my code if people think it
could be useful. 

Umar





On Wed, 2004-09-29 at 03:27, Nichols, Andrew wrote:
> Umar,
> 
> Thanks for the response. I think I understand how externnotify can be
> used to create a call file. But, I don't see how that this can be used
> for turning off MWI after messages have been viewed. Do you have an
> example of how you accomplished this that you'd be willing to share?
> 
> Thanks in advance,
> 
> Andrew
>  
> 
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Umar Sear
> Sent: Tuesday, September 28, 2004 16:40
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] Sending DTMF after recording new voicemail
> 
> You can use the externnotify feature of voice mail to create a call file
> when a voice mail is left or retrieved. 
> 
> This can in turn be used to turn on or off the message lamp. 
> 
> I use the externnotify feature to execute an application that I wrote in
> freepascal to send sip notification messages to an external system. 
> 
> Umar
> On Mon, 2004-09-27 at 21:23, Nichols, Andrew wrote:
> > I'm trying to use Asterisk for its voicemail capabilities while 
> > interfacing with a legacy Toshiba PBX. Is there a way to have Asterisk
> 
> > send a DTMF code to an extension to turn on the message waiting 
> > indicator light?
> >  
> > When a user leaves a voicemail, I want Asterisk to pick up one of the 
> > lines attached to it, and then dial #63<ext>, which is what sets the 
> > message waiting indicator light in the Toshiba system. Conversely, I'd
> 
> > like to be able to turn off the lamp by sending a different set of 
> > digits to the extension when there are no new voicemails.
> >  
> > Any ideas on how to accomplish this?
> >  
> > Thanks,
> >  
> > Andrew
> > 
> > ______________________________________________________________________
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at 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 at 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 at 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




More information about the asterisk-users mailing list