Need help with conferencing please

I’ve setup an AstDB and put conf pins in there. I need to be able to have a participant call in but the conference doesn’t start until the Leader for that conference has key’d in. Also I’m currently having an issue where if there’s NO PIN entered it defaults to conference number 0

exten => phonenumber,1,Answer ; Answer the line
exten => phonenumber,n,Wait(2)
exten => phonenumber,n,Playback(confanswer) ;Greeting
exten => phonenumber,n,Read(conf_num,enter-conf-call-number,6) ;Pin collection
exten => phonenumber,n,set(passpin=${DB(confer/${conf_num})}) ;setting collected pin to variable
exten => phonenumber,n,MeetMe(${conf_num}|sIMdEcq) ;calling meetme application
exten => phonenumber,n,Hangup()

Your help is greatly appreciated!


You need to set a “catchall” incase its a null value.

exten => phonenumber,n,GotoIf($[“foo${conf_num}” = “foo”]?4)

Should solve it

but not for someone just punching in a value like 446. Am I missing some constraint’s on the pin validation?

Hi Opps that was a typo
Ive just checked mine
and its

exten => phonenumber,n,GotoIf($[“foo${passpin}” = “foo”]?4)

you could also just check that the key exists in the database. and if it doesnt repeat…


what would that code look like? If the pin doesn’t exist in the db then have them re-enter the pin?