hasn't been answered already). Not all channels support playing messages while still on hook. Is it because the channel is not supported? Regards, Zohair Raza --00151740163055331204b84f8335 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hi All,=A0<div><br></div><div>I want to play a file in agi but dont want to answer the call</div><div><br></div><div>I am dialing through sip phone and running asterisk 1.8.6,</div><div><br></div><div>I tried following with no luck</div> <div><div><br></div><div>$agi->exec("Progress");</div><div>$agi->exec("Playback $filetoplay,noanswer");</div></div><div>$agi->hangup();</div><div><br></div><div>When I dial I can't hear the audio but if I answer the call or remove noanswer argument I can hear the audio.</div> <div><br></div><div>phpAGI's stream_file didn't help either.=A0</div><div><br></div><div>I ended up with ResetCDR() before hangup to reset billsec, duration and disposition but don't want to do it this way.</div> <div><br></div><div>What could be the problem?</div><div><br></div><div>From Voip-info.org :</div><div><strong style=3D"font-family:Verdana,Geneva,Arial,Helvetica,sans-serif;font-size:12px;background-color:rgb(255,255,255)">noanswer</strong><span style=3D"font-family:Verdana,Geneva,Arial,Helvetica,sans-serif;font-size:12px;background-color:rgb(255,255,255)">: Play the sound file, but don't answer the channel first (if hasn't been answered already). Not all channels support playing messages while still on hook.</span><br style=3D"font-family:Verdana,Geneva,Arial,Helvetica,sans-serif;font-size:12px;background-color:rgb(255,255,255)"> </div><div><br></div><div>Is it because the channel is not supported?</div><div><br></div><div><br></div><div>Regards,</div><div><div dir=3D"ltr">Zohair Raza<div><br></div><div><br></div></div> </div></div> --00151740163055331204b84f8335--