[asterisk-users] Read function
Daniel Suleyman
danikpro at gmail.com
Sun Mar 9 00:34:36 CST 2008
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?
More information about the asterisk-users
mailing list