GET DATA On AGI

Home » Asterisk Users » GET DATA On AGI
Asterisk Users 3 Comments

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

3 thoughts on - GET DATA On AGI

  • 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 On Behalf Of Dovid Bender Sent: Sunday, February 27, 2022 11:01 AM
    To: Asterisk Users Mailing List – Non-Commercial Discussion
    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

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


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

    John Covici wb2una
    covici@ccs.covici.com