Aastra XML scripts 2.3.0 Beta

Hey Aastra1,

With the directory function, I see there is a way to pull the data from an odbc source. Do you have some documentation on how to do this.

Thanks

Rob
 
We are getting ready to deploy a number of 57i's and are having a problem where the screen is not updating after a login/logoff. We're using device and user mode, and although the login is good, the screen stays with the device number and the login prompt. A reboot of the phone refreshes the screen to the correct state displaying username, extension etc. or device ID.

The problem does not seem to be related to the devstate, since the DND, followme, parking lot, etc. work correctly. Both of the daemon are running, etc.

asterisk 1.6.2.9
firmware - 2.6.0.66
beta6 scripts

We've already reinstalled scripts, firmware, etc.

TIA,

Carlos.
 
ODBC directory

Hey Aastra1,

With the directory function, I see there is a way to pull the data from an odbc source. Do you have some documentation on how to do this.

Hi Rob,

Unfortunately ODBC is not supported, you are the first one to ask... One of the reason is that we cannnot make a source code working out of the box as there is no standard database format.
This being said, you can "easily" adapt the LDAP directory application to support ODBC (php-odbc required), you just need to rewrite the query function to connect to your ODBC database with the right driver and return the results of the query as an array.

Sorry.

Regards

aastra1
 
RE: Carlosmp

We are getting ready to deploy a number of 57i's and are having a problem where the screen is not updating after a login/logoff. We're using device and user mode, and although the login is good, the screen stays with the device number and the login prompt. A reboot of the phone refreshes the screen to the correct state displaying username, extension etc. or device ID.

The problem does not seem to be related to the devstate, since the DND, followme, parking lot, etc. work correctly. Both of the daemon are running, etc.

asterisk 1.6.2.9
firmware - 2.6.0.66
beta6 scripts

We've already reinstalled scripts, firmware, etc.

The login/logout process in deviceanduser mode does not rely on devstate but on Userevents, the Userevent can be generated by the XML scripts or by user_loginout.agi when dialing *11 or *12. If the logout fails that means that the daemon is not properly receiving the event from user_loginout.agi.

Just to make sure, have you replaced the user_loginout.agi from freePBX by the one we provide at http://65.205.71.13/2.3.0?

We would probably need some traces to investigate further what's going on on your platform. Maybe we just go pm for the follow-up and publish what fixed the problem?

The XML scripts 2.3.0 are now GA so no more changes in the main stream.

Regards

aastra1
 
CSV Directory Not working

Am I missing something as far as changes to the csv directory. It doesn't appear to be working. Not even with the stock file.

Has it changed?

Thanks
 
RE: CSV directory

Am I missing something as far as changes to the csv directory. It doesn't appear to be working. Not even with the stock file.
Has it changed?

Yes you must have missed something, we have changed the concepts of the directory applications unifying CSV, LDAP and PBX via a central application. Now you must configure all the types of directories you plan to use in directory.conf, so in the csv directory, the "source" parameter is no longer the name of the csv file it represents the name of the entries in "directory.conf". Everything is detailed in the documentation.
So if you want to use the "stock" csv file just create a key pointing to
Code:
http://MYSERVER/aastra/directory/csv_directory.php?source=Contacts&user=$$SIPUSERNAME$$
Where Contacts is configured in directory.cong this way
Code:
[Contacts]
label=Contacts
type=csv
location=/var/cache/aastra/contacts.txt
password=
speed=1

Should work for you this way. We did that to allow multiple type of directories to be mixed on the same platform.

Regards

aastra1
 
The login/logout process in deviceanduser mode does not rely on devstate but on Userevents, the Userevent can be generated by the XML scripts or by user_loginout.agi when dialing *11 or *12. If the logout fails that means that the daemon is not properly receiving the event from user_loginout.agi.
The logout event is correct, it's just the display on the phone that is not updating. If the phone is rebooted, the correct status is displayed.

Just to make sure, have you replaced the user_loginout.agi from freePBX by the one we provide at http://65.205.71.13/2.3.0?
No, should we be using that one?

The XML scripts 2.3.0 are now GA so no more changes in the main stream.

I will attempt to use the final and see if anything changes...
 
Re: Carlosmp

The logout event is correct, it's just the display on the phone that is not updating. If the phone is rebooted, the correct status is displayed.
That's not what I am saying the agi script generates a manager event that is retrieved by aastra_daemon1 which triggers an update on the phone. This mechanism seems to fail in your case probably because the manager event is not properly formatted.

No, should we be using that one?
Definitely there is a bug in the freePBX stock version for the manager event generation with certain versions of Asterisk 1.6, you definitely need to install it.

I will attempt to use the final and see if anything changes...

OK let us know if it works for you.

Regards

aastra1
 
That's not what I am saying the agi script generates a manager event that is retrieved by aastra_daemon1 which triggers an update on the phone. This mechanism seems to fail in your case probably because the manager event is not properly formatted.


Definitely there is a bug in the freePBX stock version for the manager event generation with certain versions of Asterisk 1.6, you definitely need to install it.



OK let us know if it works for you.

Regards

aastra1

I thought that one of the Beta5/6 fixed the issue with the login/logout events. I loaded the final version with the agi login/logoff and it seems to be working correctly now. Thanks.
 
Re: carlosmp

I thought that one of the Beta5/6 fixed the issue with the login/logout events. I loaded the final version with the agi login/logoff and it seems to be working correctly now. Thanks.

Yes we fixed the issue of login/logout as a whole with beta5 but we discovered later on a bug in the "stock" freePBX script with Asterisk 1.6 so we are glad to hear that it works for you now.

Regards

aastra1
 
Phones show no service...

Hello,

I recently upgraded a test VM with 2 57i's connected (VM is remote in a datacenter, phones are in my office) to the latest stable scripts.

I'm using PBXiAF 1.4, Asterisk 1.4.21.2, FreePBX 2.7.0.5, and Firmware 2.6.0.1007 on the phones.

Everything seemed fine for a short while, then the phones both showed 'No Service' on the display.

All the functions appear to work (DND, Follow-Me etc), I can still make outgoing calls, however inbound calling is not working, and the phones show as unreachable in asterisk info.

I had custom context enabled, I removed it and the issue is still there.

I had one of the phones registered to two extensions on the same server, I removed the second registration, same issue.

Any ideas as to why this might be happening? I was running the previous release of the scripts in an identical setup for the longest time with no issues at all.

Thanks for any suggestions, and thank you kindly for the wonderful work.

PP
 
Alas..

...as I was scratching my head, wandering around the place trying to figure out why I was foolish enough to start messing around with things on a Friday night, I happened to glance at the closet which houses my networking equipment.

Oddly enough, the router was lit up like it was Christmas, flashing away like crazy.

Ignoring my girlfriend's patient requests that I start up the BBQ, I stifle my own hunger and jump on to speedtest.net. Just a quick speedtest, I thought, although it was nothing but quick... horrible response time and dial-up like speeds.

Aha, so there must be a problem with the internet... so I cruise over to the living room to see my girlfriend, who is sitting on the couch in front of the media center, to ask her if she notices anything...

"Funny you should say that", she remarks. "These torrents are downloading super fast!"

Sigh... I've created a monster...
 
Is anyone using these scripts on a remote aastra 57i's. If so do the LED lights function for you on the remote phone?
 
hi astra i am running piaf 1.7.5, with 57i CT and regular phone . I got 2.3.0 stable script installed them ok updated your login agi script everthing worked fine. I updated the firmware on the phone to the latest. OCT 2010. Then updated freepbx from 2.6 to 2.7 everything worked fine I believe with login logout. When updated to freepbx 2.8 now login /log out doesn't work . It` it because the update of freepbx replaced again the login.agi scripts ?

What is the most stable combination in terms of PIAF version, Phone firmware, FreePBX version and Asterisk ? I want something that works completely for a production environment for a new client.

Thanks a lot guys
 

Members online

Forum statistics

Threads
26,687
Messages
174,411
Members
20,257
Latest member
Dempan
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.
Back
Top