[asterisk-users] agi get_data noanswer

Eric Wieling EWieling at nyigc.com
Thu Aug 7 19:02:31 CDT 2014


Generally the only thing you are allowed to do before answer is send audio.  You can’t receive audio and can’t receive DTMF.   I assume it is to prevent people from doing exactly what you  are trying to do --- trying to have two way communications without paying for the call.


From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Rafael Visser
Sent: Thursday, August 07, 2014 4:56 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] agi get_data noanswer

Hi Guys..
I am making an anoucement machine that is not allowed to "answer" the call due to a billing issue.
I found that Playback with "noanwser" is usefull in this case.

$AGI->exec('Playback',"$message","noanswer")}


But when i request some values to the user with get_data, i think there is an answer anywere.

Is there a way to get_data without answering the call?

Thanks in advance!!

rv
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140807/c6732b05/attachment.html>


More information about the asterisk-users mailing list