>
> I use  "MeetMe(,Ms)"  in the Dialplan and if a Conference Room does't exist
> Asterisk play  (conf-invalid.slin)
> If i use "MeetMe(${room},Ms)"  (value from DTMF Read) and the Conference
> Room doesn't exist Asterisk don't play (conf-invalid.slin) and Asterisk
> Hangup the Call.
>

Use the "i" extension to control what happens when entering an invalid room
number. Simple example:

exten => 5000,Goto(confline,s,1)

[confline]
exten => s,1,Background(enter-conf-call-number)
exten => s,n,WaitExten(20)

exten => i,1,Playback(conf-invalid)
exten => i,n,Goto(s,1)

exten => t,1,Goto(s,1)

; Participants always dial a 7-digit conference number, optionally followed
; by the #-sign
exten => _XXXXXXX,1,MeetMe(${EXTEN},Mxwsp)
exten => _XXXXXXX,n,Hangup()
exten => _XXXXXXX#,1,Goto(${EXTEN:-8:7},1)
-- 
_____________________________________________________________________
-- 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

Reply via email to