[Home]

Summary:ASTERISK-24179: res_parking option parkedplay=parked results in module load failure. Values 'caller' and 'both' work fine.
Reporter:Steve Pitts (spitts)Labels:
Date Opened:2014-08-07 14:40:03Date Closed:2014-08-07 15:02:55
Priority:MajorRegression?
Status:Closed/CompleteComponents:Resources/res_parking
Versions:12.4.0 Frequency of
Occurrence
Related
Issues:
Environment:Using Asterisk 12.4.0-rc1 with sip onlyAttachments:
Description:Using Asterisk 12.4.0-rc1 , if I set parkedplay = parked, I get this error message on the console:
{noformat}
   -- Reloading module 'res_parking.so' (Call Parking Resource)
 == Parsing '/etc/asterisk/res_parking.conf': Found
[Aug  7 13:43:36] ERROR[17511]: config_options.c:713 aco_process_var: Error parsing parkedplay=parked at line 10 of
[Aug  7 13:43:36] ERROR[17511]: config_options.c:510 process_category: In res_parking.conf: Processing options for default failed
{noformat}

[edit - Rusty - I additionally tested values 'caller' and 'both' which result in a normal load. The value 'parked' results in the described behavior]
Comments:By: Rusty Newton (rnewton) 2014-08-07 14:53:09.036-0500

Reproduced, modified summary and description to reflect additional testing.

By: Rusty Newton (rnewton) 2014-08-07 14:55:02.986-0500

I should say that I only tested with the parked option in the {{default}} configuration section.

By: Mark Michelson (mmichelson) 2014-08-07 14:58:47.042-0500

The documentation says that the valid options are "caller", "callee", "no", or "both". "parked" is not a valid option.

By: Rusty Newton (rnewton) 2014-08-07 15:02:47.275-0500

Yay! I should have updated and check my SVN working copy instead of my locally installed copies. :)

By: Steve Pitts (spitts) 2014-08-07 15:09:15.441-0500

The sample file in asterisk  12.4.0-rc1  shows these options:

;parkedplay = caller            ; Who to play courtesytone to when picking up a parked call.
                               ; One of: parked, caller, both  (default is caller)

is the samples file outdated perhaps?

By: Steve Pitts (spitts) 2014-08-07 16:16:54.005-0500

I think "callee" actually replaces "parked". This issue can be closed.