All,
As promised, we spent the time to adapt the XML scripts 2.2.1 with Trixbox CE 2.8 (Asterisk 1.6). As you know Asterisk has a lot of changes in 1.6 which are impacting the XML scripts such as:
- New Originate permission in manager.conf to allow an AGI client to originate a call
- "show parkedcalls" manager command replaced by "parkedcalls show"
- "show channel" manager command replaced by "core show channel"
- variable parsing for the originate command from "|" to ","
- "show voicemail users" manager command replaced by "voicemail show users"
- Return format from the parkedvalls command
- and more...
Upgrade Directions
Modify "/etc/asterisk/manager.conf"
Add 'originate' as a read/write to the [admin] entry which is the manager user used by freePBX and the Aastra XML scripts, the file should look like this:
[admin] secret = amp111 deny=0.0.0.0/0.0.0.0 permit=127.0.0.1/255.255.255.0 read = system,call,log,verbose,command,agent,user,originate write = system,call,log,verbose,command,agent,user,originate
Modify "/etc/asterisk/voicemail.conf"
As the visual voicemail is modifying the voicemail content outside of the voicemail TUI, you need to have "pollmailboxes=yes" in the [general] section. It is not defaulted this way with TCE 2.8.
Install the patch 3
Patch 1 and Patch 2 are included in Patch 3 so Patch 3 can be installed whatever the status of the installed scripts is.
On the console
cd /tmp wget http://65.205.71.13/2.2.1/aastra-xml-scripts-2.2.1-patch-3.run chmod +x aastra-xml-scripts-2.2.1-patch-3.run ./aastra-xml-scripts-2.2.1-patch-3.run
You need to reboot the server in order to restart the daemons.
Patch 3 Release Notes
Patch 3 is cumulative and includes Patch 1 and Patch 2 changes.
Files changed
include/AastraAsterisk.php
- Potentially problematic trace removed
- Cannot unnotify return status if voice message notification
- Signature mechanism disabled for 'deviceanduser' mode
- Compatibility with Asterisk 1.6
include/AastraCommon.php
- Compatibility with Asterisk 1.6
include/AastraIPPhone.class.php
- Various locks on 9133i/480i/480iCT in applications making an incoming phone call or dialing out (Visual VM, Visual Parking...)
aastra/aastra_daemon2
- Compatibility with Asterisk 1.6
aastra/away.php
- Various locks on 9133i/480i/480iCT in applications making an incoming phone call or dialing out (Visual VM, Visual Parking...)
- Compatibility with Asterisk 1.6
aastra/directory.php
- Various locks on 9133i/480i/480iCT in applications making an incoming phone call or dialing out (Visual VM, Visual Parking...)
aastra/music.php
- Various locks on 9133i/480i/480iCT in applications making an incoming phone call or dialing out (Visual VM, Visual Parking...)
- Compatibility with Asterisk 1.6
aastra/notify.php
- Compatibility with Asterisk 1.6
aastra/park.php
- Various locks on 9133i/480i/480iCT in applications making an incoming phone call or dialing out (Visual VM, Visual Parking...)
asterisk/sync.php
- Potentially problematic trace removed
asterisk/vmail.php
- Various locks on 9133i/480i/480iCT in applications making an incoming phone call or dialing out (Visual VM, Visual Parking...)
- Messages now sorted by date (most recent one first)
- Wrong page number for the forward option
- On 480i/480iCT random 'Page Load error' when selecting a user for forward
- Allow DTMF passthrough for message control when playing message (4=Rewind 2s, 6=Fast forward 2s, 0=Stop, 5=Pause/Play,1=Restart), 2.x phones only.
- Compatibility with Asterisk 1.6
asterisk/startup.php
- Forced logout did not update MAC.cfg when 1.4.x phone non connected.
There are no config files changed by the patch so no need to backup before upgrading.
Please let us know if you find any problem with the patch, we tried to test the best we can but bugs might have escaped :-)
Regards


Member Since:
2006-11-06