[asterisk-users] user number in conference

David Backeberg dbackeberg at gmail.com
Tue Oct 12 14:55:47 CDT 2010


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}'



More information about the asterisk-users mailing list