On Wed, 21 Jan 2004, Steve Foy waxed: > Hi there, I'm having some trouble with getting Asterisk to make a call, I > think it should be quite easy, but anyway... > > Using the following file contents: > > ## > Channel: Zap/3/<TEL NUMBER HERE> > > MaxRetries: 2 > RetryTime: 60 > WaitTime: 30 > > Context: phones > Extension: 502 > Priority: 1 > ## > > Extension 502 is simply one that plays a sound back. When I dump this file > into /var/spool/asterisk/outgoing, it does call the number, but when I pick > up the phone, I just get a dial tone as if Asterisk has maybe hung up before > playing the sound. > > Can anyone see what I'm doing wrong here? The extension does work correctly > when called normally. > > Regards, > Steve
Try putting a Wait(2) in at extension 502, priority 1; and move the Playback(sndfile) down to priority 2. Maybe it's a real short sound ? Take a look at what's happening on the * console with "sudo asterisk -r" --Chris -- Chris Maj <cmaj_hat_freedomcorpse_hot_info> Pronunciation Guide: Maj == May Fingerprint: 43D6 799C F6CF F920 6623 DC85 C8A3 CFFE F0DE C146 _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
