[asterisk-users] GET DATA on AGI

John Covici covici at ccs.covici.com
Sun Feb 27 12:03:10 CST 2022


I thought one of the arguments to the read command was the terminator,
is that the command you have in your agi?

On Sun, 27 Feb 2022 12:26:50 -0500,
Tom Ray wrote:
> 
> [1  <multipart/alternative (en-us) (7bit)>]
> [1.1  <text/plain; UTF-8 (quoted-printable)>]
> I believe that # in the default terminator for GET DATA and I don’t think that can be disabled. But I’m not a 100% as I’ve always used # as the terminator.
> 
>  
> 
> From: asterisk-users <asterisk-users-bounces at lists.digium.com> On Behalf Of Dovid Bender
> Sent: Sunday, February 27, 2022 11:01 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com>
> Subject: [asterisk-users] GET DATA on AGI
> 
>  
> 
> Hi,
> 
> 
> When using GET DATA in an AGI it seems that the # key ends the input. So if say I want the user to input 123#456 the system will return 123. I did not see this in the documentation. Is this a bug, lack of documentation or do I have a bug in my AGI?
> 
>  
> 
> TIA.
> 
>  
> 
> Dovid
> 
>  
> 
> [1.2  <text/html; UTF-8 (quoted-printable)>]
> [2  <text/plain; utf-8 (base64)>]
> -- 
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> Check out the new Asterisk community forum at: https://community.asterisk.org/
> 
> New to Asterisk? Start here:
>       https://wiki.asterisk.org/wiki/display/AST/Getting+Started
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici wb2una
         covici at ccs.covici.com



More information about the asterisk-users mailing list