Interesting.
I went in and added those lines in the section: from-internal-custom and the vmail extention started working.
Looking at that section it is where all the nerd vittles goodies are setup.
Is there any way to get these scripts to look at without installing?
Have you tried *79 from that phone? Aastra should track that...
Function DEVSTATE not registered
*7641@ext-dnd-hints : Custom:DEVDND41 State:Unavailable Watchers 0
*76403@ext-dnd-hints : Custom:DEVDND403 State:Unavailable Watchers 0
*76402@ext-dnd-hints : Custom:DEVDND402 State:Unavailable Watchers 0
*76401@ext-dnd-hints : Custom:DEVDND401 State:Unavailable Watchers 0
*7640@ext-dnd-hints : Custom:DEVDND40 State:Unavailable Watchers 0
*7631@ext-dnd-hints : Custom:DEVDND31 State:Unavailable Watchers 0
*7630@ext-dnd-hints : Custom:DEVDND30 State:Unavailable Watchers 0
*7628@ext-dnd-hints : Custom:DEVDND28 State:Unavailable Watchers 0
*7627@ext-dnd-hints : Custom:DEVDND27 State:Unavailable Watchers 0
*7625@ext-dnd-hints : Custom:DEVDND25 State:Unavailable Watchers 0
*7624@ext-dnd-hints : Custom:DEVDND24 State:Unavailable Watchers 0
*7623@ext-dnd-hints : Custom:DEVDND23 State:Unavailable Watchers 0
*7622@ext-dnd-hints : Custom:DEVDND22 State:Unavailable Watchers 0
*7621@ext-dnd-hints : Custom:DEVDND21 State:Unavailable Watchers 0
*7620@ext-dnd-hints : Custom:DEVDND20 State:Unavailable Watchers 0
root@pbx:/etc/asterisk $ grep DEVSTATE *
extensions_additional.conf:CFDEVSTATE = TRUE
extensions_additional.conf:FMDEVSTATE = TRUE
extensions_additional.conf:DNDDEVSTATE = TRUE
Please have a look at the post I just made explaining how the DND works.I too am having the LED issue, the leds for DND, CFWD, day / night and Agent login dont seem to update unless you reboot the phone.
How did you change the phone configuration to add the general vm box? If you used the Web UI to do it, it will not be taken into account by the scripts. As explained in the script documentation, you either need to change the profile used by the phone then logout/login, add an entry in custom-user.prf then logout/login or modify the phone MAC.cfg and reboot the phone.The voicemail button works perfect, but a 2nd vmail button for a general mailbox does not light up at all (i am specifying the user=my-general-vmbox).
#/var/www/html/aastra/utilities/read_context 300 vmail
Application vmail
Array
(
[300] => Array
(
[key] => softkey4
[label] => Voice Mail
)
[999] => Array
(
[key] => softkey5
[label] => General
)
)
#/var/www/html/aastra/utilities/read_context vmail
Application user
Array
(
[999] => Array
(
[status] => on
[count] => 0
[msg] => 0
[user] => Array
(
[0] => 300
)
)
[300] => Array
(
[status] => off
[count] => 0
[msg] => 0
[user] => Array
(
[0] => 300
)
)
)
I am running it on 2 different systems, same behavior:
57i 2.6 firmware
xml-scripts 2.3 beta5
asterisk 1.4.32 and 1.4.33
freepbx 2.7
I tried both with and without devstate enabled.
Some distros are providing Asterisk 1.4 compiled with the DEVSTATE back port so it make sense. If DEVSTATE is activated in amportal.conf it definitely has an impact as the scripts will work differently. So you have to make sure that if USEDEVSTATE is enabled in amportal.conf it actually works or the scripts will not work.Also what is the point of devstate on asterisk 1.4? It is not included in 1.4 , so if this is enabled in amportal.conf, does it affect anything? I have installed the 1.4 backports for funcdevstate, so in my case it would be accurate.
So far the only thing I can come up with is this error in the 'full' log file:
Code:Function DEVSTATE not registered
If DEVSTATE was working you should have (example for extension 403)in the 'full' logs. The 'core show hints' command shows:
Code:*76403@ext-dnd-hints : Custom:DEVDND403 State:Unavailable Watchers 0 ...
*76403@ext-dnd-hints : Custom:DEVDND403 State:Idle Watchers 0
403@ext-local : SIP/300&Custom:DND40 State:Idle Watchers 0
Link up your team and customers Phone System
Live Chat
Video Conferencing
Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.
Check your inbox!
We’ve sent you an email. Click on the button in the email body to verify your email address – (if you can not find it, check your spam folder).
Upon verification you will be directed to the 3CX setup wizard.