Need help implementing SLA(shared line appearance)

Hello,
I have read the doc/sla.pdf, and a couple of blog posts about setting up sla. I have followed them and cannot get it working. Here is my setup, also SIP/525 is an extension that on my system.
1.
sla.conf
2.
[line1]
3.
type=trunk
4.
trunk => Zap/1
5.

  1. [525]

  2. type => station

  3. device => SIP/525

  4. trunk => line1

  5. context => internal

  6. extensions.conf

  7. [line1]

  8. exten => s,1,SLATrunk(line1)

  9. [sla_stations]

  10. exten => 525,1,SLAStation(525)

  11. exten => 525_line1,1,SLAStation(525_line1)

  12. exten => 525_line1,hint,SLA:525_line1

  13. asterisk*CLI> sla show trunks

  14. asterisk*CLI>

  15. =============================================================

  16. === Configured SLA Trunks ===================================

  17. =============================================================

  18. ===

  19. =============================================================

  20. asterisk*CLI> sla show stations

  21. asterisk*CLI>

  22. =============================================================

  23. === Configured SLA Stations =================================

  24. =============================================================

  25. ===

  26. ============================================================

I upgraded to the newest zaptel and asterisk versions and everything works now. I was using asterisk-1.4.17 and zaptel-1.4.8, so maybe there is a bug in the old asterisk version…