Hello!

 

I have two users in a group that share a mailbox. After numerous messages going in and out, when one of the phones isn't used, the message count for the two users doesn't match.

Here's what I got from freeswitch.log:

[DEBUG] mod_voicemail.c:2806 Deliver VM to 101@default

[DEBUG] mod_voicemail.c:1923 Update MWI: Processing for 101@default in inbox

[DEBUG] mod_voicemail.c:1946 Update MWI: Messages Waiting yes

[DEBUG] mod_voicemail.c:1947 Update MWI: Update Reason NEW

[DEBUG] mod_voicemail.c:1948 Update MWI: Message Account 101@default

[DEBUG] mod_voicemail.c:1949 Update MWI: Voice Message 1/0

[DEBUG] mod_voicemail.c:2806 Deliver VM to 100@default

[DEBUG] mod_voicemail.c:1923 Update MWI: Processing for 100@default in inbox

[DEBUG] mod_voicemail.c:1946 Update MWI: Messages Waiting yes

[DEBUG] mod_voicemail.c:1947 Update MWI: Update Reason NEW

[DEBUG] mod_voicemail.c:1948 Update MWI: Message Account 100@default

[DEBUG] mod_voicemail.c:1949 Update MWI: Voice Message 17/0

 

and the user configuration, along with the dialplan extension:

 

<user id="100" mailbox="100">

<params>

<param name="vm-enabled" value="true"/>

<param name="password" value="1234"/>

<param name="vm-password" value="1234"/>

</params>

<variables>

<variable name="user_context" value="default"/>

<variable name="destinations" value="internal,local,national,international"/>

</variables>

</user>

<user id="101" mailbox="100">

<params>

<param name="vm-enabled" value="true"/>

<param name="vm-password" value="1234"/>

<param name="password" value="1234"/>

</params>

<variables>

<variable name="user_context" value="default"/>

<variable name="destinations" value="internal,local,national,international"/>

</variables>

</user>

 

<extension continue="False" name="Ring or leave a message">

<condition field="${destination_number}" expression="^my-number$" break="on-false">

<action application="set" data="hangup_after_bridge=true"/>

<action application="set" data="call_timeout=15"/>

<action application="set" data="vm_cc=100@{domain_name}"/>

<action application="set" data="skip_instructions=true"/>

<action application="bridge" data="${group_call(1000@${domain_name})}"/>

<action application="answer"/>

<action application="sleep" data="500"/>

<action application="voicemail" data="default ${domain_name} 101"/>

</condition>

</extension>

 

 

First time user 100 logged into the mailbox got a "17 new messages" prompt but after hanging up and redialling, he heard "0 new messages" and the log confirms that he hadn't delete any messages the first time.

 

Is this a matter of misconfiguration on the shared mailbox or there's something else I'm missing? Thanks!

 

Kind regards,

--

Iskren Hadzhinedev