<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
how about just CLI command?<br>
<br>
you can use the data dictionary to see all of the SQL table definitions:<br>
<a class="moz-txt-link-freetext" href="http://www.cisco.com/en/US/partner/products/sw/voicesw/ps556/products_programming_reference_guides_list.html">http://www.cisco.com/en/US/partner/products/sw/voicesw/ps556/products_programming_reference_guides_list.html</a><br>
<br>
<tt>admin:run sql select numplan.dnorpattern,voicemessagingprofile.name
from numplan,voicemessagingprofile where
numplan.fkvoicemessagingprofile=voicemessagingprofile.pkid<br>
dnorpattern name <br>
=========== ============= <br>
5559101 NoVoiceMail <br>
5559102 NoVoiceMail <br>
5551002 vmp_privatevm <br>
5551004 Unity7-22_VM <br>
5551006 Unity7-22_VM <br>
5551008 Unity7-22_VM <br>
5551010 Unity7-22_VM <br>
5551013 Unity7-22_VM <br>
5551011 Unity7-22_VM <br>
5551012 Unity7-22_VM <br>
5551015 Unity7-22_VM <br>
</tt><br>
/Wes<br>
<br>
<br>
On Thursday, October 15, 2009 10:14:44 AM, Jeremy Rogers
<a class="moz-txt-link-rfc2396E" href="mailto:Jeremy.Rogers@ip-soft.net"><Jeremy.Rogers@ip-soft.net></a> wrote:<br>
<blockquote
cite="mid:238AFC34856EA140BBEA065C24A178F00230162563@NY1-EXMB-01.ip-soft.net"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="Section1">
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Thanks
Wes,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);">That’s
what I meant. I don’t know
anything about AXL queries so forgive me. I am trying to find all
lines with a
specific VM profile so I can delete old vm accounts from Unity
Connection.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span
style="font-size: 10.5pt; font-family: Consolas; color: rgb(31, 73, 125);">Jeremy
Rogers<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 10.5pt; font-family: Consolas; color: rgb(31, 73, 125);">Network
Management<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 10.5pt; font-family: Consolas; color: rgb(31, 73, 125);">IPsoft,
Inc.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 10.5pt; font-family: Consolas; color: rgb(31, 73, 125);"><a
moz-do-not-send="true" href="mailto:Jeremy.Rogers@ip-soft.net"><span
style="color: blue;">Jeremy.Rogers@ip-soft.net</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 10.5pt; font-family: Consolas; color: rgb(31, 73, 125);">Phone:
888.IPSOFT8<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 10.5pt; font-family: Consolas; color: rgb(31, 73, 125);"><a
moz-do-not-send="true" href="http://www.ipsoft.com"><span
style="color: blue;">http://www.ipsoft.com</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 10.5pt; font-family: Consolas; color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<div>
<div
style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">
<p class="MsoNormal"><b><span
style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">From:</span></b><span
style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">
Wes Sisk [<a class="moz-txt-link-freetext" href="mailto:wsisk@cisco.com">mailto:wsisk@cisco.com</a>] <br>
<b>Sent:</b> Thursday, October 15, 2009 9:25 AM<br>
<b>To:</b> Jeremy Rogers<br>
<b>Cc:</b> <a class="moz-txt-link-abbreviated" href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><br>
<b>Subject:</b> Re: [cisco-voip] AXL query<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">vmprofiles are associated to lines, not users.<br>
you could join vmprofile table to numplan to get vmprofile to dn
mapping.<br>
then you could possibly try another join based on (user assocaited to
device)
or (user assocaited to line) to get a rough mapping of users.<br>
<br>
/wes<br>
<br>
On Thursday, October 15, 2009 8:44:08 AM, Jeremy Rogers <a
moz-do-not-send="true" href="mailto:Jeremy.Rogers@ip-soft.net"><Jeremy.Rogers@ip-soft.net></a>
wrote:<br>
<br>
<o:p></o:p></p>
<p class="MsoNormal">Is there any way to query AXL on Call Manager 6
to find all
users with a specific voicemail profile?<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size: 10.5pt; font-family: Consolas;">Jeremy
Rogers</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size: 10.5pt; font-family: Consolas;">Network
Management</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size: 10.5pt; font-family: Consolas;">IPsoft,
Inc.</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size: 10.5pt; font-family: Consolas;"><a
moz-do-not-send="true" href="mailto:Jeremy.Rogers@ip-soft.net">Jeremy.Rogers@ip-soft.net</a></span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size: 10.5pt; font-family: Consolas;">Phone:
888.IPSOFT8</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size: 10.5pt; font-family: Consolas;"><a
moz-do-not-send="true" href="http://www.ipsoft.com">http://www.ipsoft.com</a></span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size: 10.5pt; font-family: Consolas;"> </span><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<pre><o:p> </o:p></pre>
<pre style="text-align: center;">
<hr align="center" size="4" width="90%">
</pre>
<pre><o:p> </o:p></pre>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>cisco-voip mailing list<o:p></o:p></pre>
<pre><a moz-do-not-send="true"
href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true"
href="https://puck.nether.net/mailman/listinfo/cisco-voip">https://puck.nether.net/mailman/listinfo/cisco-voip</a><o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<p class="MsoNormal"><span
style="font-size: 12pt; font-family: "Times New Roman","serif";"><o:p> </o:p></span></p>
</div>
</blockquote>
<br>
</body>
</html>