Strange, it's not there in wiki but phpagi is using this

    * @link http://www.voip-info.org/wiki-get+data
    * @param string $filename file to play. Do not include file extension.
    * @param integer $timeout milliseconds
    * @param integer $max_digits
* @param char $escape_character
    * @return array, see evaluate for return information. ['result'] holds
the digits and ['data'] holds the timeout if present.
    *
    * This differs from other commands with return DTMF as numbers
representing ASCII characters.
    */
    function get_data($filename, $timeout=NULL, $max_digits=NULL,
$escape_character=NULL)
    {
      return $this->evaluate(rtrim("GET DATA $filename $timeout $max_digits
$escape_character"));
    }



Regards,
Zohair Raza

On Thu, Feb 23, 2012 at 1:25 AM, Steve Edwards <[email protected]>wrote:

> On Wed, 22 Feb 2012, Zohair Raza wrote:
>
>  Try passing escape character
>> GET DATA $filename $timeout $max_digits $escape_character
>>
>
> Why? Is this 'extra' parameter documented in your version of Asterisk?
>
>
> --
> Thanks in advance,
> ------------------------------**------------------------------**
> -------------
> Steve Edwards       [email protected]      Voice: +1-760-468-3867 PST
> Newline                                              Fax: +1-760-731-3000
>
> --
> ______________________________**______________________________**_________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>              http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>  
> http://lists.digium.com/**mailman/listinfo/asterisk-**users<http://lists.digium.com/mailman/listinfo/asterisk-users>
>
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to