SUGGESTIONS Aastra XML 2.3.0 Scripts

aastra1

Aastra Guru
Joined
Sep 12, 2008
Messages
195
Reaction score
0
Active directory

I've been trying to get the directory application to get the names from AD, but I keep getting either wrong credentials or operations error. Here is the config from aastra/config/directory.conf

[AD]
label=Corporate Directory
type=ldap
password=
hostname=dc.domain.com
port=389
basedn=dc=domain,dc=com
userdomain=domain.com
username=DOMAIN\Username
userpassword=pass

Any help would be greatly appreciated.

I believe that your authentication issues come from the "userdomain" value. If to authenticate to AD you need to authenticate as DOMAIN\Username, the configuration should be as follows:

[AD]
label=Corporate Directory
type=ldap
password=
hostname=dc.domain.com
port=389
basedn=dc=domain,dc=com
userdomain=DOMAIN
username=Username
userpassword=pass

The script will recreate the DOMAIN\Username. ALso you should check the port usually AD uses port 3268.

Let us know if this solves your issue.

Regards

aastra1
 

patchmty

New Member
Joined
Jun 10, 2009
Messages
3
Reaction score
0
I believe that your authentication issues come from the "userdomain" value. If to authenticate to AD you need to authenticate as DOMAIN\Username, the configuration should be as follows:

[AD]
label=Corporate Directory
type=ldap
password=
hostname=dc.domain.com
port=389
basedn=dc=domain,dc=com
userdomain=DOMAIN
username=Username
userpassword=pass

The script will recreate the DOMAIN\Username. ALso you should check the port usually AD uses port 3268.

Let us know if this solves your issue.

Regards

aastra1
Tried it with the settings you recommend and still get the credentials error. I'm using my own user/pass for testing so I know the creds work.
 

ukstevef

Guru
Joined
Sep 20, 2009
Messages
134
Reaction score
0
Tried it with the settings you recommend and still get the credentials error. I'm using my own user/pass for testing so I know the creds work.
If your domain is dc.domain.com should the basedn be
Code:
basedn=[COLOR=Black]dc=dc[/COLOR],dc=domain,dc=com
 

Speedy2k

Member
Joined
Oct 11, 2008
Messages
387
Reaction score
0
Hello there,

As I like to say everything is doable... but that would be some significant work to achieve that, right now the preg/replace is static in the code. We would need to make it dynamic to perform the replacements.
Also I think that we should have in fact 4 variables:
  • full name
  • first letter of the first name
  • first name
  • last name
because if you want to display the name on a side car, there are some space limitation and you might end up displaying just the first name. I guess this would be more flexible.

I will have a look maybe it is not that difficult but it must be done at multiple places. Good last minute candidate for 2.3.1.

Regards

aastra1

Yes, that would be really awesome and maybe a way in FreePBX to send a ./apply_prf -r ALL on the side of the reload bar when change have been done.

There is 1 more things i have seen. When you receive a call, even if you answer it, it show on the screen as a missing call. So as soon as you got a call it is like you have missed call in the callers menu. This seems to be a firmware bug. When you answer the call it should be logged but not as not answered. And not on the main screen of the phone.
 

TheShniz

Guru
Joined
Nov 15, 2007
Messages
560
Reaction score
2
You need to change the code of asterisk/logout.php to do that. What I will do in 2.3.1 is that if auto-logout is not configured/supported you will not need to confirm the logout.

Yeah, I'm getting alot of grief from a particular site, that doesn't want to confirm logout & doesn't want to have to enter a password... they want the logout to logout immediately.

I've been screwing around w/ logout.php and the prf for a while, but can't seem to get it to go... any quick ideas that might help?

::updated::
Just wanted to mention that I know how to disable the password, and that auto-logout is not being used.

::solution::
To disable logout confirmation, change the whatever.prf from:
Code:
prgkey1 value: [URL]http://$$AA_XML_SERVER_AA$$/$$AA_XMLDIRECTORY_AA$$/asterisk/logout.php?user=$$SIPUSERNAME$$[/URL]
to:
Code:
prgkey1 value: [URL]http://$$AA_XML_SERVER_AA$$/$$AA_XMLDIRECTORY_AA$$/asterisk/logout.php?user=$$SIPUSERNAME$$&action=logout[/URL]
...that is, simply add '&action=logout' to the end of the line.
 

mdiorio

New Member
Joined
Oct 13, 2009
Messages
12
Reaction score
0
Problem with Login/Logout

I am using PBXIAF 1.7.5.5 with FreePBX 2.8.1.3 on asterisk 1.6.2.16.1 and the latest 2.3.0GA XML on a 9480i.

I'm in device/user mode. I can log into the device without any problem. My problem comes with the user login. When I go to log in, I enter my user user/password, and I see loguser201 and hear it say welcome. But then it goes right back to the main user login screen.

If I restart the phone after the "failed" log in attempt, it show that my user is actually logged in, and the phone works normally.

Now when I go to log out, I hit log out, I see logout and hear goodbye, but it returns me back to my screen and shows that I'm still logged in. If I press follow-me button, it says that the feature is not configured for your phone, so I am logged out.

Any ideas on why the screens are automatically refreshing?

Thanks.
 

TheShniz

Guru
Joined
Nov 15, 2007
Messages
560
Reaction score
2
Not to wish for the impossible, but... are you able to increase/remove the 50x BLF limit w/ the new firmware?

(I know this has been requested a thousand times before)
 

Socs28

New Member
Joined
Mar 5, 2010
Messages
54
Reaction score
0
Just to throw it out there

I'd like to second, or is that 1002nd :), the getting rid of the 50BLF limit as well as throw out the ability to have an expansion module and a headset using the DHSG. Currently, you have to use a lifter if you've got an expansion module. It is most commonly the people with the expansion modules that need headsets, so the best feature of the headsets should be available even with the expansion module. Just a thought.
 

TheShniz

Guru
Joined
Nov 15, 2007
Messages
560
Reaction score
2
Speaking of BLF's, I'm having probs at this new site w/ the consistency of the BLF's actually working... such that, the telephone after an an undisclosed time will just stop lighting the BLF's w/ no rhyme or reason. The station is a 6755i w/ 2x sidecars using 48x BLF's (and I know they're going to want to breach the 50x limit soon). Any ideas?

Using XML Scripts 2.3.0 w/ Firmware 2.6.0.2010 & Asterisk 1.6.2.16.1 in extension mode, also I've been using...

Amportal.conf
DYNAMICHINTS=true

Asterisk.conf
execincludes=yes

...should I not be?

I put them in there because originally I was going to use deviceanduser-mode and Philippe recommended the settings.

::updated::
USEDEVSTATE=true in amportal.conf as well.
 

euser4life

Guru
Joined
Dec 18, 2007
Messages
223
Reaction score
0
BLF issues as well

I have the same problem at a site that is using a two 6739i's with an expansion panel each. I have two of these (one for each operator). Approximately 27 blf keys. Using Asterisk 1.4.35. The "sip show subscriptions" show them if I use the Log out function and Log back in, however after a while they no longer subscribe properly. Even after a reboot of both the server and the phones they still will not subscribe properly. Only when I log out and log back in will they register for a little while. Very frustrating......

I have not tried the newest firmware yet since there are problems with the XML scripts
 

Socs28

New Member
Joined
Mar 5, 2010
Messages
54
Reaction score
0
Same problem

I had not been using dynamic hints prior to upgrading FreePBX to 2.9, which now tells me I should, so I tried it, and my phones don't subscribe without there being a hint, which won't be created until they subscribe...you get the circle...how do we get them to subscribe properly? Currently I have blfxfers setup in their prf file.
 

TheShniz

Guru
Joined
Nov 15, 2007
Messages
560
Reaction score
2
XML Scripts 2.3.0
Firmware 2.6.0.2010
Asterisk 1.6.2.16.1
FreePBX 2.8 (extension mode)
USEDEVSTATE=true (amportal.conf)

6755i w/ 2x M670i/536M Expansion Modules
Visual VM... phone immediately locks up when 'play' button pressed (only recourse: unplug phone to reboot), any ideas?
 

robeerski

New Member
Joined
Feb 18, 2009
Messages
5
Reaction score
0
No BLF for Voicemail

FreePBX 2.7
Asterisk 1.6.2.16.2
Aastra Scripts 2.3.0
Aastra Firmware 2.6.0.1007

The BLF associated with the Vmail.php button will not light when there is a voicemail.

The BLF works great on another PBX with everything being the same except it is running asterisk Ver 1.6.0. I wonder if Asterisk changed something in ver 1.6.2 that causes the daemon monitoring voicemail to break.

The park.php blf works as expected and so does everything else as far as I can tell. I wonder if anyone has seen this and maybe has a suggestion to fix it.
 

TheShniz

Guru
Joined
Nov 15, 2007
Messages
560
Reaction score
2
Yep, yep... good eye, just released! Although there aren't any release notes as yet, the firmware's readme lists these changes since .2010:

Code:
New/Fixes in Release 2.6.0.2019 (Released February 2011)
========================================================
DEF22513  SCA call-info with "," not correctly processed

New/Fixes in Release 2.6.0.2017 (Released February 2011)
========================================================
DEF21716/CLN23034 WebUI page load error using Win7 and IE8 when user quickly navigate multiple pages in short interval
DEF23183  Call sequence of INVITE with Diversion header and CANCEL may result in phone rebooting intermittently
 

rchalk

Active Member
Joined
Feb 19, 2010
Messages
403
Reaction score
55
Need help with scripts running on remote hosted server Please

I am running with a server from RentPBX.com. I have installed the Aastra configuration scripts on that server, and am trying to use them to auto-configure the phones. When booting, the phones allow for a remote configuration server, but when I try it, I get a server error message. I suspect this is a firewall or port problem, but I am not smart enough to figure it out. Is there anyone who has done this, or who can point me towards a solution?

Many thanks,
Richard

Thanks Ward.

The new Aastra XML scripts 2.3.0 are now GA thanks to all the PIAF users who helped us. All the official files are now hosted by PIAF.

For more details please refer to the documentation and you can also have a look at the beta thread.

Thanks again.

Regards

aastra1
 
Last edited by a moderator:

jebradley

Member
Joined
Oct 30, 2007
Messages
36
Reaction score
0
Can you hard code the voicemail password?

I recently upgraded my home system to PIAF purple, along with the 2.3.0 xml scripts for aastra phones.

On my previously installed setup, you could hard code the password for voicemail in the MAC_ADDRESS.cfg file, but in the new files, everything I've tried has been unsuccessful. It looks like the aastra.cfg file hasn't changed, but a whole lot of crap has been added to the MAC_ADDRESS.cfg file, that overwrites the setup from the aastra.cfg file (I prefer the original with AsteriDex and others, BTY.).

Is there a quick and easy way to hard code the password, so that all you have to do is hit the Voicemail button and it takes you to your messages? This is my wife's phone (57iCT), and she wants it simple, like an answering machine.
 

Speedy2k

Member
Joined
Oct 11, 2008
Messages
387
Reaction score
0
Just go in her voicemail from the Phone GUI and enable auto-login

It will go straight on!
 

Members online

Forum statistics

Threads
25,821
Messages
167,814
Members
19,246
Latest member
abuhyder
Get 3CX - Absolutely Free!

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.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top