I just tried it on asterisk 1.8.13 with agi set debug on. The last log
line reveals it - streamfile return the endpos.
[2012-07-03 15:16:39] VERBOSE[7046] res_agi.c:
SIP/tgoellner-0002AGI Rx STREAM FILE /audio1/dtmf_detector/2.0
1234567890*#
[2012-07-03 15:16:39] VERBOSE[7046]
Sorry, but I am using a self developed PHP-Library where I parse STDIN
myself. So I have no problem on this side. You are using a Perl-API?
There should be a method available for getting the AGI-Result-String?! I
never used Perl myself ...
Am 03.07.2012 16:13, schrieb CDR:
Yes, ai saw that
I have been fighting all night with version 1.8 and have not found a
way to do this with any command or Perl AGI-command. I need to play a
file and wait until the customer presses at least $maxdigits to
return, BUT, the file must continue playing until $maxdigits is
received or $timeout has
Am 29.06.2012 11:38, schrieb CDR:
I have been fighting all night with version 1.8 and have not found a
way to do this with any command or Perl AGI-command. I need to play a
file and wait until the customer presses at least $maxdigits to
return, BUT, the file must continue playing until
This is from the documentation of Perl-AGI
$AGI-stream_file($filename, $digits, $offset)
Executes AGI Command STREAM FILE $filename $digits [$offset]
This command instructs Asterisk to play the given sound file and
listen for the given dtmf digits. The fileextension must not be used
in the
On 12-06-29 05:38 AM, CDR wrote:
I have been fighting all night with version 1.8 and have not found a
way to do this with any command or Perl AGI-command. I need to play a
file and wait until the customer presses at least $maxdigits to
return, BUT, the file must continue playing until $maxdigits
Please use more meaningful subjects.
'Please dont tell me this is impossible'
I'm sure there are lots of things I could tell you that are impossible.
'Issue with Perl-AGI'
I'm sure there are many issues with Perl and AGI if you don't understand
the protocol.
Better subjects = better