[Asterisk-Users] External MW Lamp On/Off

Greg Blakely greg at vyger.net
Sat Aug 14 12:03:54 MST 2004


Yes, it helps quite a bit.  It shows me where Comedian Mail spawns the
external app.

Do you have a copy of your SIP MWI script?  I may be able to use it as a
starting point.

Also, can you tell me what variables are passed from asterisk to the
app?

Thank you very much.

Greg

> -----Original Message-----
> From: asterisk-users-admin at lists.digium.com 
> [mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Umar Sear
> Sent: Saturday, August 14, 2004 7:10 AM
> To: asterisk-users at lists.digium.com
> Subject: Re: [Asterisk-Users] External MW Lamp On/Off
> 
> I have done something simmillar, but not the same. 
> 
> I send mwi notification to our softswitch (SIP).
> Basically I wrote a small app in pascal that sends a sip 
> message to the softswitch. The app is called everytime a 
> message is left or retrieved, using the extrennotify option 
> in voicemail.conf. 
> 
> You could easily do something simillar, what you need to do, 
> is write a script or app (if one does not already exist) that 
> creates call file based on the parameters passed by externnotify. 
> 
> Hope this helps.
> 
> Umar
>  --- Greg Blakely <greg at vyger.net> wrote: 
> > 	One of the connections my asterisk PBX has is an analog 
> extension 
> > from a Comdial hybrid.
> > 
> > 	On the Comdial system, message waiting is turned on by dialing
> > *3 and then the station number.
> > 	It is turned off by dialing #3 and the station number.
> > 
> > 	I was wanting to have Asterisk (or Comedian mail) set 
> the message 
> > lamp in the Comdial system when a new message arrives for a 
> user, and 
> > extinguish the lamp when the message has been played.
> > 
> > 	I understand that this has something to do with a file 
> that is placed 
> > in /var/spool/asterisk/outgoing, but I have no idea about
> > 
> > 	+ what the contents of that file should be,
> > 	+ how Comedian mail would initiate putting the file 
> into the outgoing 
> > queue, and
> > 	+ how Comedian mail would initiate putting the 
> 'extinguish' file into 
> > the outgoing queue.
> > 
> > 	Has anyone done this sort of thing already?  If so, can 
> you point me 
> > in the right direction?
> > 
> > 	As I mentioned in yesterday's post, I did find a 
> question and partial 
> > answer to this in the asterisk-users archives, but I need a 
> bit more 
> > information before I can make it work for me.
> > 
> > 	Thanks in advance for any help you can give me.
> > 
> > 
> > _______________________________________________
> > 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
> >  
> 
> 
> 	
> 	
> 		
> ___________________________________________________________ALL
> -NEW Yahoo! Messenger - all new features - even more fun!  
> http://uk.messenger.yahoo.com 
> _______________________________________________
> 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