[asterisk-dev] MeetMe feature request: bypass pincode

Leif Madsen leif.madsen at asteriskdocs.org
Mon Jul 20 08:21:58 CDT 2009


Emrah wrote:
> Would it be possible to imagine an option that avoids the need of
> entering the pin code of a conference room?
> 
> * One option to skip the pin; user enters the conference in participant
> mode.
> * One option to skip the pin; user enters the conference in
> administrator mode.
> 
> It could be a similar option to "s" in VoicemailMain.

This is an asterisk-users question, and would have been more appropriate to have 
asked there.

Instead of setting up your conferences in meetme.conf, you could set them up 
dynamically in the dialplan, and then you can control whether the user is 
prompted for a pin or not when joining the conference, based on whatever logic 
you want.

Something like the following could work (untested):

exten => start,1,NoOp()
exten => start,n,Set(PIN=1234)
exten => start,n,Set(USER_MUST_ENTER_PIN=${IF($[${CUT(CHANNEL,-,1)} != 
SIP/myself]1:0)})
exten => start,n,MeetMe(7070,d${IF($["${USER_MUST_ENTER_PIN}" = "1"]?,${PIN})})
exten => start,n,Hangup()

Leif Madsen.
http://www.leifmadsen.com
http://www.oreilly.com/catalog/asterisk



More information about the asterisk-dev mailing list