Re: [Asterisk-java-users] Receive Voicemail event
Brought to you by:
srt
From: Daniele R. <dan...@gm...> - 2013-01-15 22:19:21
|
Hi, after some tests I reach this status: -I added a listener to my managerConnection, I catch the MessageWaitingEvent -Where I catch MessageWaitingEvent i run: VoicemailUsersListAction voicemailList = new VoicemailUsersListAction(); managerConnection.sendAction(voicemailList); -Then I catch the VoicemailUserEntryEvent but when I print the informations about the voicemail I can't see any information that can give me the msg_id of the voicemail received. This is the log of the event received: 15/01/2013 23:15:09 DEBUG AsteriskManager:168 - org.asteriskjava.manager.event.VoicemailUserEntryEvent[dateReceived='Tue Jan 15 23:15:09 CET 2013',maxmessagecount='100',sequencenumber=null,oldmessagecount=null,maxmessagelength='0',timestamp=null,actionid=null,timezone='it',attachmentformat=null,newmessagecount='1',volumegain='0.0',imapuser=null,vmcontext='default',fullname='100',voicemailbox='100',pager=null,saydurationminimum='2',calloperator='false',mailcommand='/usr/sbin/sendmail -t',serveremail='asterisk',sayenvelope='true',attachmessage='true',deletemessage='false',canreview='false',uniqueid=null,internalactionid='962420767_21',email=null,dialout=null,exitcontext=null,callback=null,server=null,language=null,saycid='false',systemHashcode=729217986] I cant' see anything that can help me to get the unique id of the message that I need to retrieve from the db where I save that. I can do that with Asterisk Java? Thanks! 2013/1/15 Daniele Renda <dan...@gm...> > Oh sorry, > I realize that there is MessageWaitingEvent. This is what I need. > > Thanks! > > > 2013/1/15 Daniele Renda <dan...@gm...> > >> Hi Miguel, >> thanks for your reply. I have a ManagerEventListener added to my >> managerConnection and I need to receive a notification when an user leave a >> voicemail. >> In your links seems that I've to send a request in order to receive a >> response about voicemail. >> >> Any suggestion? >> >> Thanks very much >> >> Daniele >> >> 2013/1/15 Miguel Santiago <m.s...@gm...> >> >>> VoicemailUserEntryEvent >> >> >> >> >> >> -- >> Daniele Renda >> > > > > -- > Daniele Renda > -- Daniele Renda |