Add an answer() and a playback of 1 second of silence or something else to make sure the RTP is nailed up. AMD can/will hang if it has no media to analyze.
Carlos Chavez wrote: > We have an Asterisk server with a small outgoing call center. We use > AMD and it usually works very well on Zap channels (E1 PRI). We added a > couple of SIP trunks to reduce long distance costs but now AMD gets > stuck when the call goes out through the SIP channels. Here is an > example call using a SIP line: > > -- Executing [EMAIL PROTECTED]:1] > Set("Local/[EMAIL PROTECTED],2", "CIDTEMP="49875&calllogId=135514" > <016566275538>") in new stack > -- Executing [EMAIL PROTECTED]:2] > Dial("Local/[EMAIL PROTECTED],2", "SIP/juarez-60/6275538|25|C") in > new stack > -- Called juarez-60/6275538 > -- SIP/juarez-60-0892f740 is making progress passing it to > Local/[EMAIL PROTECTED],2 > -- SIP/juarez-60-0892f740 answered Local/[EMAIL PROTECTED],2 > -- Executing [EMAIL PROTECTED]:1] Answer("Local/[EMAIL PROTECTED],1", "") > in new stack > -- Executing [EMAIL PROTECTED]:2] AMD("Local/[EMAIL PROTECTED],1", "") in > new stack > -- AMD: Local/[EMAIL PROTECTED],1 016566275538 (null) (Fmt: 64) > -- AMD: initialSilence [3500] greeting [2500] afterGreetingSilence > [800] totalAnalysisTime [5000] minimumWordLength [100] > betweenWordsSilence [50] maximumNumberOfWords [5] silenceThreshold > [256] > > AMD just stops and it takes over a minute until the line is dropped. > The same number dialed through Zap works without a hitch. What could be > the reason? If I dial the same number without AMD I can talk to the > other person so I know the SIP line is fine. > > > > ------------------------------------------------------------------------ > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users -- -- Bird's The Word Technologies, Inc. http://www.btwtech.com/ _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users