Hi Stefan, I'd expect there's a Manager event that is fired when an IAX client login happens. You could watch for that and initiate your call if there's voicemail at that time.
Martin Smith, Systems Developer [EMAIL PROTECTED] Bureau of Economic and Business Research University of Florida (352) 392-0171 Ext. 221 > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Stefan Gofferje > Sent: Thursday, August 21, 2008 11:39 AM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: [asterisk-users] Automatic call to voicemail on login? > > Hi, > > I would like to arrange that when an IAX client logs in / > registers with > my * AND there are unread voicemails, this IAX client will be > automatically called and connected to the respective voicemail box. > > One possibility is to have a cronjob that creates a callfile > - let's say > - every five minutes which checks ChanIsAvail and connect to the > voicebox if new messages are there. > > But with lots of IAX clients, this does not exactly scale very well. > > If there any other native way to execute an action on login > or logout of > a client? > > Terve, > Stefan > > -- > Last words of a stormchaser: > "Where is that rotation on the radar?!" > > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > AstriCon 2008 - September 22 - 25 Phoenix, Arizona > Register Now: http://www.astricon.net > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users