Summary:ASTERISK-06472: Playback with noanswer option doesn't play prompt when first line in extension
Reporter:Jim Gottlieb (tokyojimu)Labels:
Date Opened:2006-03-03 17:13:13.000-0600Date Closed:2011-06-07 14:10:41
Versions:Frequency of
Description:With an extension like this:
exten => 16193640054,1,Playback(pleasewait|noanswer)
exten => 16193640054,2,Dial(Zap/g1/01136302594407,20)

the prompt never gets played (though its access time shows that it was read).

But if I do this:
exten => 16193640054,1,Ringing
exten => 16193640054,2,Playback(pleasewait|noanswer)
exten => 16193640054,3,Dial(Zap/g1/01136302594407,20)

it works.

I also tried using a Wait(1) as the first line, but it still didn't play.


Using a PRI.

Tested with both ulaw and gsm prompts.

This is a rather longstanding problem that I'm finally getting around to reporting.
Comments:By: Jim Gottlieb (tokyojimu) 2006-03-03 17:16:36.000-0600

Background with the 'n' (no answer) option has the same problem.

By: Olle Johansson (oej) 2006-04-07 02:16:48

I think this is a PRI problem, not really a problem with the application. Have you tested the same extension with a SIP phone that supports early media?

By: BJ Weschke (bweschke) 2006-04-07 08:12:30

You're probably going to get this with any channel that has progress signaling in use. What happens if you stick a Answer() in as the first step? Does it work then?

By: Andrey S Pankov (casper) 2006-04-07 10:06:41

> Using a PRI.
Do you mean this are ZAP to ZAP calls on the same PRI?

If yes I think that the corect way to do it would be to use Progress().
E1/T1 PRI do not have "builtin" early media as such. You need to send PROGRESS or ALERTING (with pi set) to indicate that there should be a media path open.

In SIP you have:
<- 100 Trying
<- 183 Progress with SDP in case we support early media (and we do of course)

In ZAP you have:

And this not a bug. Let's wait mattf (?) to comment on it...

By: Andrey S Pankov (casper) 2006-04-10 12:09:26

Not a bug, let's close this one for now...

By: BJ Weschke (bweschke) 2006-04-10 12:18:42

agree with casper on this one.