SOLVED Using Old Aastra Setup Scripts

Discussion in 'Endpoints' started by rchalk, Aug 10, 2016.

  1. rchalk

    rchalk Member

    Joined:
    Feb 19, 2010
    Messages:
    266
    Likes Received:
    19
    I just set up a brand new server, with Incredible PBX 12.0.70, and that went OK. Now, I want to use the old Aastra scripts (modified for my own config). I installed them without issues, and ran the setup and check scripts, and everything necessary seems to pass OK as well.

    When I try to set up a phone, however, it does not appear to read the configuration files. The aastra.cfg file in tftpboot tries to force the phone to read startup.php, but nothing happens. I can't tell whether the phone sees the aastra.cfg file or not, and if it does, why it can't read the startup.php file and do the automatic configuration.

    Has anyone tried using these with current systems? If so, can you help me figure out what is wrong?

    Feel free to PM me if you do not want to discuss this in public forum.

    Thanks.
     
  2. briankelly63

    Joined:
    Nov 14, 2008
    Messages:
    1,401
    Likes Received:
    319
    Haven't used the Aastra's in awhile but it's ability to pull it's configs from the server is independent of the PBX version or files. You need to make sure the t*f*t*p server is running, I remember Ward saying something to the effect that on some later versions of PIAF it was not included so you'd have to install it yourself. The existence of the directory doesn't mean it's running. I think the Aastra's can send debugging output to a logging server, you'll have to look that up. Config files can also be on a separate server and accessed using http or t*f*t*p.

    (fix t-f-t-p on first link)
    http://wiki.freepbx.org/display/PPS/Enable+t*f*t*p+verbose+logging
    http://nerdvittles.com/?p=207
    http://pbxinaflash.com/community/threads/t-f-t-p-setup-for-incredible-pbx.17611/
     
    #2 briankelly63, Aug 10, 2016
    Last edited: Aug 10, 2016
  3. rchalk

    rchalk Member

    Joined:
    Feb 19, 2010
    Messages:
    266
    Likes Received:
    19
    OK, took me a little while to understand this, but now it is working.

    Thanks so much!!!
     
    briankelly63 likes this.
  4. Dean Penderghast

    Dean Penderghast New Member

    Joined:
    May 3, 2016
    Messages:
    13
    Likes Received:
    0
    RCHALK:

    I just moved a client from Trixbox and now I'm having issues getting their Aastra phones to work, especially the parking feature. Can you outline exactly what you transferred into your new server and what files you modified to get them working again?
     
  5. rchalk

    rchalk Member

    Joined:
    Feb 19, 2010
    Messages:
    266
    Likes Received:
    19
    I had two issues. First the script files were/are no longer available from the original sources, and second, the new install did not automatically install and start t*f*t*p server. If you'll send me your email address, I can send you the files you need, as well as a step-by-step on how to get them installed.
     
  6. Dean Penderghast

    Dean Penderghast New Member

    Joined:
    May 3, 2016
    Messages:
    13
    Likes Received:
    0
    You can reach me via email at deanp AT isasi DOT com. I'd really appreciate it.
     
  7. Yahdie

    Yahdie Guru

    Joined:
    Oct 16, 2009
    Messages:
    199
    Likes Received:
    7
    Can you do this for me too?
     
  8. rchalk

    rchalk Member

    Joined:
    Feb 19, 2010
    Messages:
    266
    Likes Received:
    19
    send me your email address, and I'll send you the info.
     
    Yahdie likes this.
  9. Yahdie

    Yahdie Guru

    Joined:
    Oct 16, 2009
    Messages:
    199
    Likes Received:
    7
    thanks! Via PM
     
  10. Yahdie

    Yahdie Guru

    Joined:
    Oct 16, 2009
    Messages:
    199
    Likes Received:
    7
    Thanks to rchalk I got this working except for Parking.
    when on a call, I push the PARK Button and I get error
    From Line#119
    Code:
    Aastra_Scripts / 2.3.1-1.noarch / var / www / html / aastra / asterisk / park.php 
    lgaetz/Aastra_Scripts
     
  11. mmmtl

    mmmtl New Member

    Joined:
    May 2, 2017
    Messages:
    3
    Likes Received:
    0
    Can you also send me the files and how to install them please (to mmmontreal AT gmail DOT com)? Thank you.
     
  12. rchalk

    rchalk Member

    Joined:
    Feb 19, 2010
    Messages:
    266
    Likes Received:
    19
    One new discovery. With 13-13, I could not get the configurations to load. I got a "File not found" on the phone screen. When I examined the aastra.cfg file which is created by running config-aastra-xml, I discovered that the server IP had been detected as 127.0.0.1, instead of the external IP of the server. Manual editing of the file (about 4-5 locations) to put the correct IP address, and now everything works as expected.

    (I may be the only one who still cares about these scripts, but they are SO convenient...)
     
    wardmundy likes this.
  13. kmcdaniel

    kmcdaniel Guru

    Joined:
    Jan 23, 2008
    Messages:
    312
    Likes Received:
    11
    On 13-13 how did you get aastra to grab the t*f*t*p files? Is there something to get t*f*t*p server working in PBX13?
     
  14. rchalk

    rchalk Member

    Joined:
    Feb 19, 2010
    Messages:
    266
    Likes Received:
    19
    The following was run to get t*f*t*p to work:

    yum install t*f*t*p t*f*t*p-server xinetd

    Depending on the installation, you may need to change the directory where t*f*t*p looks for files.
    nano /etc/xinetd.d/t*f*t*p
    Change "server args" to = -s /tftpboot
    set disable to no
    reboot

    Good luck
     
    wardmundy likes this.
  15. kmcdaniel

    kmcdaniel Guru

    Joined:
    Jan 23, 2008
    Messages:
    312
    Likes Received:
    11
    Thanks!
     

Share This Page