Hi,
I am trying to get total number of voicemails and the total number of new Voicemails from Asterisk. My understadning is that VMCOUNT will give me the total number of Voicemail Messages from the VM folder. Challenge is how to get the New Vociemail Count ( in other words total Number of Unaccessed Voicemails ).
I need to get these 2 counts so that I can call a PHP script which in trun will send a Voicemail Notification SMS with these 2 values.
Current Dialplan ( only the relevant Portion ) Looks like:-
exten => _19549776740,n(vm),VoiceMail(${SS7_ORIG_CALLED_NUM}@default) — Works
exten => _19549776740,n,set(total=${VMCOUNT(${SS7_ORIG_CALLED_NUM}@default)}) – Yet to be tried
Regards,
Girish