GET DATA seems to be completely skipping over, not playing the prompt and not absorbing digits.
Running 13.8
rdxtra*CLI> core show version
Asterisk certified/13.8-cert4 built by root @ rdxtra on a x86_64 running Linux on 2017-02-11 05:22:50 UTC
I have tried this using both the phpagi library function as well as a function that I used to use many years ago (the last time I tried using AGI) that involved writing the actual command (GET DATA there-is-no-customer-support 3000 4) and either way worked. I am able to use say_digits().
I turned on rtp set debug on and the output in the vicinity of the of the sequence where it was supposed to call the GET DATA function was:
<PJSIP/voipms-0000000a>AGI Tx >>
Got RTP packet from 208.43.xxx.xxx:xxxxx (type 00, seq 044694, ts 774453184, len 000160)
Got RTP packet from 208.43.xxx.xxx:xxxxx (type 00, seq 044695, ts 774453344, len 000160)
Got RTP packet from 208.43.xxx.xxx:xxxxx (type 00, seq 044696, ts 774453504, len 000160)
<PJSIP/voipms-0000000a>AGI Rx <<
<PJSIP/voipms-0000000a>AGI Tx >> 510 Invalid or unknown command
<PJSIP/voipms-0000000a>AGI Rx <<
<PJSIP/voipms-0000000a>AGI Tx >> 510 Invalid or unknown command
<PJSIP/voipms-0000000a>AGI Rx << GET DATA there-is-no-customer-support 3000 4
Sent RTP packet to 208.43.xxx.xxx:xxxxx (type 00, seq 036984, ts 031520, len 000160)
– <PJSIP/voipms-0000000a> Playing ‘there-is-no-customer-support.gsm’ (language ‘en’)
<PJSIP/voipms-0000000a>AGI Rx << SAY DIGITS 111 ""
Sent RTP packet to 208.43.xxx.xxx:xxxxx (type 00, seq 036985, ts 031680, len 000160)
– <PJSIP/voipms-0000000a> Playing ‘digits/1.gsm’ (language ‘en’)
Got RTP packet from 208.43.xxx.xxx:xxxxx (type 00, seq 044697, ts 774453664, len 000160)
Sent RTP packet to 208.43.xxx.xxx:xxxxx (type 00, seq 036986, ts 031840, len 000160)
(IP addresses redacted)
There is code afterwards to “SAY DIGITS 111” which is still playing fine.
Also, if I try to use “WAIT FOR DIGIT”…
$b = $agi->wait_for_digit(2000);
I am getting this:
[Feb 13 12:47:16] WARNING[27240][C-00000000]: channel.c:3490 ast_waitfordigit_full: The FD we were waiting for has something waiting. Waitfordigit returning numeric 1
I have tried searching and was not able to find anything clear about this message…