11-14-2006 01:30 PM - edited 03-13-2019 03:47 PM
I'd really like a list of more settings, but I currently just need the External Phone Number Mask value for every line. The export function seems to be used for importing purposes (tried to manipulate template to no avail) and the reporting feature is just by phone, not DID.
Is there an easy way to do this? Seems like it would be a simple query if I knew the database structure.
Any help would be appreciated.
11-15-2006 05:15 AM
The MAC number isn't saved.. but since the device name is SEP+MAC, it's easy to be separated. You'll have devices in the device table, lines in the numplan table, and the whole thing is linked together via numplanmap table.
And Cisco offers the whole DB schema for download: http://www.cisco.com/application/pdf/en/us/guest/products/ps6164/c1671/ccmigration_09186a0080705df6.pdf
11-15-2006 01:14 PM
Saved my life, thanks!
SELECT name,device.description,dnorpattern,e164mask
FROM (
numplan
inner
join devicenumplanmap
on numplan.pkid
= devicenumplanmap.fknumplan
)
inner
join device
on devicenumplanmap.fkdevice
= device.pkid
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide