[asterisk-users] Read function

Daniel Suleyman danikpro at gmail.com
Sun Mar 9 09:42:36 CDT 2008


it seem that waitexten can't detect dtmf input too...

2008/3/9, Daniel Suleyman <danikpro at gmail.com>:
> thank you but it is only in e-mail not in system. :(
> in pic attached in previous mail you can see.
>
> :( maybe read functiondo not recongnize tones, wich tones I must use
> then...verry strange ^((((
>
> 2008/3/9, Niles Ingalls <niles at atheos.net>:
> >
> > On Mar 9, 2008, at 1:34 AM, Daniel Suleyman wrote:
> >
> > > Dear all, interesting behaivior of the Read function.
> > >
> > > I have  SIP phone(XLITE) attached to my Asterisk.
> > >
> > > SIP.conf
> > > [7007]
> > > type=friend
> > > qualify=900
> > > host=192.168.85.27
> > > dtmfmode=rfc2833
> > > disallow=all
> > > allow=gsm
> > > allow=alaw
> > > allow=ulaw
> > >
> > > extensions.conf
> > >
> > > 1,1,Answer;
> > > 1,2,Read(CNT,,2)
> > > 1,3,SayNaumber(${CNT})
> > >
> > > Function read do not write anything to CNT or write "".
> > >
> > > in SayNumber it is always equel to ""; even if I previously defins
> > > CNT = 123;
> > >
> > > And read function not exit if I pres #.(I think it is exit only on
> > > timeout)
> > >
> > > Strange can anybody point on mistake?
> > >
> >
> > You have a spelling error at extension 1, priority 3.
> > SayNaumber, as opposed to SayNumber
> >
> >
> >
> > _______________________________________________
> > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> >   http://lists.digium.com/mailman/listinfo/asterisk-users
> >
>



More information about the asterisk-users mailing list