[asterisk-users] MeetMe errorhandling

Kai-Uwe Jensen kujensen at gmail.com
Mon Sep 6 16:54:18 CDT 2010


>
> 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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100906/3afe67c6/attachment.htm 


More information about the asterisk-users mailing list