[Asterisk-Users] Wait(n) -v- Background(silence/n) ?

Sergey Kuznetsov asterisk_biz at deeptown.org
Mon Jan 17 16:48:28 MST 2005


In my AGI script I made the next trick:

    $digit = $AGI->get_data("vm-enter-num-to-call-then-pound", 15000, 1);

    while ( $digit eq 0 or $digit )
    {
        $phoneNum .= $digit;
        $digit = $AGI->get_data("empty", 7000, 1);
    }

where file empty.gsm have 0 byte length.

It works like a charm for me.


All the Best!
Sergey.


Howard Lowndes wrote:

>Will Wait(n) still listen for DTMF input from the caller after there has
>been a Background(some-message) prompt, or do I need to use
>Background(silence/n) to still listen for DTMF?
>
>  
>




More information about the asterisk-users mailing list