The problem is that "Answer" for Zap channels, means that the FXO card has accepted the call and is in process of making the call, but that does not means that the other end (ie. the phone in the PSTN) has already answered. Personally I have the same problem, but I have not looked further on the code to solve it because I havent had the time. I suggest you 3 options:
1. Wait 2 or 3 weeks, so I have some free time and came up with a fix. 2. Ask in bugs.digium.com for a feature to know this. 3. Keep looking and questioning about it in asterisk-users, may be someone has a workaround. Regards On 5/1/06, John Joseph <[EMAIL PROTECTED]> wrote:
Hi All when I try to use auto-dial to connect to outside phone , my applications get executed before the caller attend the calls , this happens only when I call outside no , ie when I use Channel: ZAP/1/0507451111 in my sample.call file , if I use Channel:SIP/326 , it works fine my "sample.call" file contains Channel: ZAP/1/0507451111 Callerid: Asterisk MaxRetries: 2 RetryTime: 10 WaitTime: 60 Context: outboundmsg1 Extension: s Priority: 1 and my "extensions.conf" file contains [outboundmsg1] exten => s,1,DigitTimeout,5 exten => s,2,ResponseTimeout,30 exten => s,3,Answer exten => s,4,Wait(1) exten => s,5,Cepstral(Hi ,, Hope u are getting this voices, It is text to Voice conversation , did u hear it ) exten => 1,1,Goto(s,5) ; replay message exten => 2,1,Goto(msgack,s,1) ; acknowledge message exten => t,1,Playback(vm-goodbye) exten => t,2,Hangup Guidance requested , to know the reason , why the "Ceptral " application is executed , before the call is attended when I user ZAP channel . But for SIP channel (only SIP internal call , I made ) it is working fine Thanks Joseph John ___________________________________________________________ Win tickets to the 2006 FIFA World Cup Germany with Yahoo! Messenger. http://advision.webevents.yahoo.com/fifaworldcup_uk/ _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
-- "Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org" _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users