>> The problem is that if a user enters a PIN that is NOT in the table,
>> asterisk goes crazy and continues to loop forever.
Why don't you use read instead? This is what I have:
exten => s,n,Answer(500)
exten => s,n,Read(get-room-num,conf-getconfno)
; *********************************************************
; Get conference room number, if number entered is 99999 **
; jump to verify. **
; *********************************************************
exten => s,n,NoOP(${conf-getchannel})
Do some mysql magic here
exten => s,n,GotoIf($["${conference.room}" != ""]?s-process,1:s-notexist,1)
Doug
--
Ben Franklin quote:
"Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety."
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users