Subject: | Quoting |
Date: | Mon, 26 May 2008 14:47:02 +0200 |
To: | bug-asterisk-perl [...] rt.cpan.org |
From: | Benjamin Kluck <kluck [...] sipgate.de> |
Hi,
found a quoting bug in AGI.pm.
$AGI->say_phonetic('Hello Mini', '#');
doesn't work:
AGI Rx << SAY PHONETIC Hello Mini #
AGI Tx >> 520-Invalid command syntax. Proper usage follows:
AGI Tx >> Usage: SAY PHONETIC <string> <escape digits>
Line 842 in AGI.pm reads:
return $self->execute("SAY PHONETIC $string $digits");
but it should be:
return $self->execute("SAY PHONETIC \"$string\" $digits");
This also occurs in other functions.
Greetings
Ben
--
Benjamin Kluck - kluck@sipgate.de
indigo networks GmbH - Gladbacher Str. 74 - 40219 Düsseldorf
HRB Düsseldorf 39841 - Geschäftsführer: Thilo Salmon, Tim Mois
Steuernummer: 106/5713/2881, Umsatzsteuer-ID: DE219349391
www.sipgate.de - www.sipgate.at - www.sipgate.co.uk