Trouble with Aastra XML scripts for Trixbox CE 2.6

gardnersmith
Posts: 22
Member Since:
2007-11-24

I am running TB 2.6 CE in my lab. I followied the installation procedures for installing the new Aastra XML scripts and auto-discovery process. All appeared to install correctly with no issues or errors. When I connect an Aastra 480iCT to the network, I get a startup button on the screen, and then when pressed it takes me to the "Initial Startup" screen. After entering the extension, and vm password, entering the timezone, the phone stays in "Loading Page..." for about a minute or 2 and then goes back to the "startup" mode. It did not create a .cnf file in the tftp directory, as I understand the next process to be.

Anyone else seen this issue?

--

Gardner Smith



gardnersmith
Posts: 22
Member Since:
2007-11-24
Guess nobody else has seen

Guess nobody else has seen this. Is there an Aastra rep monitoring this forum?

Gardner Smith

--

Gardner Smith



igorek600
Posts: 93
Member Since:
2007-07-21
same here

I have the same issue, did you fined a way to fix it?



gardnersmith
Posts: 22
Member Since:
2007-11-24
Not yet. I did go from a

Not yet. I did go from a 2.4 installation to 2.6 via upgrade. I have decided to try and do a clean install of 2.6 and retry the process. I am wondering if the TB included aastra xml scripts are conflicting with the new Aastra provided xml scripts.

Gardner Smith

--

Gardner Smith



SkykingOH
Posts: 9675
Member Since:
2007-12-17
Completely remove the Aastra

Completely remove the Aastra software and the Aastra XML scriptes with yum. Then reinstall the software and scripts. Run the setup script and you should be good.

Scott

--

Scott

aka "Skyking"



igorek600
Posts: 93
Member Since:
2007-07-21
I did this and no go, still

I did this and no go, still the same problem, anything else could be done? Oh yeh it looks like xml scripts 1.1 could not be removed is there any other option to remove everything? like with use of samba and manually deleting folders?
Loading "installonlyn" plugin
Setting up Remove Process
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package aastra-ipphone.noarch 0:2.2.0-1 set to be erased
---> Package aastra-xml-scripts.noarch 0:1.1.0-1 set to be erased
---> Package aastra-xml-scripts.noarch 0:2.0.0-1 set to be erased
--> Running transaction check

Dependencies Resolved

Package Arch Version Repository Size

Removing:
aastra-ipphone noarch 2.2.0-1 installed 18 M
aastra-xml-scripts noarch 1.1.0-1 installed 292 k
aastra-xml-scripts noarch 2.0.0-1 installed 2.6 M

Transaction Summary

Install 0 Package(s)
Update 0 Package(s)
Remove 3 Package(s)

Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
rmdir: invalid option -- R
Try `rmdir --help' for more information.
error: %postun(aastra-xml-scripts-1.1.0-1.noarch) scriptlet failed, exit status 1

Removed: aastra-ipphone.noarch 0:2.2.0-1 aastra-xml-scripts.noarch 0:1.1.0-1 aastra-xml-scripts.noarch 0:2.0.0-1
Complete!



aastra2
Posts: 324
Member Since:
2006-10-05
If the xml package isn't

If the xml package isn't being removed correctly, you should be able to get round this problem by using rpm directly.

WARNING: the following is untested

As root type the following command:

rpm -e --noscripts aastra-xml-scripts-1.1.0-1

I'm not sure if that's the correct package name, but you can find that by running "rpm -qa" and greping for the the xml packages.

This will remove the 1.1.0 script package without running the post uninstall script, which is causing the problem. The uninstall script is just trying to remove the cache file, here is a corrected command (if you want to run it).

rm -rf /var/cache/aastra

--

----
Gareth

Firmware 2.5.1 available.
Download it from www.aastratelecom.com



igorek600
Posts: 93
Member Since:
2007-07-21
I did everything as you said

I did everything as you said and 1.1 script was removed, but I still get stock on time zones, loading page and no go... any other Ideas?



gardnersmith
Posts: 22
Member Since:
2007-11-24
Same Here

I did a re-image using the latest release. Still have the same issue. still get stuck on time zones, loading page and no go. This is frustrating. I am doing a a verbose of 5 v when on the asterisk console and when the ext and password and timezone is selected, the phone goes to loading page, and the asterisk console displays the following:

Verbosity is at least 12
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_additional.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Found
== Connect attempt from '127.0.0.1' unable to authenticate
trixbox1*CLI>

Gardner Smith

--

Gardner Smith



igorek600
Posts: 93
Member Since:
2007-07-21
FIXED

problem fixed please go to /etc/asterisk/phpagi.conf and make sure password is correct (the same as in /etc/asterisk/manager.conf) once you modify password, everything will work



gardnersmith
Posts: 22
Member Since:
2007-11-24
Thanks igorek600

This did the trick. Thanks for the info and response. Now that I have the phone working and registering with XML, do you have any good resources as to how to setup the WEB xml apps like weather, and or area code lookup?

Gardner Smith

--

Gardner Smith



aastra3
Posts: 102
Member Since:
2006-11-07
XML guide for trixbox

There is a document on setting up the scripts on tribox ce available on the aastra telecom website. Its not really an admin guide, more of a "how to".

http://www.aastratelecom.com/cps/rde/xchg/SID-3D8CCB6A-6CCE8122/0...

Cheers,

Kieran



igorek600
Posts: 93
Member Since:
2007-07-21
everything is setup , just

everything is setup , just hit services burton on your phone and go to applications, all of then is there. I had problems with free PBX after modifying files this way. I had to go to manager.conf, see which password I have there when go to freepbx, tools, asterisk api and add user with as admin and with password from manager.conf, after this go to PHPAGI config and select admin as user, apply configs and everything is working as it should. I think xml scripts have a bug somewhere not updating PHPAGI file.



bdis
Posts: 111
Member Since:
2007-01-04
I'm having the same problem

I'm having the same problem as listed above. Fresh 2.6.0.7 install.

I have tried all the above and it's still going back to the time zone selection screen.



bdis
Posts: 111
Member Since:
2007-01-04
The only thing I have in

The only thing I have in /var/cache/aastra/ is a music.cfg file



bdis
Posts: 111
Member Since:
2007-01-04
"problem fixed please go to

"problem fixed please go to /etc/asterisk/phpagi.conf and make sure password is correct (the same as in /etc/asterisk/manager.conf) once you modify password, everything will work"

What password are you changing where??

Contents of php.agi:

[phpagi]
debug=true
error_handler=false
admin=tbelanger@nexxtpeinc.com
hostname=ncom.nexxtepinc.com
tempdir=/tmp

[asmanager]
server=localhost
port=5038
username=
secret=

[fastagi]
setuid=false
basedir=/var/lib/asterisk/agi-bin/

[festival]
text2wave=/usr/bin/text2wave

[cepstral]
swift=/opt/swift/bin/swift
voice=David

== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_additional.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Found
== Connect attempt from '127.0.0.1' unable to authenticate



bdis
Posts: 111
Member Since:
2007-01-04
OK to clarufy:: In your

OK to clarufy::

In your /etc/asterisk/phpagi.cfg file you will need to:
change the secret= line under the asmanager heading to match what the secret= line is in the /etc/astersk/manager.cfg file under the admin heading

so...
If you mamager.cfg file looks like this:

[admin]
secret = password
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
write = system,call,log,verbose,command,agent,user

your phpagi.cfg file should look like this:

[asmanager]
server=localhost
port=5038
username=admin
secret=password



Norskman
Posts: 175
Member Since:
2006-06-02
Bug in script - Aastra and others beware

I switched on the Debug=1 option and the Trace=1 option in

/var/www/html/aastra/config/server.conf

If you do this, you will get the following synmtoms:
The phone will boot, will download firmware if required, will ask to authentiucate extension and password and lastly ask for Timezone information.

It then reboots and start the process all over. It never get to loading the XML files.

If you look in the /var/cache/aastra/start_up.cfg
you will see a fix 192.168.0.1 address and an Aastra55i set regardless of the IP address of your server or model of phone you are using.

SO DO NOT SET DEBUG MODE ON.

Well done sakodak for spotting this quickly.

These are great phones - well done

--

I specialise in Satellite services carrying data, video and voice. I can advise on services, design and requirements definitions...



KodaK
Posts: 1885
Member Since:
2006-06-14
Quote: /var/cache/aastra/star
Quote:
/var/cache/aastra/start_up.cfg

That should be /var/cache/aastra/startup_asterisk.cfg

It appears that "debug" mode is a non-functional mode. This is probably documented somewhere, but hopefully this will help someone else.

--

WARNING: I no longer actively participate in these forums. My thoughts on trixbox in a nutshell: http://www.youtube.com/watch?v=q4xBMkWu1pE Use AsteriskNOW instead.



citapinc
Posts: 245
Member Since:
2007-10-13
Aastra 57i CT Cordless Phone and Parking

I got everything setup and with the desktop phone everything works great. In fact, I love these Aastra 57 phones!

However my issue is with the cordless phones. Where do I program the cordless phones so a user can see who's parked and pickup a parked line?

Dean
Anaheim, CA



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.