[Home]

Summary:ASTERISK-18938: Park() does auto-answer midway
Reporter:Birger "WIMPy" Harzenetter (wimpy)Labels:
Date Opened:2011-11-29 22:57:40.000-0600Date Closed:2011-11-30 14:44:59.000-0600
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Core/PBX
Versions:SVN Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Park() will auto-answer the cahnnel AFTER playing the parking postion, before starting MOH.
This is easily corrected with an Answer() before.
But if you don't know, it's quite irritating that parking works, but the announcement doesn't.
Comments:By: Richard Mudgett (rmudgett) 2011-11-30 11:05:22.555-0600

Thank you for taking the time to report this bug and helping to make Asterisk better. Unfortunately, we cannot work on this bug because your description did not include enough information. You may find it helpful to read the Asterisk Issue Guidelines http://www.asterisk.org/developers/bug-guidelines. We would be grateful if you would then provide a more complete description of the problem. At a minimum, we need:

1. the specific steps or actions you took that caused you to encounter the problem,
2. the behavior you expected, and
3. the behavior you actually encountered (in as much detail as possible).

This likely includes output from the console with debug level logging, a SIP trace (if this is SIP related), and configuration information such as dialplan (e.g. extensions.conf) and channel configuration (e.g. sip.conf). Thanks!

---

What version of Asterisk?

The Park application auto-answers the call if the channel is not up before it does anything else.

By: Birger "WIMPy" Harzenetter (wimpy) 2011-11-30 12:16:49.234-0600

If I use

exten => *00,1,Park()

and call *00 to prepare an attended transfer, I hear MOH immediately, although the console says it plays digits/1.

With

exten => *00,1,Answer()
same => 2,Park()

I can hear the "one" before I get MOH.

So unless you turn up verbose and look at the console, it's not obvious why you don't get the announcement, because you need to Answer() first.

By: Leif Madsen (lmadsen) 2011-11-30 14:44:59.525-0600

That's not a bug. That's a configuration issue. Because it appears your device doesn't support (or isn't configured) to hear early media, you're not hearing the audio.

Add Playback(silence/1) would probably also work. This is described as a best practice in Asterisk: The Definitive Guide.