Summary:ASTERISK-18557: Call Parking parkinghints = yes doesn't work as expected
Reporter:JoshE (n8ideas)Labels:
Date Opened:2011-09-14 21:11:05Date Closed:2011-11-02 15:16:06
Versions:Frequency of
is related toASTERISK-18562 Call Parking Ringback Happens to Caller Channel, Rather Than Parking Party
Description:When using multiple parking lots, hints are not automatically generated when features.conf has following config:

context => parkedcalls-tenant
parkext => 700
parkpos => 701-710
findslot => first
parkingtime => 30
parkinghints = yes

Expected behavior would be to have the following subscriptions generated, which do actually function when manually inserted into dialplan.

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

Comments:By: Leif Madsen (lmadsen) 2011-09-15 10:21:34.167-0500

Please test with Asterisk or later as significant changes to parking and the features code is in that release. There is a good chance this has already been fixed.

By: JoshE (n8ideas) 2011-09-15 10:40:35.877-0500

This was tested on SVN-branch-1.8-r335064, which I believe contains the 1.8.7 code.  It appears to still be broken.

By: Richard Mudgett (rmudgett) 2011-09-15 11:05:28.585-0500

Are you including the parkedcalls-tenant context into your dialplan?

include => parkedcalls-tennant

By: JoshE (n8ideas) 2011-09-15 11:21:54.968-0500

That is correct.  The include is in the dialplan.

By: Richard Mudgett (rmudgett) 2011-10-18 18:13:09.602-0500

The parkinghints=yes option is working.  The parking hints are added to the parking lot context and are working.

Using your features.conf parking lot definition above with the following dialplan context:
include => parkedcalls-tenant

exten => 999,1,NoOp(Show parked call hint state)
exten => 999,n,NoOp(DEVICE_STATE(park:701@use_ctx)=${DEVICE_STATE(park:701@use_ctx)})
exten => 999,n,NoOp(DEVICE_STATE(park:701@parkedcalls-tenant)=${DEVICE_STATE(park:701@parkedcalls-tenant)})
exten => 999,n,NoOp(EXTENSION_STATE(701@use_ctx)=${EXTENSION_STATE(701@use_ctx)})
exten => 999,n,NoOp(EXTENSION_STATE(701@parkedcalls-tenant)=${EXTENSION_STATE(701@parkedcalls-tenant)})

Calling extension 999 with and without a parked call in space 701 shows the expected device state when verbose output is enabled.

More information is needed to understand how they are not working for you such as a SIP trace.

By: Leif Madsen (lmadsen) 2011-11-02 15:16:00.193-0500

Suspended due to lack of activity. Please request a bug marshal in #asterisk-bugs on the IRC network irc.freenode.net to reopen the issue should you have the additional information requested.  Further information can be found at http://www.asterisk.org/developers/bug-guidelines