[Asterisk-Users] Making a call with sample.call

Steve Foy steve at unite.net
Wed Jan 21 10:33:29 MST 2004


On Wed, Jan 21, 2004 at 06:09:26PM +0100, Philipp von Klitzing wrote:
> > 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.
> 
> Did you do "Answer" before you call "Playback()" in your extensions.conf?

Yep, the extension looks like this:

exten => 502,1,Answer
exten => 502,2,Playback(nagios/hostdown)
exten => 502,3,Hangup

-- 
Steve Foy        |  http://www.unite.net
UNITE Solutions  |  Tel: 028 9077 7338 



More information about the asterisk-users mailing list