On Mon, Oct 11, 2010 at 6:14 PM, Daniel Knoll <[email protected]> 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}'
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users