[asterisk-users] Read function

Niles Ingalls niles at atheos.net
Sun Mar 9 08:43:23 CDT 2008


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





More information about the asterisk-users mailing list