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

Similar Messages

  • Log report of extension mobility login/out times.

    We have a request for a report on logged in phones, the user wants to draw a report on the times that the phones, extension mobility, was logged in and out.
    Does anyone know of an existing solution.

    Hi,
    Not sure if you are still looking for this report, but there is an NZ/Australian company called Atea Systems who has a report of this nature running across a customer with 16000 phones.
    It's not mentioned directly on the website but the company contact details are there anyway on www.ateasystems.com
    Cheers
    Jamie

  • Cisco Mediasense API user to view only selected recordings/extensions

    Dear Experts,
    Is it possible with Cisco MediaSense 10.5 to limit users to view only selected Phones/extensions recordings ?
    For eg: A department manager must only view their department members. They must only be able to listen to the recordings from their department members. Is this possible ?
    If yes, what is the configuration required ?
    Regards
    Bejoy Thomas

    Hi Bejoy,
    It is not possible in MediaSense natively to do this right now. You can get a Partner Add-on to enforce the demarkations. Both Calabrio and NICE offer a Search and Play add-on that can do this.
    HTH
    Manish

  • Extension Mobility: Automatic logout

    Dear Team,
    Hi Team,
    Our customer requirement is that user should log out at 4:00PM even they are login at any time. Can we achieve this. I know we set the maximum login time but we can not schedule.
    Is there any way, by XML application etc. Kindly advise.
    BR
    Muhammad Irfan

    The 'extensionmobilitydynamic' table is used to store the information of users logged into extension mobility.
    You can do a 'run sql select * from extensionmobilitydynamic' from SSH of a CUCM server to find out the column names and values when a user logs into EM.
    Here's a customized query that I came up with (modified from existing CUCM admin sql query), to show a few parameters that I wanted to look at, for EM users :
    run sql SELECT device.name AS Devicename, typemodel.name as Model,
    enduser.userid AS EndUser, numplan.dNOrPattern as DirectoryNumber,
    routepartition.name AS Partition, D2.name AS DeviceProfile FROM
    extensionmobilitydynamic LEFT OUTER JOIN device ON
    extensionmobilitydynamic.fkdevice = device.pkid  LEFT OUTER JOIN typemodel
    ON typemodel.enum = device.tkmodel LEFT OUTER JOIN enduser ON
    extensionmobilitydynamic.fkenduser = enduser.pkid LEFT OUTER JOIN Device AS
    D2 ON D2.pkid = extensionmobilitydynamic.fkdevice_currentloginprofile  LEFT
    OUTER JOIN DeviceNumPlanMap ON DeviceNumPlanMap.fkdevice =
    extensionmobilitydynamic.fkdevice_currentloginprofile LEFT OUTER JOIN
    NumPlan ON DeviceNumPlanMap.fkNumPlan = numplan.pkid LEFT OUTER JOIN
    RoutePartition ON numplan.fkRoutePartition = routepartition.pkid WHERE
    ((D2.name IS NOT NULL AND D2.name!='') AND (enduser.userid IS NOT NULL AND
    enduser.userid!='')) order by D2.name
    Example :
    admin:run sql SELECT device.name AS Devicename, typemodel.name as Model,
    enduser.userid AS EndUser, numplan.dNOrPattern as DirectoryNumber,
    routepartition.name AS Partition, D2.name AS DeviceProfile FROM
    extensionmobilitydynamic LEFT OUTER JOIN device ON
    extensionmobilitydynamic.fkdevice = device.pkid  LEFT OUTER JOIN typemodel
    ON typemodel.enum = device.tkmodel LEFT OUTER JOIN enduser ON
    extensionmobilitydynamic.fkenduser = enduser.pkid LEFT OUTER JOIN Device AS
    D2 ON D2.pkid = extensionmobilitydynamic.fkdevice_currentloginprofile  LEFT
    OUTER JOIN DeviceNumPlanMap ON DeviceNumPlanMap.fkdevice =
    extensionmobilitydynamic.fkdevice_currentloginprofile LEFT OUTER JOIN
    NumPlan ON DeviceNumPlanMap.fkNumPlan = numplan.pkid LEFT OUTER JOIN
    RoutePartition ON numplan.fkRoutePartition = routepartition.pkid WHERE
    ((D2.name IS NOT NULL AND D2.name!='') AND (enduser.userid IS NOT NULL AND
    enduser.userid!='')) order by D2.name
    devicename      model      enduser directorynumber partition deviceprofile
    =============== ========== ======= =============== =========
    ========================
    SEP000D284CD86B Cisco 7960 em1     1020            phones    Extension
    Mobility - EM1
    SEP000D284CD86B Cisco 7960 em1     1000            phones    Extension
    Mobility - EM1
    admin:
    I am not aware of a 3rd party software which can do bulk EM logouts at a particular time of the day. However, here's my 2 cents :
    - sql query run on the CUCM database to find out the devices logged into EM (probably a script that can run it at a specified time of the day - not sure
    how or if it can be implemented)
    - from the sql output, send customized http requests to the EM server, to log these phones off EM
    - Sriram
    Please rate helpful posts !

  • Strange problem with Extension Mobility and Click to Call

    Can anyone explain how is it possible ? Any ideas, guys?
    CUCM 7.1.3
    PC1 with IP comm. and user1 is logged in to Extension Mobility + Click to Call. User1 can make a call using Click to Call.
    PC2 with IP comm. and user2 is logged in to Extension Mobility + Click to Call. User2 can't make a call using Click to Call.
    The following error appears on the PC2 screen:
    "The call failed. Please ensure you are logged into your Extension Mobility device. If the problem persists contact your phone administrator"
    Here is the log from PC2:
    2010-02-03 12:49:46,781 [16] INFO  - 1 devices returned from ParseDevices
    2010-02-03 12:49:46,781 [16] DEBUG - 0) MY IPC - Cisco IP Communicator - SEP0022680B43E9
    2010-02-03 12:49:48,703 [1] DEBUG - entering FindCallRecord - 26468949
    2010-02-03 12:49:48,703 [1] INFO  - matched tag with call record - 26468949
    2010-02-03 12:49:48,703 [1] INFO  - action - new call: ct:Click to Call;rt:20100203-12494870;pn:26468949;pt:;cn:desk phone ct:;desk phone rt:;desk phone pn:;desk phone pt:;soft Phone cn:soft Phone ct:;soft Phone rt:;soft Phone pn:;soft Phone pt:;soft Phone cn:
    2010-02-03 12:49:48,734 [1] DEBUG - ClickToCallDialer  server and port10.100.3.1:8443
    2010-02-03 12:49:48,734 [1] INFO  - make call through WD - 26468949
    2010-02-03 12:49:48,734 [1] INFO  - MakeCall: user(a.koltalo) to(26468949) with profile(a.koltalo;Extension Mobility Phone;;True)
    2010-02-03 12:49:51,859 [1] ERROR - make call failure through WD - CALL_FAILURE_ERROR
    2010-02-03 12:49:51,859 [1] DEBUG - entering WriteRecord - 26468949
    2010-02-03 12:49:51,859 [1] INFO  - record already exists, go through records to remove matched record - C:\Documents and Settings\Jevgenij\Application Data\Cisco\Click to Call\Data\Outbound\26468949.xml
    2010-02-03 12:49:51,859 [1] DEBUG - entering ReadRecord - C:\Documents and Settings\Jevgenij\Application Data\Cisco\Click to Call\Data\Outbound\26468949.xml
    2010-02-03 12:49:51,875 [1] DEBUG - push call record into stack
    2010-02-03 12:49:51,875 [1] DEBUG - write record into file
    2010-02-03 12:49:51,875 [1] INFO  - outbound call record changed, fire event to notify
    2010-02-03 12:52:08,484 [17] DEBUG - ClickToCallDialer  server and port10.100.3.1:8443
    2010-02-03 12:52:08,593 [17] DEBUG - entering QueryDevices - 10.100.3.1 - a.koltalo
    2010-02-03 12:52:08,656 [17] INFO  - return success from GetDevices -
    User2 moves from PC2 to PC1 - run IP comm. do loggin to Extension Mobility and run Click to Call with his credentials. User2 can make a call using Click to Call
    User1 moves from PC1 to PC2 - run IP comm. do loggin to Extension Mobility and run Click to Call with his credentials. User1 can't make a call using Click to Call
    PC2 and PC1 - have the same configuration and software installed, both PCs are on the same LAN subnet. There are no any firewalls between PCs and CUCM server.

    Sounds like a possible permissions issue on the workstation to me.  Have you tried configuring one of your test users as the local admin on the workstation?

  • Extension Mobility

    All of my users have primary phones at their desks that are never shared.  I would like to set up spare phones at spare desks for travelers to log into with Extension Mobility.  Is there a way to configure this such that every line and speed dial from their primary phones will be shown.  From what I've found, we will have to manage the phone (lines and speed dials) separately from the user device profiles.  For example, adding a speed dial would be done on both phone and user device profile. 

    Is there a reason not to just make everything extension mobility? Even if their permanent desk phone is not shared, they could log in and not have to log out. Then you'd just have to manage the extension mobility profile, not the profile and an additional phone.

  • QM 8.5.2 SR2 (8.5.2.18) and 9971 extension mobility recording NBR

    Hi,
    Does anyone know if network based recording on a 9971 works with extension mobility users?
    I can get Network based recording to work with QM if I put the users extensions on the phone itself, but it doesn't record when they log in with extension mobility profile and the EM profile is 9971 type and has recording profile set on the extension on the device profile, etc.
    I need extension mobility for these users as they move around and need recording to work and call center won't let them log in if I put the extension on the phone and they log in to another phone with EM.
    I've found some other forum posts suggesting this may not be supported but not really sure and can't find it mentioned in the documentation.
    In QM I do have all the 9971s phone used by the EM agents under VoIP devices as well as their user profiles and the agent id is selected for the user profile (not the phone) under VoIP devices. The recording server is set correctly for the phone and the recording type is Network Based. I can't set the Monitor server for the phone and I can't set the recording or monitor server or recording type for the user profiles.
    Thanks

    I understand you need to configure only Agent name in voip device, it is not prefered method to hardcode phone if it is used by multiple agents.
    bala

  • View log not showing physical SQL generated in OBIEE 11.1.1.6.7

    Hi,
    I am currently using OBIEE 11.1.1.6.7 version. In this version I am unable to view the physical SQL generated by OBIEE under Administration --> Manage Marketing Jobs --> Select a Job --> Click on View SQL OR Administration --> Manage Sessions--> Select a Job --> Click on View SQL. It is not showing the physical SQL generated by OBIEE for a report or segment which I have executed.
    It was available in previous version i.e. OBIEE 10.1.3.4.2.
    I have searched in metalink and it has been suggested to use the following <Filters> section into instanceconfig.xml file. I have added the following details into existing instanceconfig.xml file and then restarted the BI services. Still the problem persist.
    <Filters>
    <!--This Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware Control--><FilterRecord writerClassGroup="Console" path="saw" information="16" warning="31" error="31" trace="32" incident_error="1"/>
    <!--This Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware Control--><FilterRecord writerClassGroup="File" path="saw" information="16" warning="31" error="31" trace="32" incident_error="1"/>
    <!--This Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware Control--><FilterRecord writerClassGroup="Marketing" path="saw.mktgsqlsubsystem.joblog" information="16" warning="31" error="31" trace="32" incident_error="1"/>
    <!--This Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware Control--><FilterRecord writerClassGroup="File" path="saw.httpserver.request" information="16" warning="31" error="31" trace="32" incident_error="1"/>
    <!--This Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware Control--><FilterRecord writerClassGroup="File" path="saw.httpserver.response" information="16" warning="31" error="31" trace="32" incident_error="1"/>
    </Filters>
    Thanks,
    Prasanta

    Hi,
    Thanks for the reply.
    We used to view the log details (physical SQL) using Manage Marketing Jobs in OBIEE10g.
    In OBIEE11g we can see the job details and when selecting a job (under Action column Details link) there is an option in left pane as 'View Log'. If I click on 'View Log' it is showing as 'No Logs Found'.
    Just wanted to confirm if this is an issue in OBIEE11g.
    Also, I believe there is a limitation in 'Manage Session' to view the number of job details whereas in 'Manage Marketing Jobs' section we can increase the number of jobs to be displayed.
    Thanks,
    Prasanta

  • Help with sql query on materialized view logs

    I am in need of a query to find out what tablespace and snap shot site a long list of materialized view logs are associated with.
    something like below except tablespace and snap_shot_site are not an option for this table.
    select log_owner, master, log_table, tablespace, snap_shot_site from dba_mview_logs;

    What is the refresh method set as?
    Could you paste the full MV log creation script and the corresponding MV creation script.

  • CUCM 8.6.2 - SURL Buttons Issue related to Extension Mobility

    Hello Guys,
    we are running a CUCM 8.6.2.22900-2 with the extension mobility service. One the user device profiles we have applied several third application services via SURL buttons.  Actually I though it does not matter, what device type I choose during the UDP Creation. The Buttons should appear on every model, which support SURL.
    When I log into a 8945 with a 9971 user device profile, the SURL buttons do not show. It only works, if I create a dedicate UDP Profile with the 8945 type as base. The same for other models of the 89er/99er Series.
    Can you help? Is this a bug?
    Thanks.              

    Chris:
    Thanks for the input.  We do have the LDAP configured,  we are using LDAPS.  It is looking like port 636 form the CUP server is trying to reach out to the AD server so we are opening up that port to test if that is out issue.  636 is open from CUCM to AD but not CUP to AD.
    TD

  • How to CREATE MATERIALIZED VIEW LOG (MV fast refresh) with some JOINS

    Hi @ all,
    i'm trying to create a MATERIALIZED VIEW LOG for a fast refresh of a MATERIALIZED VIEW.
    It works fine with a simple Request in the MATERIALIZED VIEW:
    CREATE MATERIALIZED VIEW MV_ZOTD43_P
    TABLESPACE GDII
    BUILD IMMEDIATE
    REFRESH FORCE AS
    SELECT * FROM ZOTD43_P;
    COMMIT;
    CREATE MATERIALIZED VIEW LOG ON ZOTD43_P
    TABLESPACE "GDII"
    WITH PRIMARY KEY, ROWID, SEQUENCE INCLUDING NEW VALUES;
    call DBMS_MVIEW.REFRESH('MV_ZOTD43_P', 'f');
    But when I use a complex SQL-Request with some JOINS (one of the Table with spatial Data) in the MATERIALIZED VIEW, I get an error:
    CREATE MATERIALIZED VIEW MV_TEST
    TABLESPACE GDII
    BUILD IMMEDIATE
    REFRESH FORCE AS
    SELECT lptd04_p.sst_nr AS sst_nr,
    lptd03_p.aaaa AS aaaa,
    lptd04_geom.geom as geom
    FROM lptd04_p lptd04_p
    JOIN lptd01_p lptd01_p ON lptd01_p.cre_nr = lptd04_p.sst_nr
    JOIN lptd04_geom ON lptd04_geom.sst_nr = lptd04_p.sst_nr
    JOIN lptd03_p lptd03_p ON lptd03_p.lief_nr = lptd04_p.lief_nr;
    COMMIT;
    CREATE MATERIALIZED VIEW LOG ON LPTD04_P
    TABLESPACE "GDII"
    WITH PRIMARY KEY, ROWID, SEQUENCE INCLUDING NEW VALUES;
    call DBMS_MVIEW.REFRESH('MV_TEST', 'f');
    Error report:
    SQL Error: ORA-12004: REFRESH FAST kann für Materialized View "GDI"."MV_GDI_SST_STAMM" nicht benutzt werden
    ORA-06512: in "SYS.DBMS_SNAPSHOT", Zeile 2255
    ORA-06512: in "SYS.DBMS_SNAPSHOT", Zeile 2461
    ORA-06512: in "SYS.DBMS_SNAPSHOT", Zeile 2430
    ORA-06512: in Zeile 1
    12004. 00000 - "REFRESH FAST cannot be used for materialized view \"%s\".\"%s\""
    *Cause:    The materialized view log does not exist or cannot be used. PCT
    refresh is also not enabled on the materialized view
    *Action:   Use just REFRESH, which will reinstantiate the entire table.
    If a materialized view log exists and the form of the materialized
    view allows the use of a materialized view log or PCT refresh is
    possible after a given set of changes, REFRESH FAST will
    be available starting the next time the materialized view is
    refreshed.
    Am I doing something wrong or is it not possible CREATE MATERIALIZED VIEW LOG when the MATERIALIZED VIEW got some JOINS?
    Regards,
    Greq

    Thanks for the link Alessandro ,
    the error seems something to do with the Column-Type SDO_GEOMETRY, so
    i create a new thread in the Spatial Discussion forum:
    FAST REFRESHing of Oracle Materialized Views containing SDO_GEOMETRY column
    Regards,
    Greq

  • View Log Function on Palm TX opens in Windows Media Player, instead of a new window.

    hi,
    when i clicked on "view log" after a hot sync operation a few hours ago, it brought up windows media player which, of course, could not display it. this is the first occurrence. i am using a palm tx with desktop version 4.2 and a hot sync version of 6.0.1. Strangely, view log opened up on my handheld as it has done many times. i closed the hot sync program, then opened it, and tried a hot sync--no go, media played still opened.
    i'm running the palm program on an IBM Thinkpad, with windows xp pro, SP2.
    thanks, in advance, for your advice.
    campus56
    Post relates to: Tungsten E

    Your computer has a File Association problem.
    The HotSync log file on a PC has an extension of .htm.  Somehow, your computer has associated Windows Media Player with that type of file.
    Open My Computer, then pick the Tools tab.  Choose  Folder Options, then the File Types tab.
    Scroll down to the HTM file extension, and see what program is associated with it.  I'm betting it says Windows Media Player.  Tap the "Change" button, and pick the web browser program you use (mine is set to FireFox).  Click the checkmark in "Always use this program" then click OK.  
    Now it should open correctly.
    WyreNut
    Post relates to: Centro (AT&T)
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • Query on Materialized view and materialized view log

    I am creating a materialized view something like this.but getting following error:
    ERROR at line 1:
    ORA-12032: cannot use rowid column from materialized view log on "SCOTT"."EMP"
    SQL> create snapshot log on scott.emp;
    Materialized view log created.
    SQL> create materialized view scott_emp refresh fast on demand as select deptno,sum(sal) sum_sal from scott.emp group by deptno;
    ERROR at line 1:
    ORA-12032: cannot use rowid column from materialized view log on "SCOTT"."EMP"
    Note when i have my query in materialized view as "select * from emp;" in place of
    "select deptno,sum(sal) sum_sal from scott.emp group by deptno;" This code works fine.
    How do i have a materialized with with a group by clause.
    Thanks in Advance

    Got the answer myself.
    I wasnt adding all the required columns.
    CREATE MATERIALIZED VIEW LOG ON scott.emp
    WITH SEQUENCE, ROWID (<all the required columns>)
    INCLUDING NEW VALUES;
    Anyways,
    Thanks guys...

  • Extension Mobility in CUCM 7.1: How to send Userid and Pin with Service Par

    Hi at all
    is it possible to configure the IP Phone Service (CUCM 7.1)for Extension mobility so that when a user login in EM they dont need to insert the UserID and UserPin???
    I think it could work with the Service Parameter but I dont know how.
    Have somebody an idea?
    Thanks.
    kind regards
    José

    Hi!
    As far as I know that's not possible and it will defeat the purpose of using Extension Mobility as anyone could login from a phone with no credentials. Porbably you could configure a script or something that allows you to accomplish this, but it won't be supported.
    Regards,
    Teresa.
    If you find this post helpful, please rate! :)

  • Truncate table and materialized view log

    I user oracle 10 R2
    I have a table and on that table a materialized view log.
    I execute in a pl/sql procedure:
    1) execute immediate('drop materialized view log on tab1');
    then:
    2) execute immediate('truncate table tab1');
    3) Now I insert a lot of records in tab1
    4) execute immediate('create materialized view log on tab1 WITH rowid INCLUDING NEW VALUES');
    When I create the materialized view log I recieved this message:
    ora32321: refresh fast on tab2 unsupported after detail table truncate
    Why?

    Refresh fast after truncate operation on container table is not supported, regardless the container table is or is not partitioned.
    Perform a refresh complete.
    ORA-32321 :
    Cause:     A detail table has been truncated and no materialized view
         supports fast refersh after a detail table has been truncated
    Action:     Use REFRESH COMPLETE. Note: you can determine why your
         materialized view does not support fast refresh after TRUNCATE
         using the DBMS_MVIEW.EXPLAIN_MV() API.

Maybe you are looking for

  • Artisteer Runs slowly in Dreamweaver - help required

    Hi I recently purchased a html template builder called Artisteer. As a Dreamweaver user of some years I wanted to use this tool to speed up the design of simple html websites whilst preserving my Dreamweaver workflow. In short I want to take Artistee

  • How to remove fields from view V_QCMBSEG for table BSEG

    Hi By mistake have appended 5 fields in standard table BSEG,  after that i have deleted that appended structure from table, while deleting from different views network got disconnected i lost connection from server. So process get terminated and thos

  • MDMP unicode conversion - Vocabulary maintenace

    Hello,           W have upgraded 4.5B MDMP system to ECC4 EHP4 and now we are in process of unicode conversion. please advice on as specified below. In SPUMG Scan process, we have completed the following scans: a) Tables without language Info b) Tabl

  • Inbound processing of ORDCHG

    Hi all, I recvied PO changed idoc . we are using  message type as ORDCHG and procescode is ED00. Present idoc status is 64 . I want to post this idoc to application i.e 53 status. The process code using the TS30200088 ( for normal seniro's function m

  • Siri and Relationship Editinh

    I can no longer see or edit my contact's relationship for Siri. I had no problem setting it up when I received the iPhone5 six months ago. Please help.