BLF / Hint for 'Parking lot' extensions?

can anyone tell me how to get hints working for the Parking Lot extensions?

I’ve tried adding hint lines like
exten => 101,hint,park:101@parkedcalls

in various contexts via extensions-custom.conf, but all I ever get is ‘State:Unavailable’ when doing core show hints…
I use 100 for parking as I have other dial functions using 7 as a prefix.

System is Asterisk 1.4.11, Zaptel, Freepbx 2.3
(Also tried with 1.4.13 on another box, same result).


I just did the following on a test 1.4 system:

in extensions_custom.conf:

exten => 71,hint,park:71@parkedcalls

then setup parking on 70 with slots starting at 71, then park a call and do a “core show hints” and it showed it as “InUse”

On a related note - if you feel like modifying the parking module to create the hints when it detects Asterisk 1.4 is running, feel free and we can fold that into the module. Should be fairly straight forward. Nothing is need on 1.2 because the Metermaid patch creates the hints automatically.

Philippe Lindheimer - FreePBX Project Lead
http// - IRC #freepbx

Thanks Philippe.

That was me being dumb, I’d looked at several sites trying to find the correct format & used
exten => 101,hint,Local/101@parkedcalls
in my setup.

I’d then got the (correct) example with ‘park:’ rather than ‘local/’ when asking the question and not noticed the difference…

I am alos using blf lights on the parking lot, but when i restart asterisk all BLF lights for parking leds are "busy"
I have to park en unpark a phone to get the right status.

Do you also have this problem?
if no would you be so kind and review my settings and check what’s different…

include parkedcalls

exten => 701,hint,park:701@parkedcalls
exten => 702,hint,park:702@parkedcalls
exten => 703,hint,park:703@parkedcalls
exten => 704,hint,park:704@parkedcalls
exten => 705,hint,park:705@parkedcalls
exten => 706,hint,park:706@parkedcalls

exten => 701,1,ParkedCall(701)
exten => 702,1,ParkedCall(702)
exten => 703,1,ParkedCall(703)
exten => 704,1,ParkedCall(704)
exten => 705,1,ParkedCall(705)
exten => 706,1,ParkedCall(706)

I also tried to put the hints into the default section… same result…

has this module been modified yet?


you mean for adding hints for 1.4 Asterisk installs (since 1.2 metermaid patch adds them for you already)? No it has not. Someone should do it and put a patch up on the system so I can review and include it, unless someone want to pay to have it done, it is not hard, just needs doing and testing. Hmm - it may need the hint class extended too, can’t recall.

Philippe Lindheimer - FreePBX Project Lead
http// - IRC #freepbx