[Home]

Summary:ASTERISK-19382: Park() ignores 'r' option, plays default MOH instead.
Reporter:James Stocks (stocksy)Labels:
Date Opened:2012-02-17 04:11:09.000-0600Date Closed:2012-10-29 14:32:14
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Features/Parking
Versions:1.8.9.2 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Debian Squeeze 2.6.32-5-686, Asterisk 1.8.9.2 and DAHDI 2.6.0 built from source.Attachments:
Description:I have this in extensions.conf:

exten => *10,1,Answer
exten => *10,n,Park(120000,special,*59,1,rs)
exten => *10,n,Hangup()

This parks the call for a maximum of 120 seconds before timing out to extension *59 priority 1.  The 's' option, which suppresses the announcement of the parking number (e.g. 7-0-1) works, however the 'r' option to play ringing instead of music on hold does not; the caller hears the default MOH.  Call parking works reliably in all other respects.

This is the console output:

-- Executing [*10@house-phones:1] Answer("SIP/200-0000000a", "") in new stack
  -- Executing [*10@house-phones:2] Park("SIP/200-0000000a", "120000,special,*59,1,rs") in new stack
== Parked SIP/200-0000000a on 701 (lot default). Will timeout back to extension [special] *59, 1 in 120 seconds
  -- Added extension '701' priority 1 to parkedcalls
  -- Started music on hold, class 'default', on SIP/200-0000000a
  -- Executing [h@house-phones:1] NoOp("Parked/SIP/200-0000000a<ZOMBIE>", "") in new stack

I discovered the issue in Asterisk 1.8.3.3, but after upgrading to the latest release 1.8.9.2 the problem persists.
Comments:By: Warren Selby (wcselby) 2012-02-20 11:47:58.497-0600

I am seeing the same results in testing on asterisk 1.8.8.0. Using the supplied dialplan snippet results in the following CLI output:

   -- Executing [*10@outbound-all:1] Answer("SIP/24511-0000003b", "") in new stack
   -- Executing [*10@outbound-all:2] Park("SIP/24511-0000003b", "120000,special,*59,1,rs") in new stack
 == Parked SIP/24511-0000003b on 701 (lot default). Will timeout back to extension [special] *59, 1 in 120 seconds
   -- Added extension '701' priority 1 to parkedcalls
   -- Started music on hold, class 'default', on SIP/24511-0000003b
 == Spawn extension (outbound-all, s, 1) exited non-zero on 'Parked/SIP/24511-0000003b<ZOMBIE>'
   -- Executing [h@outbound-all:1] Verbose("Parked/SIP/24511-0000003b<ZOMBIE>", "Outbound call to  hung up by caller on 02/20/12 at 11:40:27") in new stack