Skip to main content

Additional Parking Lot BLF

Posted by acraft on Fri, 07/30/2021

I've successfully created an additional parking lot for a tenant (710), but can't seem to get the BLF working. I park a call using code 710, and it parks in spot 711, but the BLF indicator doesn't change on a phone. Currently running MTE I've seen posts about adding hints, but couldn't make that work after several attempts.

Below are what I currently have in each file, anyone have some guidance for getting BLFs to work for these?


include => parkedcalls-thirdlane-additional
include => local-extensions-thirdlane

exten => 710,1,Park(parkinglot_thirdlane_additional)
exten => 711,1,Macro(tl-parkedcalls,parkinglot_thirdlane_additional,711)
exten => 712,1,Macro(tl-parkedcalls,parkinglot_thirdlane_additional,712)
exten => 713,1,Macro(tl-parkedcalls,parkinglot_thirdlane_additional,713)


parkpos => 711-713
context => parkedcalls-thirdlane-additional
parkingtime => 180
comebacktoorigin = no
;comebackdialtime = 30
comebackcontext = tl-from-call-park
findslot => first ; next/first
;parkedmusicclass = default

Thanks in advance!


Submitted by volodya on Fri, 07/30/2021 Permalink

Hello Andrew,

Just to confirm do you subscribe to 711-713?

You will also need to add hint for each parking lot number. Required dialplan fragment should look something like this:
exten => 711,hint,park:711@parkedcalls-thirdlane
exten => 712,hint,park:712@parkedcalls-thirdlane
exten => 713,hint,park:713@parkedcalls-thirdlane

Please note that newer v11 now allows you to create as many parking lots as needed.

Submitted by acraft on Fri, 07/30/2021 Permalink

Thanks, Volodya. I added those lines to user_extensions.include, but I'm still not getting the BLF. Is there somewhere else it should be?

Submitted by acraft on Fri, 07/30/2021 Permalink

Yes, I reloaded the dialplan. Below are the results of "dialplan show subscriptsions-thirdlane"

[ Context 'subscriptions-thirdlane' created by 'pbx_config' ]
'1001' => hint: SIP/1001-thirdlane&Custom:C1001-thirdlane [pbx_config]
'700' => hint: &Custom:C700-thirdlane [pbx_config]
'701' => hint: park:701@parkedcalls-thirdlane [pbx_config]
'702' => hint: park:702@parkedcalls-thirdlane [pbx_config]
'703' => hint: park:703@parkedcalls-thirdlane [pbx_config]
'710' => hint: &Custom:C710-thirdlane [pbx_config]
'711' => hint: park:711@parkedcalls-thirdlane [pbx_config]
'712' => hint: park:712@parkedcalls-thirdlane [pbx_config]
'713' => hint: park:713@parkedcalls-thirdlane [pbx_config]
'_X.' => hint: ${REALTIME_FIELD(hints,exten,${EXTEN}-thirdlane,channels)}&Custom:C${EXTEN}-thirdlane [pbx_config]

-= 10 extensions (10 priorities) in 1 context. =-

I also included the results of "core show hints". The 711 park remains "idle" when a call is parked. When parking a call on the standard 701, it changes to "InUse".

-= Registered Asterisk Dial Plan Hints =-
1001@subscriptions-t: SIP/1001-thirdlane&C State:Idle Presence:not_set Watchers 2
702@subscriptions-th: park:702@parkedcalls State:Idle Presence:not_set Watchers 2
703@subscriptions-th: park:703@parkedcalls State:Idle Presence:not_set Watchers 2
700@subscriptions-th: &Custom:C700-thirdla State:Idle Presence:not_set Watchers 2
701@subscriptions-th: park:701@parkedcalls State:Idle Presence:not_set Watchers 2
713@subscriptions-th: park:713@parkedcalls State:Idle Presence:not_set Watchers 0
712@subscriptions-th: park:712@parkedcalls State:Idle Presence:not_set Watchers 2
711@subscriptions-th: park:711@parkedcalls State:Idle Presence:not_set Watchers 2
710@subscriptions-th: &Custom:C710-thirdla State:Idle Presence:not_set Watchers 2
_X.@subscriptions-th: ${REALTIME_FIELD(hin State:Unavailable Presence: Watchers 0
- 10 hints registered

Submitted by volodya on Tue, 08/10/2021 Permalink

Hello Andrew,

You need to update your hints. Context should be "parkedcalls-thirdlane-additional" - same as in the parkinglot_thirdlane_additional parking lot configuration.