Redirect Not Playing First 3 Seconds of Playback File

I’m using AMI’s redirect command to redirect in-progress calls to a context that plays a recorded message.

However when I do so, redirected channel (which happens to be an outbound SIP call) never hears the first 3 seconds of the audio file being played. There appears to be some sort of delay in connecting the audio portion of the channel to the new context, causing the redirected channel to miss the first 3 seconds or so of the playback message.

Has anyone experienced something like this, and how can I fix it?

–matt

HI
Plz send resp. config lines over here.

Amit

My setup is pretty strait forward:

The relevant part of the extensions file is

[matt_playmsg]
exten=s,1,Playback(matt-msg)

I’m issuing the following command via AMI. SIP/trunk_1/XXXXXXX and SIP/agentone-XXXXXX channels are currently linked

Action: Redirect
Channel: SIP/trunk_1/XXXXXXX
Exten: 1
Context: matt_playmsg
Priority: 1

I am using Asterisk 1.4.9.

[matt_playmsg]
exten=s,1,Playback(matt-msg)

Have you answered the channel ? I looks and sounds like you havent

try

[matt_playmsg]
exten=s,1,Answer()
exten=s,n,Wait(1) ; you may need this
exten=s,n,Playback(matt-msg)