I'm attempting to setup several of the XML applications on my Aastra 6731i phones. I'm running the current version of Trixbox with all available updates. I have gone through all of the documentation provided by Aastra regarding XML, but I can't seem to find much of anything that pertains to the 6731i phone specifically. In /var/www/html/aastra/asterisk/demo-user.prf, I do see some settings specific to the 6731i - however, these settings consume all of the programmable keys on the phone. If I understand the documentation correctly, I should be able to locate all of my XML applications under the Services key using the Global Menu application. So far, nothing I have tried will make this work completely. The closest I have come is by putting the following in my aastra.cfg file:
prgkey8 type: xml
prgkey8 value: http://192.168.101.10/aastra/menu/mymenu.php?menu_source=trixbox
xml application post list: 192.168.101.10
xml get timeout: 30
action uri registered: http://192.168.101.10/aastra/register.php?user=$$SIPUSERNAME$$
action uri incoming: http://192.168.101.10/aastra/incoming.php?number=$$REMOTENUMBER$$&name=$$INCOMINGNAME$$&user=$$SIPUSERNAME$$
action uri onhook: http://192.168.101.10/aastra/onhook.php?number=$$REMOTENUMBER$$&name=$$INCOMINGNAME$$&user=$$SIPUSERNAME$$
xml application title: "Applications"
xml application uri: http://192.168.101.10/aastra/menu/mymenu.php?menu_source=trixbox
The following is in my trixbox.menu file:
[RESERVED]
title=XML applications
[World Clock]
title=World Clock
info=Get the current date and time in the major cities in the world.
uri=http://$$AA_XML_SERVER_AA$$/$$AA_XMLDIRECTORY_AA$$/clock/clock.php
param=user
[Area Code]
title=Area Code
info=Get the list of the cities attached to a area code.
uri=http://$$AA_XML_SERVER_AA$$/$$AA_XMLDIRECTORY_AA$$/area/area.php
[Local Weather]
title=Local Weather
info=RSS feed to access weather for a given zip code
uri=http://$$AA_XML_SERVER_AA$$/$$AA_XMLDIRECTORY_AA$$/weather/weather.php
Aastra9112i=no
Aastra9133i=no
param=user
[SugarCRM]
title=SugarCRM
info=SugarCRM Contact Directory
uri=http://$$AA_XML_SERVER_AA$$/$$AA_XMLDIRECTORY_AA$$/asterisk/sugarCRM.php?user=$$SIPUSERNAME$$
param=user
[Parking]
title=Parking
info=Access to the parked calls on the platform
uri=http://$$AA_XML_SERVER_AA$$/$$AA_XMLDIRECTORY_AA$$/asterisk/park.php
[Speed Dial]
title=Speed Dial
info=Server side Speed Dial
uri=http://$$AA_XML_SERVER_AA$$/$$AA_XMLDIRECTORY_AA$$/directory/speed.php?user=$$SIPUSERNAME$$
param=user
Note that this configuration allows for the Services key to act strictly as an Applications key, and the only applications that show up on the phone are Area Code and Local Weather.
Does anyone have any suggestions for how I may make this work better? I do not want to have all of these apps consuming the programmable keys of the phone, if I can help it.
Thanks!
Member Since:
2009-02-24