I'm pretty syre you would specify that in indications.conf under the
frequency field, because there is a setting for duration there and the
default is infinite.

------
Shidan

On 4/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> My problem isn't with tone generation, it's with stopping tone generation
> once someone starts pressing digits.
>
> On Tue, 18 Apr 2006, Shidan wrote:
>
> > Check your indications.conf for the frequency field.
> >
> > On 4/18/06, Simon P. Ditner <[EMAIL PROTECTED]> wrote:
> > > I've been tinkering with a phonecard service, and I feel it's a bit
> > > gheto using a WAV file to generate dial tone. That seems like
> > > something Asterisk should be able to do -- so I thought I'd use the
> > > dialplan command PlayTones(dial), but the bugger won't stop generating
> > > the tone once you start pressing digits...
> > >
> > > exten => s,1,Answer()
> > > exten => s,n,Playback(welcome-msg)
> > > exten => s,n,PlayTones(dial)
> > > exten => s,n,Set(TIMEOUT(digit)=5)
> > > exten => s,n,WaitExten(60)
> > >
> > > exten => _NPANXXXXXX,1,Dial([EMAIL PROTECTED]/provider)
> > >
> > > Has anyone else used it with success?
> > >
> > > Cheers,
> > > spd
> > >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to