[asterisk-bugs] [JIRA] (ASTERISK-24605) res_parking option parkeddynamic does not work with the core Features 'parkcall' (DTMF initiated parking)
Rusty Newton (JIRA)
noreply at issues.asterisk.org
Thu Dec 11 18:20:28 CST 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-24605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=223989#comment-223989 ]
Rusty Newton edited comment on ASTERISK-24605 at 12/11/14 6:19 PM:
-------------------------------------------------------------------
The documentation isn't really clear for the 'parkeddynamic' option regardless, but this doesn't behave how I would expect either, so I'm going for bug until someone overrides me on that. :) I've changed the title and issue Type.
In Asterisk 13, the only documentation that i can find for dynamic parkinglots is in res_parking.conf
{noformat}
parkeddynamic = yes ; Enables dynamically created parkinglots. (default is no)
{noformat}
>From testing, it appears, as you describe that the feature only works when parking via the dialplan application and not when initiating a park via the features.conf {{parkcall}} option.
Another related documentation thing I noticed is that the documentation for the application {{Park}} included in 11: https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Application_Park
Is now gone in 12, likely due to the many changes that took place: https://wiki.asterisk.org/wiki/display/AST/Asterisk+12+Application_Park
However it was not replaced with any new documentation on how dynamic parkinglots work in 12+
I looked through the CHANGES file for 13 to find anything helpful. I only found:
{noformat}
* Dynamic parking lots will now fail to be created under the following
conditions:
- if the parking lot specified by PARKINGDYNAMIC does not exist
- if they require exclusive park and parkedcall extensions which overlap
with existing parking lots.
* Dynamic parking lots will be cleared on reload for dynamic parking lots that
currently contain no calls. Dynamic parking lots containing parked calls
will persist through the reloads without alteration.
{noformat}
Nothing mentioned there will resolve your issue. To successfully park a call in a dynamic parking lot, using the variables mentioned in the pre-12 Park documentation works just fine. However, not when initiating the park via built-in feature code.
was (Author: rnewton):
The documentation isn't really clear for the 'parkeddynamic' option regardless, but this doesn't behave how I would expect either, so I'm going for bug until someone overrides me on that. :) I've changed the title and issue Type.
In Asterisk 13, the only documentation that i can find for dynamic parkinglots is in res_parking.conf
{noformat}
parkeddynamic = yes ; Enables dynamically created parkinglots. (default is no)
{noformat}
>From testing, it appears, as you describe that the feature only works when parking via the dialplan application and not when initiating a park via the features.conf {{parkcall}] option.
Another related documentation thing I noticed is that the documentation for the application {{Park}} included in 11: https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Application_Park
Is now gone in 12, likely due to the many changes that took place: https://wiki.asterisk.org/wiki/display/AST/Asterisk+12+Application_Park
However it was not replaced with any new documentation on how dynamic parkinglots work in 12+
I looked through the CHANGES file for 13 to find anything helpful. I only found:
{noformat}
* Dynamic parking lots will now fail to be created under the following
conditions:
- if the parking lot specified by PARKINGDYNAMIC does not exist
- if they require exclusive park and parkedcall extensions which overlap
with existing parking lots.
* Dynamic parking lots will be cleared on reload for dynamic parking lots that
currently contain no calls. Dynamic parking lots containing parked calls
will persist through the reloads without alteration.
{noformat}
Nothing mentioned there will resolve your issue. To successfully park a call in a dynamic parking lot, using the variables mentioned in the pre-12 Park documentation works just fine. However, not when initiating the park via built-in feature code.
> res_parking option parkeddynamic does not work with the core Features 'parkcall' (DTMF initiated parking)
> ---------------------------------------------------------------------------------------------------------
>
> Key: ASTERISK-24605
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-24605
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_parking
> Affects Versions: 13.0.0, 13.0.1, 13.0.2
> Reporter: Philip Correia
> Assignee: Rusty Newton
> Severity: Minor
>
> When parking an in-progress call using the builtin parkcall feature using DTMF, the call will be parked in the default parking lot. If the PARKINGLOT variable is defined in the channel, it will attempt to park it in the parking lot only if it exists and explicitly defined in the res_parking.conf.
> It would be useful to have the parking lot dynamically created if it doesn't exist using the already available res_parking dynamic features if parkeddynamic is enabled.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list