Adreas,

What I was proposing with the Set/ClearMWI commands was not a direct trigger for turning on or off MWI on a particular device, but an in-dialplan method of adding or removing a mailbox= entry to a device. In other words a dialplan command that would do the same thing as if you had edited a sip.conf entry and added (SetMWI) or deleted (ClearMWI) the mailbox=<vmail-user>@<vmail-context> and then did a sip reload.

I can also see the benefit of having a method to just turn on or turn off the MWI on a device as well. Not asking asterisk to scan for any new/old files, but just basically a switch for the MWI state on a device. I believe this is what you are referring to?

Maybe something like:

MWISet(SIP/1234,,e) ; option e sets the MWI flag on (enabled) for the indicated device, any [EMAIL PROTECTED] data in field 2 is ignored.

MWIClear(SIP/1234,,d) ; option d sets the MWI flag off (disabled) for the indicated device, any [EMAIL PROTECTED] data in field 2 is ignored.

Something like that?

-Chris

On 03:06 PM 4/14/2005, Andreas Sikkema wrote:
>
>On Thu, 2005-04-14 at 23:02, Chris A. Icide wrote:
>
>> exten => s,1,MWISet(SIP/1234,[EMAIL PROTECTED])  ;set MWI for SIP/1234 to
>> [EMAIL PROTECTED]
>>
>> exten => s,1,MWIClear(SIP/1234)  ;remove all MWI setting for SIP/1234
>>
>> exten => s,1,MWISet(SIP/1234,[EMAIL PROTECTED],r)  ; same as above
>> except r options indicates this is a remote softswitch.
>
>I would _love_ something like this. We're not using the voicemail
>application but I've written something entirely in extension.conf so I
>need something that is not tied to the voicemail app.
>
>--
>Andreas Sikkema <[EMAIL PROTECTED]>
>
>_______________________________________________
>Asterisk-Dev mailing list
>[email protected]
>http://lists.digium.com/mailman/listinfo/asterisk-dev
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev

_______________________________________________
Asterisk-Dev mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to