[Asterisk-Users] "NoOp" gives an ringing indication ?

Thomas Haeger thomas.haeger at beronet.com
Tue Jun 24 08:16:26 MST 2003


Hi all,

i want lock Zap channels via global var FREE1

if FREE1 = 1 then call should go on with nothing and waiting for digits to
go in _X.
Otherwise hangup the channel

But if the GotoIf goes to s|4 (NoOp) then comes a ringing indication.... !?

The "immediate" property in the zapat.conf is "yes"

[tel1]
exten => s,1,GotoIf($[${FREE1} = 1]?s|4:s|2)
exten => s,2,Playback,gesperrt
exten => s,3,Hangup
exten => s,4,NoOp


exten => _X.,1,Dial,Modem/g1:${EXTEN}
exten => _X.,102,Hangup

What can i do ?



Thanks for help,

Thomas.



*******************************************
beroNet technologies GmbH
Dipl.- Ing. Thomas Häger
Potsdamer Str. 18 A
14513 Teltow

FON:    +49 (0) 3328 3077731
FAX:    +49 (0) 3328 334779
Email:  thomas.haeger at beronet.com
*******************************************




More information about the asterisk-users mailing list