Hey, i forgot to ask, how can i get the user number from a caller he is in a conference, i don't find a variable to us this for the current channel. Only the command "meetme list <roomnr>" shows the usernumber, but i can't use this output. Thanks. Daniel
On Tue, 12 Oct 2010, Daniel Knoll wrote:> i forgot to ask, how can i get the user number from a caller he is in a > conference, i don't find a variable to us this for the current channel. > Only the command "meetme list <roomnr>" shows the usernumber, but i > can't use this output.If you use AMI in an AGI you can parse this output and do something useful with it like mute the user or return the user number to your dial plan as a channel variable -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000
On Mon, Oct 11, 2010 at 6:14 PM, Daniel Knoll <daniel at danielknoll.de> wrote:> Hey, > i forgot to ask, how can i get the user number from a caller he is in a conference, i don't find a variable to us this for the current channel. > Only the command "meetme list <roomnr>" shows the usernumber, but i can't use this output.why not? asterisk -rx 'meetme list xxxx' Depending on your version, 1.6 has the concise argument, which transforms the output into convenient exclamation-point-separated output. Then you can send it off to awk -F'!' and pick off the first value. asterisk -rx 'meetme list xxxx concise' | awk -F '!' '{print $1}'