[asterisk-bugs] [JIRA] (ASTERISK-26029) ast_parking_park_call should return parking_space instead of parking_exten
Diederik de Groot (JIRA)
noreply at issues.asterisk.org
Tue May 17 06:37:57 CDT 2016
Diederik de Groot created ASTERISK-26029:
--------------------------------------------
Summary: ast_parking_park_call should return parking_space instead of parking_exten
Key: ASTERISK-26029
URL: https://issues.asterisk.org/jira/browse/ASTERISK-26029
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Features/Parking
Affects Versions: 13.9.1
Reporter: Diederik de Groot
Severity: Minor
Occording to the source documentation in:
include/asterisk/parking.h and res/parking/parking_bridge_features.c the call to 'parking_park_call' should return the extension where the call has been parked via the exten parameter. At the moment it is returning the 'parkext' instead, which is a bit useless. Asterisk-11 (and before) used to provide the parkingslot or parking_space information when calling this function.
For example chan_skinny.c is using the returned 'exten' to display the the parkingslot information, but ends up displaying the parkingextension, which is useless.
Note: If this is not possible, would it be possible to add a pbx_buildin_setvar_helper(char, "PARKING_SPACE",.... while the call occupies the parking_space, which gets assigned at the moment when the call returns because of time.
Note: If the change is not made, is there another way to get at the required information ?
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list