[asterisk-users] Voicemail: How to send a notification even if
Caller does not let any messages?
Rob Schall
rschall at callone.net
Mon Apr 16 10:27:30 MST 2007
There is no absolute way to verify if the user left a new message, since
it only tells you how many messages are currently in the box. If not
many messages are sent.... you could do a "stat" on the newest voicemail
file in their new folder. Then see if its more than a few seconds old.
If its only a few seconds old, then the message was just left. But like
I said, still a tough thing to guarentee.
Rob
Jean-Marc Salsa wrote:
> Thanks for the answer,
>
> I already use this extapp, to set on another server the MWI.
> But how to know if user has not let a message ?
>
> One could guess that 0 is the number of message to trigger such a
> notification ... but 0 is the number of message as well when you erase
> all your messages, so you shouldn't send a notification in that case.
>
> Any idea please ?
>
> Thanks,
>
> JM
>
>
> On 4/16/07, *Rob Schall* <rschall at callone.net
> <mailto:rschall at callone.net>> wrote:
>
> If the voicemail portion is reached, but hungup on, the extapp
> portion of the config file is still executed. So.... you could
> have an external app which does any number of things (IM, etc).
>
> Rob
>
>
> Jean-Marc Salsa wrote:
>> Hi,
>> First, sorry to repost, As I didn't get any replies, maybe this
>> time, I will get more lucky.
>>
>> I was wondering if there was a way in Asterisk (agi script,
>> asterisk-itself, whatever ... ) to send a notification to the
>> user (Mail, SMS like voicemail application is doing) if the user
>> has called, but did not leave any messages ?
>>
>> I tried to use the "minmessage", but, couldn't. Is that the way ?
>> I was thinking of using the "h" Dialplan, and launch some script,
>> but then, how to know if caller has left a message or not ?
>> I wouldn't like to send 2 messages to the user.
>>
>> Thanks for your help !
>>
>> Jean-Marc
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> --Bandwidth and Colocation provided by Easynews.com <http://Easynews.com> --
>>
>> asterisk-users mailing list
>>
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>> <http://lists.digium.com/mailman/listinfo/asterisk-users>
>>
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com
> <http://Easynews.com> --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
> <http://lists.digium.com/mailman/listinfo/asterisk-users>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070416/5e5f458c/attachment.htm
More information about the asterisk-users
mailing list