cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
424
Views
0
Helpful
2
Replies

SQL Query Assistance

chuck47172
Level 1
Level 1

Looking for the command line to run a query that will return the MAC adddress, DN and number mask.

2 Replies 2

Ritesh Desai
Spotlight
Spotlight

Hi @chuck47172  Check if this helps you.

https://community.cisco.com/t5/collaboration-voice-and-video/useful-sql-queries-in-cucm/ta-p/3773875

 

Please rate helpful post

*** Please rate helpful post. Please mark as answer if it solves your problem/query.
regards, Ritesh Desai

Thanks for the info however this is not what I trying to query. I should have been more detailed in my request, sorry.

the mask I'm referring to is the e164mask.

The following command shows what I am after but it does not show the MAC address of the phone that is using the e164mask.

run sql select dnorpattern, d.description, e164mask, tkpatternusage from devicenumplanmap inner join numplan on fknumplan=numplan.pkid join device d on fkdevice = d.pkid