[asterisk-users] agi get_data noanswer

Eric Wieling EWieling at nyigc.com
Tue Aug 12 18:28:01 CDT 2014


I do not know, maybe some of the other channel drivers sccp or sip support it.

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


Eric is correct. There is no way to send dtmf while the call has not been answered.

But us very confusing the read command, in specific  option = n(noanswer) to read digits even if the line is not up

My AGI line is the following

 $AGI->exec("READ","umenu,VARXX,1,n,2,7");
The command works, but there is no dtmf negotiation

 $AGI->exec("READ","umenu,VARXX,1,,2,7");
The command works, but there is a kind of answer
What is the purpose of this noanswer option in a read command when it is imposible to read?.
Is there any way to negotiate with the end user in this early media situation?

Thanks in advance.
rv



2014-08-07 20:02 GMT-04:00 Eric Wieling <EWieling at nyigc.com<mailto:EWieling at nyigc.com>>:
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> [mailto: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

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140812/6a3b5586/attachment.html>


More information about the asterisk-users mailing list