Re: [asterisk-users] Force voicemail check / MWI generation

2022-11-18 Thread Nick Olsen
Thanks Joshua!

I reviewed the voicemail.conf for an option just like this and somehow
missed it. Thank you sir!

On Fri, Nov 18, 2022 at 9:20 AM Joshua C. Colp  wrote:

> On Fri, Nov 18, 2022 at 9:53 AM Nick Olsen  wrote:
>
>> Hello,
>>
>> I've got a handful of servers running asterisk 16 currently with
>> voicemail stored in a database via ODBC.
>>
>> Some users register to multiple servers and I'm having an issue with MWI.
>>
>> Specifically Polycom phones seem to not be able to use two different MWI
>> sources. So in my immediate instance, a voicemail is left on the primary
>> server. The primary server generates the requisite notify and properly sets
>> the phone's MWI light and makes an audible MWI sound.
>>
>> The phone then re-registers to the secondary instance at some point. Even
>> though these machines share a common voicemail database, asterisk isn't
>> aware that a voicemail now exists in the database and thus tells the phone
>> there are no messages. Clearing the phones MWI indications. The phone then
>> registers to the primary again rinse/repeat.
>>
>> Is there a way to force asterisk to somehow get an update when a
>> voicemail is dropped in the database? If I manually delete a voicemail from
>> the database via SQL commands asterisk does seem to pick it up shortly
>> thereafter. But it doesn't seem to learn that new voicemails are available.
>> Any help would be greatly appreciated. Thank you!
>>
>
> There is polling functionality[1] which may work. It's not instant, it
> will update based on the frequency.
>
> [1]
> https://github.com/asterisk/asterisk/blob/18/configs/samples/voicemail.conf.sample#L190
>
> --
> Joshua C. Colp
> Asterisk Project Lead
> Sangoma Technologies
> Check us out at www.sangoma.com and www.asterisk.org
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at:
> https://community.asterisk.org/
>
> New to Asterisk? Start here:
>   https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Force voicemail check / MWI generation

2022-11-18 Thread Joshua C. Colp
On Fri, Nov 18, 2022 at 9:53 AM Nick Olsen  wrote:

> Hello,
>
> I've got a handful of servers running asterisk 16 currently with voicemail
> stored in a database via ODBC.
>
> Some users register to multiple servers and I'm having an issue with MWI.
>
> Specifically Polycom phones seem to not be able to use two different MWI
> sources. So in my immediate instance, a voicemail is left on the primary
> server. The primary server generates the requisite notify and properly sets
> the phone's MWI light and makes an audible MWI sound.
>
> The phone then re-registers to the secondary instance at some point. Even
> though these machines share a common voicemail database, asterisk isn't
> aware that a voicemail now exists in the database and thus tells the phone
> there are no messages. Clearing the phones MWI indications. The phone then
> registers to the primary again rinse/repeat.
>
> Is there a way to force asterisk to somehow get an update when a voicemail
> is dropped in the database? If I manually delete a voicemail from the
> database via SQL commands asterisk does seem to pick it up shortly
> thereafter. But it doesn't seem to learn that new voicemails are available.
> Any help would be greatly appreciated. Thank you!
>

There is polling functionality[1] which may work. It's not instant, it will
update based on the frequency.

[1]
https://github.com/asterisk/asterisk/blob/18/configs/samples/voicemail.conf.sample#L190

-- 
Joshua C. Colp
Asterisk Project Lead
Sangoma Technologies
Check us out at www.sangoma.com and www.asterisk.org
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] Force voicemail check / MWI generation

2022-11-18 Thread Nick Olsen
Hello,

I've got a handful of servers running asterisk 16 currently with voicemail
stored in a database via ODBC.

Some users register to multiple servers and I'm having an issue with MWI.

Specifically Polycom phones seem to not be able to use two different MWI
sources. So in my immediate instance, a voicemail is left on the primary
server. The primary server generates the requisite notify and properly sets
the phone's MWI light and makes an audible MWI sound.

The phone then re-registers to the secondary instance at some point. Even
though these machines share a common voicemail database, asterisk isn't
aware that a voicemail now exists in the database and thus tells the phone
there are no messages. Clearing the phones MWI indications. The phone then
registers to the primary again rinse/repeat.

Is there a way to force asterisk to somehow get an update when a voicemail
is dropped in the database? If I manually delete a voicemail from the
database via SQL commands asterisk does seem to pick it up shortly
thereafter. But it doesn't seem to learn that new voicemails are available.
Any help would be greatly appreciated. Thank you!
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users