Hi All, I’m having issues figuring out how to set no DTMF timeout on the AGI GET DATA command as “0” still has a multi-second timeout if no input is given. I am trying to find the source code of the AGI command to figure it out, but I can’t for the life of me find the underlying source code. The closest I’ve found is XML that defines the command syntax but can’t trace it from there. PS. I am on Asterisk 11. Any guidance appreciated. Thanks! Rhys Hanrahan | Chief Information Officer e: rhys at nexusone.com.au<mailto:rhys at nexusone.com.au> [www.nexusone.com.au]<http://www.nexusone.com.au/> [signature_1237010360] <http://www.fusiontech.com.au/> NEXUS ONE | FUSION TECHNOLOGY SOLUTIONS p: 1800 NEXUS1 (1800 639 871) or 1800 565 845 | a: Suite 12.03 Level 12, 227 Elizabeth Street, Sydney NSW 2000 www.nexusone.com.au<http://www.nexusone.com.au/> | www.fusiontech.com.au<http://www.fusiontech.com.au/> The information in this email and any accompanying attachments may contain; a. Confidential information of Fusion Technology Solutions Pty Ltd, Nexus One Pty Ltd or third parties; b. Legally privileged information of Fusion Technology Solutions Pty Ltd, Nexus One Pty Ltd or third parties; and or c. Copyright material Fusion Technology Solutions Pty Ltd, Nexus One Pty Ltd or third parties. If you have received this email in error, please notify the sender immediately and delete this message. Fusion Technology Solutions Pty Ltd, Nexus One Pty Ltd does not accept any responsibility for loss or damage arising from the use or distribution of this email. Please consider the environment before printing this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20230420/c4654bff/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 13851 bytes Desc: image001.png URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20230420/c4654bff/attachment.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 9103 bytes Desc: image002.png URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20230420/c4654bff/attachment-0001.png>
asterisk at phreaknet.org
2023-Apr-20 11:21 UTC
[asterisk-users] Source code for AGI GET DATA command
On 4/20/2023 7:16 AM, Rhys Hanrahan wrote:> > Hi All, > > I’m having issues figuring out how to set no DTMF timeout on the AGI > GET DATA command as “0” still has a multi-second timeout if no input > is given. I am trying to find the source code of the AGI command to > figure it out, but I can’t for the life of me find the underlying > source code. The closest I’ve found is XML that defines the command > syntax but can’t trace it from there. >Here is where it is in the master version: https://github.com/asterisk/asterisk/blob/master/res/res_agi.c#L2829 And in version 11: https://github.com/asterisk/asterisk/blob/11/res/res_agi.c#L2239