[Asterisk-Users] NoOp gives an ringing indication ?

2003-06-24 Thread Thomas Haeger
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:  [EMAIL PROTECTED]
***

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] NoOp gives an ringing indication ?

2003-06-24 Thread John Todd
Where in here are you waiting for digits?  I don't see anything in 
here that allows input from the user.  You are getting the ring 
because the s extension is completed, and ${EXTEN} is set to 
something, and then you're jumping right to _X. which is finding a 
match and executing the Dial application.

You need a Background application in the s extension range 
somewhere that waits for digits.

JT


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:  [EMAIL PROTECTED]
***
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users