patrick_healy@nywd.uscourts.gov
2005-Mar-25 10:23 UTC
[Asterisk-Users] Zap Detect called party pickup
<FONT face="Default Sans Serif, Verdana, Arial, Helvetica, sans-serif" size=2><DIV>I have been playing with getting the sample.call file to work by dropping it into /var/spool/asterisk/outgoing. The process works to the point of calling the desired number and plays the message. The problem is that the message starts playing almost immediately, so if the called person takes 2 or 3 rings to pick up the phone, half the message has already been played.</DIV><DIV> </DIV><DIV>Here's the relevant portion of my extensions.conf file:</DIV><DIV> </DIV><DIV>[outmsg1]<BR>exten => s,1,DigitTimeout,5 ; Set Digit Timeout to 5 seconds<BR>exten => s,2,ResponseTimeout,10 ; Set Response Timeout to 10 seconds<BR>exten => s,3,Wait(4)<BR>exten => s,4,Answer<BR>exten => s,5,Background(demo-congrats) ; "play outbound msg"<BR>exten => s,6,Background(demo-instruct) ; "Press 1 to replay or 2 to acknowledge receiving this message"<BR>exten => 1,1,Goto(s,5) ; replay message<BR>exten => 2,1,Goto(msgack,s,1) ; acknowledge message<BR>exten => t,1,Playback(vm-goodbye)<BR>exten => t,2,Hangup</DIV><DIV> </DIV><DIV>[msgack]<BR>exten => s,1,Playback(auth-thankyou)<BR>exten => s,2,Playback(vm-goodbye)<BR>exten => s,3,Hangup<BR><BR></DIV><DIV>Thanks!</DIV><DIV> </DIV><DIV>Pat<br><br>====================================================<br>Patrick Healy U.S. District Court, NYWD<br>patrick_healy@nywd.uscourts.gov 304 U.S. Courthouse<br>Voice: 716-332-1770 68 Court Street<br>FAX: 716-551-4850 Buffalo, NY 14202<BR></DIV></FONT>
On Fri, 25 Mar 2005 patrick_healy@nywd.uscourts.gov wrote:> I have been playing with getting the sample.call file to work by dropping it into > /var/spool/asterisk/outgoing.? The process works to the point of calling the desired > number and plays the message.? The problem is that the message starts playing almost > immediately, so if the called person takes 2 or 3 rings to pick up the phone, half the > message has already been played.You need answer supervision on your line. It is available on isdn lines and some analogue lines. Peter
>Date: Fri, 25 Mar 2005 18:39:26 +0100 (CET) >From: Peter Svensson <psvasterisk@psv.nu> >Subject: Re: [Asterisk-Users] Zap Detect called party pickup > >On Fri, 25 Mar 2005 patrick_healy@nywd.uscourts.gov wrote: > >> I have been playing with getting the sample.call file to work by >dropping it into >> /var/spool/asterisk/outgoing. The process works to the point ofcalling >the desired>> number and plays the message. The problem is that the message starts >playing almost >> immediately, so if the called person takes 2 or 3 rings to pick up thephone, half the>> message has already been played. > >You need answer supervision on your line. It is available on isdn lines >and some analogue lines.We have a module that will do this detection.