you should be able to get dtmf if calling Progress as well. Answering
may not be what you want....
On Jul 24, 2006, at 2:37 PM, Martin Schrott - Thinking-Systems wrote:
Hi Marcus,
thank you very much. Just perfect!
It works.
I think I did not understand exactly what answer() is for.
Streaming of files did work without this answering.
Thank you once more,
Martin
----- Original Message -----
From: "Marcus Hunger" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, July 24, 2006 12:54 PM
Subject: Re: cannot get dtmf
is the channel already open? try $AGI->answer();.
marcus
On Monday 24 July 2006 12:28, Martin Schrott - Thinking-Systems wrote:
Hi list,
Hope anybody here can help me. I tryed and searched hours after
hours but
did not find an explanation for this problem:
In the script below I try to get some dtmf information from the
caller.
But
the script does not react when reaching maxlengtht. It waits till the
timeout is reached and does not recognize any tones.
Is there a error in the script, or where could my problem be?
Thank you for your help, I am new to asterisk::agi so please
understand.
;-)
Thank you all,
Martin
www.thinking-systems.eu
ENUM +43 780 34267345
Start scripting:
use Asterisk::AGI;
$AGI = new Asterisk::AGI;
#Get the initial data
my %input = $AGI->ReadParse();
#Start AGI:
$AGI->stream_file('call');
my $eingabe = $AGI->get_data('invalid', 10000, 1);
$AGI->say_digits($eingabe);
$AGI->hangup();
exit;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: asterisk-perl-
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Roy Sigurd Karlsbakk
[EMAIL PROTECTED]
(+47) 98013356
---
In space, loud sounds, like explosions, are even louder because there
is no air to get in the way.