[asterisk-users] AGI: blocking script until playback complete
Zohair Raza
engineerzuhairraza at gmail.com
Thu Feb 23 02:21:49 CST 2012
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 <asterisk.org at sedwards.com>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 sedwards at sedwards.com 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>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120223/586cb573/attachment.htm>
More information about the asterisk-users
mailing list