CUCM SQL: Device Profile without Line [1] Number

Hi Guys,
we're cleaning up our Callmanager environment right now and I wanna get rid of User Device Profiles which never have been deleted. Is there any way (my thought was via SQL) to at least show up the Device Profiles, who don't have a Line [1] number associated with it (the DNs already have been deleted but there still a lot of old Profiles laying around)
Thanks for a short reply
cheers
Marc

Try this: 
run sql select device.name from device where not exists (select fkdevice from devicenumplanmap where devicenumplanmap.fkdevice = device.pkid) and device.tkclass = 254
... though George's answer is equally practical for non-SQL types (+5) :-)
Aaron

Similar Messages

  • How to search for unused User Device Profiles in CUCM 10?

    Hi guys, 
    I have a customer who would like to find out which User Device Profiles are not being used.  I think the following methods would work but I have no idea how to do these in bulk: 
    1: Figure out if the User Device Profile is associated with a user or not 
    2: Figure out when the last time the user device profile was used (Is this possible?  Direct database query?  If so how?) 
    Any help would be greatly appreciated
    -Akin

    I had the same issue in my former company but luckily we used the "Login User ID" field wher we had the end user associated.
    As soon as the User left the company and therefor was deleted in CUCM that field became empty.
    So what I did was following
    Generate a User Device Profile Report (Bulk Administration > User device Profiles > Generate UDP Reports
    Select from the device fields Profilename and Login User ID
    Let the report run and open the report file (you will find it at the job scheduler)
    All UDP's without a login user ID are usually not assigned to a user and you may want to delete those.
    No idea about the SQL query but you maybe find something usefull in the database dictionary http://www.cisco.com/c/en/us/support/unified-communications/unified-communications-manager-callmanager/products-programming-reference-guides-list.html
    Eike

  • Oracle SQL Developer and Errors (Line Number Incorrect)

    First, I wanted to state that Oracle SQL Developer 2 is a standout job.
    I wanted to report, though, that when Oracle SQL Developer 2 can't compile a block of code or a simple SQL statement has invalid syntax, it does not have an option to accurately go to the line of code in question. GOING TO the erroneous line of code doesn't need to be a feature, but often times the line no. REPORTED by Oracle SQL Developer is incorrect by 50+ lines.
    Is this something I could fix on my end? I have five other developers griping about this.
    Thank you!

    I don't know if this is the situation you are talking about, but line numbers for errors in SQL in a SQL Worksheet are not line numbers within the statement but rather line numbers in the worksheet. For example, with the following SQL in the worksheet:
    select * from dual;
    select * from dual;
    select * from dual;
    select from dual;Running the "select from dual;" statement (as either statement based on cursor position, selected statement or as script), the error is reported on Line 4, Column 7. As I show line numbers (Tools | Preferences | Code Editor | Line Gutter | Show Line Numbers), this makes sense. Without line numbers showing or having the option to go to the error and with more realistic examples with SQL statements scrolling off the page, I can see that the line number in the errors wouldn't be helpful.
    I think -K- is talking about the PL/SQL code editors not reporting the correct line number based on the error line not counting the "create or replace" line at the start of a package (and more for triggers).
    theFurryOne

  • Sql query to pull line and device info

    I have two tables dbo_device that holds the device info and table dbo_DeviceNumPlanMap that holds the line info for a device. I am trying to pull the e164mask info and associate with the device description info.
    This is my query
    SELECT dbo_Device.Name, dbo_Device.Description, dbo_DeviceNumPlanMap.Label, dbo_DeviceNumPlanMap.Display, dbo_DeviceNumPlanMap.E164Mask
    FROM dbo_Device RIGHT JOIN dbo_DeviceNumPlanMap ON dbo_Device.ikDevice_DefaultProfile = dbo_DeviceNumPlanMap.fkDevice
    WHERE (((dbo_DeviceNumPlanMap.E164Mask)='3175551212'));
    The issue is I cant really find any fields between the two that coorolate. I found one field but that only match device profiles.
    Is there another table I should be including to get the info I need?

    I started playing with the SQl Database Diagram tool. I figured out when I included the Device table and the DeviceNumPlanMap table it did the diagram then I could look at the connecting line between the two tables. The properties of the connecting line showed me what fields matched. The Device - PKID field
    DeviceNumPlanMap - fkDevice field
    Matched
    Hope this helps someone else!

  • CUCM 10.5: User Device Profiles provisioning possible?

    Recently we've Upgraded our CUCM Cluster from 8.6.2 to 10.5 to gain some new features. In the feature list there is a lot of stuff for provisioning and making admin things easier. Right now, if there is a new employee in our company, we manually create the specific UserDeviceProfile for this user and make the settings needed, but it's more or less some standard procedure, which in my opinion, can be created by a template for example.
    The phones itself will still be manually created as we need to assign the company logo to the background, installing certificates and stuff like that, which can't (can it be?) be done remotely.
    In 10.5 I've seen that under "User Management - User/Phone Add" there are some points where to define different templates. So is there any way in automatically create the user device profiles, for example if the user has been created in the MS Active Directory with the proper filds (ipphone, name, ...)? I haven't found a manual for this scenario (just for the self-provisioning with IVR, which I don't want)
    Thanks in advance :)

    We are experiencing the same issue in our organisation.  Is this simply a limitation of the Self Care Portal?  If so, is it on the roadmap to support configurations with multiple Remote Destination Profiles in the future?
    Error message attached.
    Regards,
    John.

  • It is possible to know my UDID only with the serial number of my device and without the device?

    Hello, I would want to know if is possible to know my UDID only with the serial number of my old device and without the device. I sent my old device there was a few months and they can't repare it, so they pay me back with a voucher and I bought a new one (iPod Touch 4g 8GO). I have to know the UDID of my old device to transfer all of my game to my new device (all the data for not to start all the games again) BUT I just had only the serial number.
    Someone can help me please? Thanks
    (P.S.: Sorry if there are mistakes in english, I'm french )

    See this previous discussion.
    https://discussions.apple.com/message/16006738#16006738

  • CUCM 9.1.1 ucmuser web sort order of controlled device profiles

    Hi !
    Anyone has an idea, how the web interface for the users (ucmuser) does sort the controlled em device profiles ?
    Or even better how to change the displayed sort order ?
    Changing the order of controlled device profiles in the user configuration in ccmadmin does not change anything in ucmuser.
    And the controlled device profiles in ucmuser seem to have no recognizable order at all, but the order keeps being the same,
    regardless any changes we make in ccmadmin.
    Thanks
    Ralph

    Hi.
    You can export all UDP.
    Edit it with Excel
    filter only entries with empty user
    Upload the modified file as UDP- UDP Delete Custom File
    Select delete device profile from BAT menu
    HTH
    Regards
    Carlo

  • Device Profile reset.

    Dear team
    I have a CUCM ver 8 setup in our office.
    In our comapny for phone profile we have configured static number and PRI range numbers are configured on direectory number of  Device Profile.
    for remote support i need to restart my IP Phone device profile but i am getting error that there are no associated device to restart. and in this case i need to find out the MAC accress then i can do.
    My requirement is can i restart the device profile by knowing the directoy number only without MAC address of the phone where the direcoty number logged in.
    Thanks in advance.
    Regards
    Hari

    Hari, you can find that results under device>phone page in CUCM.
    http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucmbe/admin/7_0_1/ccmcfg/701-bccm-be/b06phone.html#wp1373809
    Step 1 Choose Device > Phone.
    The Find and List Phones window displays. Records from an active (prior) query may also display in the window.
    Step 2 Select the Actively Logged In Device Report from the drop-down list box in the upper, right corner of the Find and List Phones window and click Go. The Find and List Actively Logged In Device window displays.
    //Suresh
    Please rate all the helpful posts

  • Call Manager Device Profile - Change Product Type

    Does anyone know if you can change the product type in the device profile once it has been created. 
    Example: Profile was a 7960 now we want to migrate the profile to a 7962.
    Thanks

    Hi,
    I don't see an option to do so, however you can check the 'Extension Mobility Equivalency' feature as it is quite useful in such scenarios:
    http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/admin/8_6_1/ccmfeat/fsgd-861-cm/fsem.html#wp1386088
    Extension Mobility Equivalency
    Cisco Extension Mobility (EM) equivalency eliminates the phone-model dependency of phone button templates. The following factors determine the model equivalency among the various phones:
    •Various features that the phone models support
    •Number of buttons that the phone models support
    EM equivalency supports these features for the Cisco Unified IP Phones:
    •Feature Safe on Phone Button Template—Phones can use any phone button template that has the same number of line buttons that the phone model supports.
    •Size Safe on Phone Button Template—This feature allows the user to use any phone button template that is configured on the system.
    Cisco Unified Communications Manager enhances the existing Extension Mobility (EM) equivalency mechanism to work across phone types as follows:
    •Feature Safe on Phone Button Template—For both SCCP and SIP protocols, the following Cisco Unified IP Phone models support the Feature Safe feature: 7931, 7941, 7941G-GE, 7942, 7945, 7961G-GE, 7962, 7965, 7975. For the SIP protocol only, the following Cisco Unified IP Phone models support the Feature Safe feature: 8961, 9951, 9971.
    Note Be aware that the Feature Safe on Phone Button Template feature does not support using an EM profile that is configured for a newer model on the Cisco Unified IP Phone 7960 or 7940.
    •Size Safe on Phone Button Template—For both SCCP and SIP protocols, the following Cisco Unified IP Phone models support the Size Safe feature: 7906, 7911, 7931, 7941, 7941G-GE, 7942, 7945, 7961, 7961G-GE, 7962, 7965, 7975.
    HTH
    Manish

  • Bat multiple BLF with User Device Profiles

    Has anyone able to BAT in multiple Speed Dial/BLF into a user device profile.  I have CUCM 7.1 and trying to BAT in a line with multiple SD/BLF for the other buttons.  I get this error
    Error : Missing key in referenced table for referential constraint (informix.fk_blfspeeddial_fknumplan).
    I checked my phone template and it has 1 line with 5 SD/BLF
    My phone type is 9951
    Thanks

    Juergen,
    Do your fields look like this?
    Busy Lamp Field Label 3
    Busy Lamp Field Label ASCII 3
    Busy Lamp Field Destination 3
    Busy Lamp Field Directory Number 3
    J. Nelson
    J. Nelson
    2303 in INTERNAL-PT
    Nurse
    Nurse
    4062 in INTERNAL-PT
    Library
    Library
    4017 in INTERNAL-PT
    B. Hipsher
    B. Hipsher
    4092 in INTERNAL-PT
    C. Kirkland
    C. Kirkland
    8246 in INTERNAL-PT
    L. Stoner
    L. Stoner
    2040 in INTERNAL-PT
    South Lounge
    South Lounge
    2637 in INTERNAL-PT
    Ginger W
    Ginger W
    6043 in INTERNAL-PT
    K. Jaffie
    K. Jaffie
    4609 in INTERNAL-PT
    L. Cornwall
    L. Cornwall
    2755 in ES-ClassRm-PT
    NA Counselor
    NA Counselor
    2123 in ES-ClassRm-PT
    S. Brigman
    S. Brigman
    8262 in INTERNAL-PT
    D. Sorden
    D. Sorden
    8205 in INTERNAL-PT
    J. Brandel
    J. Brandel
    8105 in INTERNAL-PT
    J. Brandel
    J. Brandel
    8105 in INTERNAL-PT
    S. Pebley
    S. Pebley
    5512 in INTERNAL-PT
    S. Pebley
    S. Pebley
    5512 in INTERNAL-PT
    Wanda B
    Wanda B
    6072 in INTERNAL-PT

  • Is it possible to separate call forward unregistered & busy on a device profile?

    I've got the following situation cropping up a surprising amount at our site:
    User has 2 jobs within our institution. Works 3 days a week on job 1, 2 days on job 2. Each job is billed to a different cost centre, and the user doesn't want to be getting calls for job 1 when they're supposed to be working on job 2, and vice versa.
    As such, we've created them 2 device profiles. When they log into the phone at the desk of whichever job they're currently working, they get prompted for which profile they want to log in to. The other device profile (if still logged in to the phone on the desk of the other job) is then forcibly logged out.
    When profile 1, for job 1, is logged in, but the user is already on a call, they want incoming calls to that extension to be directed to their voicemail (i.e. set Call Forward Busy [Internal|External] to send to voicemail). They can then check voicemail and follow up on the call as soon as they're off the current one.
    When profile 1/job 1 is logged *out*, i.e. they're currently working job 2, they want incoming calls to job 1's extension to be immediately diverted to a colleage within the same job 1 team.
    I thought I could do this by utilising Call Forward Unregistered [Internal|External], but this does not seem to be the case. When a device profile is not logged in to a device it seems like the busy trigger just gets treated as 0 so the value of Call Forward Busy is followed. I can't see any situation where Call Forward Unregistered is ever utilised if an extension is only associated with a device profile.
    Is there any way to do what I want (without massively convoluted configuration on Call Manager)? If not, do people think this is worth raising as a feature request (or bug in expected behaviour) for later versions of Call Manager?
    We're currently on CUCM 8.5, FYI, in case this is something that's already been updated in version 9 or later.

    Some progress on second idea. Saved a copy of universal access plist with cursor set to large then set the cursor to small again. Replacing the plist file had no effect until I went into the UA pane and changed a setting at which point it must rewrite the file and refresh because the cursor size also changed at this point.
    Tried the same again and restarted Finder, no effect. Also tried altering another pref pane instead with no effect. Need a way to force the computer to look at the plist files, no idea how though. :-)

  • CUCM SQL to view Logged in Phones (extension mobility)

    Hi all,
    is there any SQL statement, showing me all Phones where people are logged in with their extension? There is a function like this on Device - Phone scrolling down to Extension Information and there is a field called "Current Device Profile", but I'll need this with all phones in a specific device pool.
    Anyone got an idea?
    Thanks in advance
    regards
    Marc

    HI MArc,
    whenever someone logs in the extensionmobilitydynamic table is updated.Here's a SQL command i use to list login times etc.This will least everyone i.e not by device pool but should give you enough to go on.
    run sql select u.userid, d.name,v.name e.logintime device from extensionmobilitydynamic e
    inner join enduser u on e.fkenduser = u.pkid
    inner join device d on e.fkdevice = d.pkid
    inner join device v on e.fkdevice_currentloginprofile = v.pkid
    its been formatted for easier reading so needs to be entered as one long line of txt.
    Cheers
    Mark

  • ORA-06503: PL/SQL: Function returned without value

    Hello
    Having a bit of a problem with piplined functions.
    Why does this work :
    SET SERVEROUTPUT ON
    DECLARE
    TYPE SARRAY IS TABLE OF VARCHAR2(4000);
    CURSOR CU IS SELECT * FROM DX_XML_ATTENDANCE WHERE STUD_ID = 107777 AND BASE_ID = 94;
    T_STUD NUMBER(10);
    T_BASE NUMBER(10);
    T_DATE DATE;
    T_MARKS VARCHAR2(1000);
    LEN_MARKS NUMBER;
    PDATE DATE;
    SDATE DATE;
    EDATE DATE;
    SLEN NUMBER;
    WEEKLEN NUMBER;
    INIPOS NUMBER;
    MARRAY VARCHAR2(1000);
    SUBARRAY SARRAY := SARRAY();
    SFILL VARCHAR2(14) := '--------------';
    EPOS NUMBER;
    MY_REC     DX_XML_ATTENDANCE%ROWTYPE;
    BEGIN
    SUBARRAY.EXTEND(17);
    DBMS_OUTPUT.ENABLE(100000000);
    --FOR MY_REC IN CU
    OPEN CU;
    LOOP
         FETCH CU INTO MY_REC;
         EXIT WHEN (CU%NOTFOUND);
    T_STUD := MY_REC.STUD_ID;
    T_BASE := MY_REC.BASE_ID;
    T_DATE := TO_DATE(MY_REC.START_DATE, 'DD/MM/YYYY');
    T_MARKS := MY_REC.MARKS;
    LEN_MARKS := LENGTH(T_MARKS);
    EPOS := LEN_MARKS / 2;
    SDATE := ROUND(TO_DATE(T_DATE), 'W') - 1;
    INIPOS := TO_NUMBER(TO_CHAR(T_DATE, 'D'));
    SLEN := INIPOS + 3;
    PDATE := SDATE;
    EDATE := SDATE + EPOS;
    MARRAY := SUBSTR(T_MARKS, 1, SLEN);
    WEEKLEN := LENGTH(MARRAY);
    IF WEEKLEN < 14 THEN
         MARRAY := SUBSTR(SFILL, 1, 14 - WEEKLEN) || MARRAY;
    END IF;
    SUBARRAY(1) := T_STUD;
    SUBARRAY(2) := T_BASE;
    SUBARRAY(3) := PDATE;
    FOR i IN 4 .. 17 LOOP
         SUBARRAY(i) := SUBSTR(MARRAY, i - 3, 1);
    END LOOP;
    DBMS_OUTPUT.PUT_LINE(SUBARRAY(1)||' '||SUBARRAY(2)||' '||SUBARRAY(3)||' '||SUBARRAY(4)||' '||
         SUBARRAY(5)||' '||SUBARRAY(6)||' '||SUBARRAY(7)||' '||SUBARRAY(8)||' '||SUBARRAY(9)||' '||
         SUBARRAY(10)||' '||SUBARRAY(11)||' '||SUBARRAY(12)||' '||SUBARRAY(13)||' '||SUBARRAY(14)||' '||
         SUBARRAY(15)||' '||SUBARRAY(16)||' '||SUBARRAY(17));
    WHILE PDATE < EDATE LOOP
         PDATE := PDATE + 7;
         MARRAY := SUBSTR(T_MARKS, SLEN + 1, 14);
         WEEKLEN := LENGTH(MARRAY);
         IF WEEKLEN < 14 THEN
              MARRAY := MARRAY || SUBSTR(SFILL, 1, 14 - WEEKLEN);
         END IF;
         FOR i IN 4 .. 17 LOOP
              SUBARRAY(i) := SUBSTR(MARRAY, i - 3, 1);
         END LOOP;
         SUBARRAY(3) := PDATE;
    DBMS_OUTPUT.PUT_LINE(SUBARRAY(1)||' '||SUBARRAY(2)||' '||SUBARRAY(3)||' '||SUBARRAY(4)||' '||
         SUBARRAY(5)||' '||SUBARRAY(6)||' '||SUBARRAY(7)||' '||SUBARRAY(8)||' '||SUBARRAY(9)||' '||
         SUBARRAY(10)||' '||SUBARRAY(11)||' '||SUBARRAY(12)||' '||SUBARRAY(13)||' '||SUBARRAY(14)||' '||
         SUBARRAY(15)||' '||SUBARRAY(16)||' '||SUBARRAY(17));
         PDATE := PDATE + 7;
         SLEN := SLEN + 14;
    END LOOP;
    END LOOP;
    END;
    and this does not :
    CREATE OR REPLACE PACKAGE BODY PARSE_ATTENDANCE AS
    FUNCTION ENUM_MARKS(SEL_SQL IN VARCHAR2)
    RETURN TMP_ATT_DATA_TBL PIPELINED
    IS
    V_SQL           VARCHAR(1000):= SEL_SQL;
    V_CURSOR      SYS_REFCURSOR;
    V_ROW          TMP_ATT_HOLDING:=TMP_ATT_HOLDING(NULL, NULL, NULL, NULL);
    T_STUD           NUMBER(10);
    T_BASE           NUMBER(10);
    T_DATE           DATE;
    T_MARKS      VARCHAR2(1000);
    LEN_MARKS      NUMBER;
    PDATE          DATE;
    SDATE          DATE;
    EDATE          DATE;
    SLEN           NUMBER;
    WEEKLEN      NUMBER;
    INIPOS           NUMBER;
    MARRAY           VARCHAR2(1000);
    SUBARRAY      SARRAY := SARRAY();
    SFILL           VARCHAR2(14) := '--------------';
    EPOS           NUMBER;
    BEGIN
    SUBARRAY.EXTEND(17);
    OPEN V_CURSOR FOR V_SQL;
    LOOP
         FETCH V_CURSOR INTO V_ROW.STUD_ID, V_ROW.BASE_ID, V_ROW.START_DATE, V_ROW.MARKS;
         EXIT WHEN V_CURSOR%NOTFOUND;
    T_STUD := V_ROW.STUD_ID;
    T_BASE := V_ROW.BASE_ID;
    T_DATE := TO_DATE(V_ROW.START_DATE, 'DD/MM/YYYY');
    T_MARKS := V_ROW.MARKS;
    LEN_MARKS := LENGTH(T_MARKS);
    EPOS := LEN_MARKS / 2;
    SDATE := ROUND(TO_DATE(T_DATE), 'W') - 1;
    INIPOS := TO_NUMBER(TO_CHAR(T_DATE, 'D'));
    SLEN := INIPOS + 3;
    PDATE := SDATE;
    EDATE := SDATE + EPOS;
    MARRAY := SUBSTR(T_MARKS, 1, SLEN);
    WEEKLEN := LENGTH(MARRAY);
    IF WEEKLEN < 14 THEN
         MARRAY := SUBSTR(SFILL, 1, 14 - WEEKLEN) || MARRAY;
    END IF;
    SUBARRAY(1) := T_STUD;
    SUBARRAY(2) := T_BASE;
    SUBARRAY(3) := PDATE;
    FOR i IN 4 .. 17 LOOP
         SUBARRAY(i) := SUBSTR(MARRAY, i - 3, 1);
    END LOOP;
    PIPE ROW(TMP_ATT_DATA_OBJ(SUBARRAY(1),SUBARRAY(2),SUBARRAY(3),SUBARRAY(4),
         SUBARRAY(5),SUBARRAY(6),SUBARRAY(7),SUBARRAY(8),SUBARRAY(9),
         SUBARRAY(10),SUBARRAY(11),SUBARRAY(12),SUBARRAY(13),SUBARRAY(14),
         SUBARRAY(15),SUBARRAY(16),SUBARRAY(17)));
    WHILE PDATE < EDATE LOOP
         PDATE := PDATE + 7;
         MARRAY := SUBSTR(T_MARKS, SLEN + 1, 14);
         WEEKLEN := LENGTH(MARRAY);
         IF WEEKLEN < 14 THEN
              MARRAY := MARRAY || SUBSTR(SFILL, 1, 14 - WEEKLEN);
         END IF;
         FOR i IN 4 .. 17 LOOP
              SUBARRAY(i) := SUBSTR(MARRAY, i - 3, 1);
         END LOOP;
         SUBARRAY(3) := PDATE;
         PIPE ROW(TMP_ATT_DATA_OBJ(SUBARRAY(1),SUBARRAY(2),SUBARRAY(3),SUBARRAY(4),
         SUBARRAY(5),SUBARRAY(6),SUBARRAY(7),SUBARRAY(8),SUBARRAY(9),
         SUBARRAY(10),SUBARRAY(11),SUBARRAY(12),SUBARRAY(13),SUBARRAY(14),
         SUBARRAY(15),SUBARRAY(16),SUBARRAY(17)));
         PDATE := PDATE + 7;
         SLEN := SLEN + 14;
    END LOOP;
    END LOOP;
    END ENUM_MARKS;
    END PARSE_ATTENDANCE;
    (This is then called like SELECT * FROM
    TABLE(
    PARSE_ATTENDANCE.ENUM_MARKS(
    'SELECT STUD_ID, BASE_ID, START_DATE, MARKS
    FROM DX_XML_ATTENDANCE WHERE STUD_ID = 107777
    AND BASE_ID = 94'))
    I get the same error, around this section near the bottom :
         PDATE := PDATE + 7;
         SLEN := SLEN + 14;
    Can any one help?

    Here is an example. you are missing an return statement.
    SQL> create or replace type varchar2_table is table of varchar2(10) ;
      2  /
    Type created.
    SQL> show errors
    No errors.
    SQL> create or replace function get_data return varchar2_table pipelined is
      2  begin
      3      pipe row(('Test')) ;
      4  end ;
      5  /
    Function created.
    SQL> show errors
    No errors.
    SQL> select * from table(get_data) ;
    ERROR:
    ORA-06503: PL/SQL: Function returned without value
    ORA-06512: at "KKISHORE.GET_DATA", line 3
    no rows selected
    SQL> create or replace function get_data return varchar2_table pipelined is
      2  begin
      3      pipe row(('Test')) ;
    4 return ;
      5  end ;
      6  /
    Function created.
    SQL> show errors
    No errors.
    SQL> select * from table(get_data) ;
    COLUMN_VAL
    Test
    SQL>

  • User device profile

    Hello,
    Scenario,
    7960 Phone:
    extenion : 5555 it is on phone line
    partition: internal
    CSS: internal
    User Device Profile created for user for EM by choosing 7960 device
    extension : 5555 it is on user device profile line
    partition: UDP
    CSS: GSM
    Question:
    when a user is logged in 7911 phone and when a PSTN users call 5555 the phone rings to a Phone line on 7960 but not on the profile where is logged in i.e 7911
    why like that???
    Thanks

    Phone and DN CSS are concatenated when both are assigned, where the CSS applied to the DN on a phone has higher preference. The most typical case for applying both is "device/line approach" for building classes of restrictions where you assign routing CSS to the device (CSS with access to routing patterns) and then blocking CSS to the DN in order to block let's say international dialing. This approach allows you to considerebly reduce number of required paritions and CSSes in your deployment. For more details you can refer to UC SRND which describes it in great detail with examples and nice diagrams.
    HTH, please rate all useful posts!
    Chris

  • AXL SQL Query user-extension- line group-hunt group mapping

    Hi all
    I want to take an export  about user-extension- line group-hunt group mapping
    Can somebody help me about it   I have CUCM 9.1

    There's a lot of table joins in that full mapping! I'll break it down into steps. When you say extension you need to bear in mind that a number and a device are two different things, and a user is associated to these things separately. I'll break it down into chunks.
    User to Device:
    SELECT enduser.userid, device.description FROM enduser, device, enduserdevicemap WHERE enduser.pkid = enduserdevicemap.fkenduser AND enduserdevicemap.fkdevice = device.pkid AND enduser.userid='FOO'
    User to Directory Number:
    SELECT enduser.userid, numplan.dnorpattern FROM enduser, numplan, endusernumplanmap WHERE enduser.pkid = endusernumplanmap.fkenduser AND endusernumplanmap.fknumplan = numplan.pkid AND enduser.userid='FOO'
    Number to Hunt List:
    SELECT numplan.dnorpattern, device.name FROM numplan, device, devicenumplanmap, typeproduct WHERE numplan.pkid = devicenumplanmap.fknumplan AND devicenumplanmap.fkdevice = device.pkid AND device.tkproduct = typeproduct.enum AND typeproduct.name = "Hunt List" AND numplan.dnorpattern='FOO'
    Hunt List to Line Group
    SELECT device.name, linegroup.name FROM device, routelist, linegroup WHERE device.pkid = routelist.fkdevice AND routelist.fklinegroup = linegroup.pkid AND device.name="FOO"
    Line Group to Directory Number
    SELECT linegroup.name, numplan.dnorpattern FROM linegroup, linegroupnumplanmap, numplan WHERE linegroup.pkid = linegroupnumplanmap.fklinegroup AND linegroupnumplanmap.fknumplan = numplan.pkid AND linegroup.name="FOO"
    All of this (and more!) is fully documented in the CUCM Database Data Dictionary.
    GTG
    Please rate helpful posts.

Maybe you are looking for