Mike Dent
2005-May-19 14:52 UTC
[Asterisk-Users] HasNewVoicemail not being called if user hang up after leaving VM ??
Hi, it seems if a user leaves voicemail and hangs up the call when done, then HasNewVoicemail never gets called on the next line in the context. However if they press # to finish their VM, then it moves to HasNewVoicemail and this works? eg:- ...... exten => 2002,3,VoiceMail(u${OFFICEVM}) exten => 2002,4,HasNewVoiceMail(2002) ...... exten => 2002,105, do something cos vm has been left. I'm using 1.0.7 thanks Mike
Gary Reuter
2005-May-19 18:21 UTC
[Asterisk-Users] HasNewVoicemail not being called if user hang up after leaving VM ??
When the person hangs up, Voicemail exits with -1 and you jump to extension 'h'. Just create an 'h' extension which will get processed when the user hangs up, like this: exten => h,1,HasNewVoicemail(2002) On 5/19/05, Mike Dent <mcdent@gmail.com> wrote:> Hi, > it seems if a user leaves voicemail and hangs up the call when done, then > HasNewVoicemail never gets called on the next line in the context. > > However if they press # to finish their VM, then it moves to > HasNewVoicemail and this > works? > > eg:- > > ...... > exten => 2002,3,VoiceMail(u${OFFICEVM}) > exten => 2002,4,HasNewVoiceMail(2002) > ...... > > exten => 2002,105, do something cos vm has been left. > > > > > I'm using 1.0.7 > > thanks > > Mike > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@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 >