XML scripts updated?

donhwyo

Joined
Aug 8, 2008
Messages
293
Likes
0
Points
0
#1
Hi Aastra 1
I see in some other forums that the scrips now have a patch level of 3. Shouldn't you update the install instructions here also? Not sure what has been fixed.

Code:
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
Also see you are working on a new version, how is that coming and what improvements are in the works?

Thanks,
Don

PS: The install scrips give some warnings about 64 bit but seem to work anyway. Using Elastix 1.6 beta.
 

aastra1

Joined
Mar 5, 2009
Messages
46
Likes
0
Points
0
#2
Hello donhwyo,

You are right a 3rd patch is available for the XML scripts, it has been developped to make the scripts compatible with 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:

Code:
[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.

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:

Code:
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.

Now based on this information, you can decide if you want to upgrade or not. A new version of the scripts will be released by the end of this year.

Regards

aastra1
 

donhwyo

Joined
Aug 8, 2008
Messages
293
Likes
0
Points
0
#3
Thanks for the update.

Don
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,916
Messages
130,922
Members
17,598
Latest member
giornaso
Top