[Asterisk-Users] No audio on PRI channel answered by Playback()orMeetMe()

Steven Critchfield critch at basesys.com
Mon Aug 30 02:48:44 MST 2004


On Mon, 2004-08-30 at 01:41, Tobias Jönsson wrote:
> On Fri, 27 Aug 2004, Larry Shields wrote:
> 
> > Thanks for the reply. I tried that initially and it did not work.  To 
> > verify I went back and tried again.  It answers and still no sound is 
> > heard.
> 
> >    -- Accepting call from '8541' to '2688' on channel 0/2, span 1
> >    -- Executing Wait("Zap/2-1", "3") in new stack
> >    -- Executing Answer("Zap/2-1", "") in new stack
> 
> Why do you start with a Wait statement? Just answer the line immediately 
> if you want to do that, or you should at least put a Ringing before the 
> first wait statement if you want the caller to hear a ringing tone before 
> you answer.

On some PRI lines, the callerid doesn't come until a short time after
the call was accepted. The wait(1) or 2 will allow the callerid get into
the call variables before you do something like dial a extension that
expects to see the correct callerid.
-- 
Steven Critchfield <critch at basesys.com>




More information about the asterisk-users mailing list