No subject
Fri Sep 2 03:59:05 CDT 2011
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 thr=
ough 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>$ag=
i->exec("Playback $filetoplay,noanswer");</div></div><div>$agi=
->hangup();</div><div><br></div><div>When I dial I can't hear the au=
dio but if I answer the call or remove noanswer argument I can hear the aud=
io.</div>
<div><br></div><div>phpAGI's stream_file didn't help either.=A0</di=
v><div><br></div><div>I ended up with ResetCDR() before hangup to reset bil=
lsec, 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>Fro=
m Voip-info.org :</div><div><strong style=3D"font-family:Verdana,Geneva,Ari=
al,Helvetica,sans-serif;font-size:12px;background-color:rgb(255,255,255)">n=
oanswer</strong><span style=3D"font-family:Verdana,Geneva,Arial,Helvetica,s=
ans-serif;font-size:12px;background-color:rgb(255,255,255)">: Play the soun=
d 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;fon=
t-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">Zoha=
ir Raza<div><br></div><div><br></div></div>
</div></div>
--00151740163055331204b84f8335--
More information about the asterisk-users
mailing list