I think I found the solution/work around:

Updated wiki.
http://wiki.freeswitch.org/wiki/Mod_voicemail#2._Force_MWI_Info_in_Sofia

Regards,
MohammedShehzad

Double check your number-alias settings. I think you need the alphanumeric value in the id and the numeric value in the number-alias.

-MC

On Tue, Oct 26, 2010 at 11:33 AM, MohammedShehzad <pmhshz@gmail.com> wrote:
Hi,

I have already aliased the sip profile to the domain name used in
voicemail application call.

freeswitch@localhost.localdomain> sofia status

                    Name          Type
      Data      State
=================================================================================================
                internal       profile
sip:mod_sofia@192.168.1.33:5260      RUNNING (0)
                external       profile
sip:mod_sofia@192.168.1.33:5160      RUNNING (0)
            192.168.1.33         alias
  internal      ALIASED
=================================================================================================
2 profiles 1 alias


Voicemail application is called using below command:
For leaving voicemail:
<action application="voicemail" data="default ${domain_name}
${destination_number}"/>

For checking voicemail:
<action application="voicemail" data="check default ${domain_name}
${username}"/>

One more thing is that I am using number alias here in user directory.
sample user profile is like:
       <user id="654321" number-alias="05-0090E802668F">
Users are registered using alias '05-0090E802668F'. Will it cause any issue?

Thanks Anthony for prompt reply.

Regards,
MohammedShehzad



On Mon, Oct 25, 2010 at 10:35 PM, Anthony Minessale
<anthony.minessale@gmail.com> wrote:
> I hope either this sinks in or someone documents it because I have
> explained this numerous times.
>
> Either you need to supply the profile name to the voicemail app call
>
>  <action application="voicemail" data="check default ${domain_name}@internal"/>
>
> or
>
> you need to make sure your domain used in the call to voicemail
> (${domain_name} in the above example) is aliased to the sip profile
> you are using.
>
> you have obviously strayed from the default config where this works as
> expected by changing the domain name, the profile name, or the aliases
> to no longer align.
>
>
>
>
> On Mon, Oct 25, 2010 at 11:13 AM, MohammedShehzad <pmhshz@gmail.com> wrote:
>> Hi all,
>>
>> Is there any way I can configure FreeSWITCH, to send NOTIFY for
>> Voicemail's MWI to registered phones whenever new vm comes or deleted?
>> The issue is that FreeSWITCH sends NOTIFY to update mailbox status
>> only when phone re-register.
>> One way I can decrease the register expiry time on phones. But It
>> seems not proper way. I think NOTIFY should be sent independently when
>> message get received or deleted.
>>
>>
>> Regards,
>> MohammedShehzad
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users@lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale@hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888@conference.freeswitch.org
> googletalk:conf+888@conference.freeswitch.org
> pstn:+19193869900
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>