arnaudcoquelet / fusionpbx

Automatically exported from code.google.com/p/fusionpbx
0 stars 0 forks source link

Non-numeric extensions should set "MWI Account" to numeric voicemail ID #847

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create an extension with a non-numeric name, eg "123_cisco"
2. Set the numeric ID to "123"
3. Enable voicemail
4. Register the extension with a phone (I tried Cisco 7491 and a Zoiper 
softphone)
5. See whether the phone registers message waiting indicators.

What is the expected output? What do you see instead?

I expect to see the message waiting light or notification come on to indicate 
that there is voicemail. 

I expect that you should see SIP notify messages when "sofia profile internal 
siptrace on" has been set in fs_cli

Instead I see neither. 

What version of the product are you using? On what operating system?

FusionPBX 3.7.1 updated to r7787
FreeSWITCH 1.4.14 git ca1d990
Debian Wheezy 32 bit 

Please provide any additional information below.

If I set the extension to be numeric then MWI notifications go through. 

If I manually set the "MWI Account" setting to 123@<domain> then MWI works. 

I do not have a patch, but I feel that the logic should be something like: 
- If the mwi-account has a setting leave it alone
- else if the voicemail extension does not match the extension name set 
mwi-account to the extension 

(I do not know what to do about updating an extension and changing the name, 
however.)

Original issue reported on code.google.com by theworki...@gmail.com on 8 Feb 2015 at 5:49