[asterisk-users] [asterisk-dev] MeetMe feature request: bypass pincode
Leif Madsen
leif.madsen at asteriskdocs.org
Mon Jul 20 13:10:11 CDT 2009
Emrah wrote:
>> 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()
> Thanks for your answer.
> However what I would like to achieve is a little bit more complicated.
> It involves the manager to originate a call and put a participant in the
> conference. I made a workaround with an agi script but I would
> definitely prefer a sexier method to do it (like I said with an option
> to the application).
>
> Thanks for your hint anyway.
I'm not sure how that restricts you from using a dialplan trick, since the
originate you're doing from your AMI interface is still going to execute
dialplan (or could).
Additionally, I don't remember any of that information in your original email.
You should give all relevant information so people can give you a good answer.
I'm reasonably confident there are enough methods to get what you want though
without a new configuration option.
However, without more information about how what you're really trying to do, I
can only speculate.
Leif Madsen.
http://www.leifmadsen.com
http://www.oreilly.com/catalog/asterisk
More information about the asterisk-users
mailing list