<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On May 23, 2013, at 9:57 AM, Matthew Cordes <<a href="mailto:cordes.matthew@gmail.com">cordes.matthew@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi Mike, <br><br>Thanks for the quick response. Here are a few more questions / comments below:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><div><blockquote type="cite">1. How do I translate conference cli commands (e.g. "conference xxx mute yyy") into a dialplan xml actions? <br></blockquote>You don't really. Why exactly would you want to do this?</div>
</div></blockquote><div><br>In some situations I'd like to mute all users other than the moderator from when they join for the duration of the conference. I thought the right way to do this would be via an action in my dialplan as new callers join my conference. What would you recommend? <br></div></div></blockquote><div><br></div>Look at conference flags, there is one so they enter muted.<br><div><br></div><br><blockquote type="cite"><div class="gmail_quote"><div>Thanks, Mod_xml_curl looks straightforward enough. <br><br><blockquote type="cite">4. I'd like to have some private conferences that only certain callers can join. I'll know the callers' ids before hand. I'm assuming a reasonable way to handle is with user groups. How would I test if a user is a member of a particular group?<br>
</blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div>If your doing dialplan via mod_xml_curl you can do all that validation in your dialplan lookup.</div>
</blockquote></div><br>Can you point me to a resource regarding how I would do this validation? I know how to define users and groups. It's not clear to me how to test for membership in a group or how that would be written (although I'm assuming it would be a condition in the dialplan, correct?). <br></div></blockquote><div><br></div>This has nothing to do with dialplan, it has to do with however you store data about these "groups". This is completely arbitrary outside of freeswitch. You could store this information in a database and look it up from your script managing dialplan for example.</div><div><br></div></body></html>