07-26-2018 06:18 AM
I would like to create a cucm query to bring information about the extensions, like directory number, device name, Device Pool, Directory Template 1 and Recording Option/Profile.
tks for help.
07-26-2018 12:05 PM
How about just BAT export devices?
07-27-2018 11:22 AM
Yes, I know there is this option, but I need to extract this informations automatic.
07-28-2018 04:30 AM
05-06-2022 01:06 PM
I was looking for a similar SQL query so I hope the following queries might be helpful to someone:
run sql select dev.name as devicename, dev.description as description, np.dnorpattern as extension, rp.name as recordingproile, rd.tkrecordingflag as RecordingOption from devicenumplanmap as dnp left join device as dev on dnp.fkdevice=dev.pkid left join numplan as np on dnp.fknumplan=np.pkid left join recordingprofile as rp on dnp.fkrecordingprofile=rp.pkid left join recordingdynamic as rd on dnp.pkid=rd.fkdevicenumplanmap where rp.name != 'NULL'
The field "recordingoption" has the values 0,1 and 2 with following meaning:
run sql select * from typerecordingflag
enum name moniker
==== ================================ ========================
0 Call Recording Disabled RECORDING_FLAG_DISABLED
1 Automatic Call Recording Enabled RECORDING_FLAG_AUTOMATIC
2 Selective Call Recording Enabled RECORDING_FLAG_SELECTIVE
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