Caio Begotti wrote: > Sorry, it's all in handle_voicemail_show_users from app_voicemail.c. > I'm using it as a starting guide, there's no extra code yet. For > example, when you do: > > *CLI> voicemail show users for<TAB> > default other people foo
The function to look at for how this is currently done is complete_voicemail_show_users(). Note that this is the deprecated method for creating new CLI commands. Look for NEW_CLI in main/cli.c to see examples of creating CLI commands using the new method. Back to your question. "default other people foo" is a misleading set, because what this function does is print out what voicemail *contexts* are available, not individual mailboxes, so having "default" show up here does make sense. If you're writing a new CLI command where you'd like the list of users show up, then you would write a new function that does that instead. -- Russell Bryant Software Engineer Digium, Inc. _______________________________________________ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
