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 !

Similar Messages

  • Extension mobility logout issues UCM v 6.1

    Hi, I am using UCM v6.1, with a Pub and Sub. I have deployed handsets out using auto-reg. I have created user device profiles and associated those the users. I have subscribed the services to the autoregistered phones by using BAT to bulk update , using bulk admin->phones->update phones->phones query.
    The users press the services key and have the extension mobility and logout options. They can login to their Device profiles ok but when I attempt to log them out i receive an error on the lcd "logout unsuccessful [6] database error".
    I have attempted to locate the actual device and log the user out manually using the CCMadmin GUI, however i receive a message ,
    "Error occurred while retrieving information from database. No LOGOUT device profile".
    According to the documentation, wgen selecting a log out device profile you choose "use current device settings". I left this as default when bulk updating the phones.
    I have restarted the extension mobility service on Publisher and Subscriber, and have also shutdown the servers and rebooted - but to no avail.
    I am doing something fundamentally wrong or could this be a bug? I have found a few in v6.0, which is why i upgraded to 6.1. thanks.

    Hi Stuart,
    It does sound like this bug (somewhat);
    CSCsj33055 Bug Details
    bulk insert phone or UDP does not add phone service if no svc parameters
    Symptom:
    Insert UDP fails to insert IP Phone Service if there are no parameters to all
    Device Profiles.
    Conditions:
    'Insert UDP' in Bulk Administration Tool [BAT] doesn't insert IP Phone Service
    for all the Device Profiles if no parameter is defined on the Phone Service.
    This also happens when the UDP template is not subscribed to the Phone Service.
    And this Insert UDP works fine in inserting the IP Phone Service to all DPs if
    you are doing one record at a time, it fails if you do it in a BULK.
    Workaround:
    For Device Profiles:
    1. Using a template
    - Add a dummy parameter to the EM service. Save it and click on Update
    Subscriptions.
    - Subscribe EM service on the UDP template. Ignore if already done.
    - Upload the Insert file for specific details transaction.
    - Submit a job with the uploaded file and the UDP template on which EM is
    subscribed.
    2. Using a CSV file
    - Add a dummy parameter to the EM service
    - Specify this dummy parameter with blank values in the CSV. Sample file below
    - Upload the Insert file for specific details transaction and submit a job
    Once you have inserted DPs, you can go to IP phone service page, select the EM
    service. Delete the dummy parameter and click update subscriptions.
    sample:
    DEVICE PROFILE NAME,DESCRIPTION,DIRECTORY NUMBER 1,SERVICE NAME 1,SUBSCRIBED
    SERVICE NAME 1,SUBSCRIBED SERVICE NAME ASCII 1,PARAMETER NAME 1,PARAMETER VALUE 1
    DP-1,DP1,2001,Extension Mobility,Extension Mobility,Extension Mobility,dummy,
    DP-2,DP2,2002,Extension Mobility,Extension Mobility,Extension Mobility,dummy,
    For phone devices:
    1. create bat phone template and subscribed it to the EM service
    2. define an update phones job:
    enable extension mobility
    log out profile: use current device settings
    add services from this teamplate: run immediatelyMake sure to check the box to the left of the line item in the BAT job definition. That signifies to BAT that wish to synchronize all selected phones to the value specified.
    I would open a TAC Case.
    Hope this helps!
    Rob

  • Extension mobility redundancy in CUCM 8.5

                       Hi ,
    I have a doubt in cucm 8.5 extension mobility redundancy.
    I have 3 call managers in cluster.
    1. X.X.X.1 - punlisher
    2. X.X.X.2 - sub1
    3. X.x.X.3 -  sub3
    i have configured CUCM X.X.X.2 (sub 1) for extension mobility URL and in exterprise parameter configuration also (service URL). all phones are subscribed this URL and users login.
    my schenerio is,
    if SUB1 goes down, i change enterprise parameter service URL IP to punblisher. is that enough for users to login to extension mobility?
    my doubt is,
    in the above schenerio,
    users press services button, request will go to enterprise parameter URL> enterprise URL will check for subscribed services> and route the request to the subscribed services for the phones . but here i have subscribed only EM service which has sub1 IP address.
    how user can login?
    if users can login meas, how that works.
    or do i need to create 2 EM service (one for SUB1 IP, another one for PUB IP) and subscribe all the phones with both the services?
    so that if subscriber fails user will login another service with has publisher IP?
    I have activated EM service in all call managers inthe cluster.
    please clarify my doubts.
    thanks

    Hi
    Yes , the extension mobilty HA is avilable starting from V8 .On earlier verions as v 7 is not supported, Please find the below link:-
    http://www.cisco.com/en/US/docs/voice_ip_comm/cucm/srnd/8x/cmapps.html#wp1189079
    I think you have to deploy SLB (server load balancer) to distribute requests through servers . You can use load balancer as  (F5 , or DNS round robin).
    Note:The problem , is that the "Login" and "Logout" service URLs can really only point to one IP address. Please find the below solution based on DNS:-
    - create multiple DNS records for the same name which will point to two CCM servers running the EM service
    - point your  EM service URL at that hostname which you have created on 1 step.
    - ensure your phones have valid DNS servers assigned to resolve the above
    Note: the problem on the DNS is the delay between requests.
    Thank you
    please rate all useful information

  • CME Extension Mobility, SIP configuration

    Hi,
    Need help with CME Extension Mobility with SIP Phones (7841). I'm using CME 10.5 and I configured the parameters below for extension mobility but the phones won't register right after I put the logout profile in the voice register pool.
    They work normally when not in Extension Mobility though. Please help I need to deploy this to my customer soon.
    hostname Router
    boot-start-marker
    boot system flash:c3900-universalk9-mz.SPA.154-3.M2.bin
    boot-end-marker
    no aaa new-model
    no authentication logging verbose
    ip dhcp excluded-address 192.168.1.1 192.168.1.20
    ip dhcp excluded-address 192.168.1.254
    ip dhcp pool Phones
     network 192.168.1.0 255.255.255.0
     default-router 192.168.1.254 
     option 150 ip 192.168.1.254 
    no ip domain lookup
    ip cef
    no ipv6 cef
    multilink bundle-name authenticated
    cts logging verbose
    voice-card 0
    voice service voip
     allow-connections h323 to sip
     allow-connections sip to h323
     allow-connections sip to sip
     sip
      bind control source-interface GigabitEthernet0/1.10
      bind media source-interface GigabitEthernet0/1.10
      registrar server expires max 600 min 60
    voice register global
     mode  cme
     source-address 192.168.1.254 port 5060
     max-dn 110
     max-pool 110
     load 7841 sip78xx.10-1-1SR1-4
     time-format 24
     date-format D/M/Y
     service https
     url authentication http://192.168.1.254/CCMCIP/authenticate.asp
     tftp-path flash:
     create profile sync 0002641841434163
    voice register dn  1
     number 6001
     name Poh Huat - 6001
     label Poh Huat - 6001
    voice register dn  4
     number 6005
     name Coordinator - 6005
     label Coordinator - 6005
    voice register pool  1
     logout-profile 100
     busy-trigger-per-button 2
     id mac 547C.69D6.1AB6
     type 7841
    voice register pool  4
     logout-profile 100
     busy-trigger-per-button 2
     id mac 547C.69D6.1A2F
     type 7841
    voice logout-profile 100
     pin 1234
     user 6000 password 12345
     number 6000 type normal
     speed-dial 1 999 label "EMERGENCY" 
    voice user-profile 1
     pin 12345
     user richard password richard
     number 6001 type normal
     speed-dial 1 996506901 label "Richard" 
    voice user-profile 2
     pin 12345
     user 6005 password 12345
     number 6005 type normal
    license udi pid C3900-SPE100/K9 sn FOC16145MQA
    license boot module c3900 technology-package uck9
    username xtra privilege 15 secret 5 $1$STRs$Qsuesm8dF23Okof.vRyf5.
    redundancy
    ip ftp username xtra
    ip ftp password xtra2006admin
    interface Embedded-Service-Engine0/0
     no ip address
     shutdown
    interface GigabitEthernet0/0
     ip address dhcp
     duplex auto
     speed auto
    interface GigabitEthernet0/1
     no ip address
     duplex auto
     speed auto
    interface GigabitEthernet0/1.10
     encapsulation dot1Q 10 native
     ip address 192.168.1.254 255.255.255.0
    interface GigabitEthernet0/2
     no ip address
     shutdown
     duplex auto
     speed auto
    ip forward-protocol nd
    ip http server
    no ip http secure-server
    ip http path flash:
    nls resp-timeout 1
    cpd cr-id 1
    tftp-server flash:PHONES/sip78xx.10-1-1SR1-4.loads alias sip78xx.10-1-1SR1-4.loads
    control-plane
    mgcp behavior rsip-range tgcp-only
    mgcp behavior comedia-role none
    mgcp behavior comedia-check-media-src disable
    mgcp behavior comedia-sdp-force disable
    mgcp profile default
    gatekeeper
     shutdown
    telephony-service
     authentication credential 6000 12345
     em keep-history
     max-ephones 110
     max-dn 110
     service phone webAccess 0
     max-conferences 8 gain -6
     transfer-system full-consult
     create cnf-files version-stamp 7960 Mar 05 2015 15:50:52
    I have turned on debug ip http all and debug voice em-profile on and right after I entered the logout profile 100 under pool i get the following logs.
    Router(config-register-pool)#
    Mar  5 16:15:28.299: Thu, 05 Mar 2015 16:15:28 GMT 192.168.1.21 /CMEserverForPhone/serviceurl ok
            Protocol = HTTP/1.1 Method = GET Query = locale=English_United_States&name=SEP547C69D61A2F
    Mar  5 16:15:28.299:
    Mar  5 16:15:28.299: Getting SIP phone index by IP address 192.168.1.21
    Mar  5 16:15:28.299: SIP phone 4 found with contact IP address 192.168.1.21
    Mar  5 16:15:33.363: Thu, 05 Mar 2015 16:15:33 GMT 192.168.1.21 /CMEserverForPhone/serviceurl ok
            Protocol = HTTP/1.1 Method = GET Query = locale=English_United_States&name=SEP547C69D61A2F
    Mar  5 16:15:33.363:
    Mar  5 16:15:33.363: Getting SIP phone index by IP address 192.168.1.21
    Mar  5 16:15:33.363: SIP phone 4 found with contact IP address 192.168.1.21
    Mar  5 16:15:37.539: Thu, 05 Mar 2015 16:15:37 GMT 192.168.1.21 /CMEserverForPhone/extensionmobility ok
            Protocol = HTTP/1.1 Method = GET
    Mar  5 16:15:37.539:
    Mar  5 16:15:37.539: Getting SIP phone index by IP address 192.168.1.21
    Mar  5 16:15:37.539: SIP phone 4 found with contact IP address 192.168.1.21
    After this the phones are still not registering, I'm suspecting it is the url authentication command, as i can't put the application-name and password after the command, any suggestions would be appreciated. THanks in advance.
    -richard

    Try adding:
    voice register global
     url authentication http://192.168.1.254/CCMCIP/authenticate.asp secretname psswrd
    if still doesn't work try to compare your config with the reference guide here:
    http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucme/admin/configuration/guide/cmeadm/cmemobl.html#pgfId-1163414
    -Terry
    Please rate all helpful posts

  • Failover config for Extension Mobility

    Hi,
    I have CCM3.3(3) loaded on publisher & subscriber.Extension mobility,Tomcat service is running on both servers.In IP phone services URL, I have givem publishers ip address.In Cisco Extension Mobility Logout,I have configured "True" for Login Service Enabled field in both the servers.
    When I shutdown Publisher,EM is not working on all the phones.When I shutdown Subscriber,EM is not working on few phones.But EM is working on all phones when both servers are up.
    Should I configure something additional to build redundancy .I want to configure subscriber as primary & Publisher as secondary for EM.
    I am using 7940 IP phones.
    Regds
    Jagadish

    Text below from Cisco Engineer Marcos Massakawa, about TAC case of this problem with extension mobility.
    The problem, as you noted, is that the "Login" and "Logout" service URLs can really only point to
    one IP address. In your case, you'd probably have these set up to point to whichever server you
    wanted to be the primary one for Extension Mobility. However, if that server failed, the "Login"
    and "Logout" services will no longer be useable, since they point to an IP that is no longer
    reachable. If you want to enable users to be able to login and logout from the backup server, you'd
    have to install EM on the other server, and create a slightly different service name that would show
    up on the users' phones as a valid service, such as "Login2"/"Logout2", or "Login Backup"/"Logout
    Backup", etc. The service URL for these services would point to the IP of the backup server. It
    seems kind of clumsy, but it's a limitation of only being able to put one IP in the service URL.
    Best Regards
    Joao Medeiros

  • Extension Mobility. EMProvider

    Hello?.
    Im trying to make a connection between my application (Java) and the Extension Mobility. I already configure all the EM application in the callManager, and it works. I can login and logout through the phone.
    Now, I want my application do some tasks like ?knowing if a user is login or know the device name of the phone is login in?.
    Here is a piece of my code:
    EMProvider emp = new EMProvider(callManager, callManagerUserId, callManagerPassword, extMobUserId, extMobPassword);
    My problem is that I don?t know what I should introduce in ExtensionMobility UserID and Password. I did the entire EM configuration and I don?t recall any UserID or password in the configuration process.
    So? what those variables supposed to mean? Where can I see it or where I can reset them?
    Thanks for your help and time.

    It's the login/password of a user having extension mobility proxy rights.
    You could also use any em enabled user's login and password but that limits you to log in/out that particular user.

  • Automatic logout of Forte clients

    We would like to be able to detect if a user has not done anything for a
    period of time - so that we can do automatic logouts after x minutes of
    inactivity. Detecting inactivity sounds like the sort of job an agent
    would do. Has anyone tried anything like this, or got any suggestions as
    to how else we might do it - on a Forte client?
    Thanks,
    Graham Jenkins

    Hi,
    I would use BAT for that:
    1. Create the services and the service profile, enable one user for IM&Presence using the service profile
    2. Export all users using BAT in CUCM (Bulk Administration->users->Export Users, run immediately, then change to Bulk Administration->Job Scheduler, when your job is completed you can download the export file using Bulk Administration->Upload/Download Files)
    3. Change the file extension from txt to csv and edit the file with your favorite CSV editor, so you enable all users for IM&Presence and add the service profile
    4. Upload the file again with the last step in 2.
    5. Use Bulk Administration->Users->update Users->custom file to update the user information.
    Best regards,
    Thomas.

  • UC520 and extension mobility.

    I have a UC520 with the latest version IOS (uc500-advipservicesk9-mz.124-11.XW5) it has the commands to make a logout profile and enable extension mobility. The phone (7971) that the logout profile is associated with does not see extension mobility enabled however at the CLI the IOS says it is. Any help? The profile functions as far as to bring up the associated ephone-dn.

    Which exact IOS are you using? I've heard that XW6 has this sort of problem while XW5 is fine.

  • Extension Mobility Fixed Timeout

    Hi,
    One of our customer asked me if we can logout EM at 3PM or some specific instead of 8 hours or 10 hours timeout.
    Can anyone help me with it?
    Your help will be highly appreciated.
    Mudasir

    Not natively; however, there is an Extension Mobility API that would allow an external application to make these decisions.
    Please remember to rate helpful responses and identify helpful or correct answers.

  • Extension Mobility Error [25]

    Hello,
    I'm getting error [25] user logged in elsewhere
    user EM profile is logged in another phone and we are unable to logged out because I get error [6] beacuse I didn't set the logout profile on the phone.
    How can I force log out an specific user profile?
    Thank you!
    Luisa Colmenares

    One option you could do is set it up so that they can be logged in to multiple phones if they so choose. You would do that by going to service parameters, select your server, the in the drop down box select Cisco Extension Mobility. Set the option "Multiple Login Behavior" to "Multiple Logins Allowed" and though they're logged in elsewhere, they can log in at that phone as well.
    If this helps, please rate.

  • Extension Mobility Timeout Per Phone?

    Is there anyway in CUCM 7.1.3 to set a particular phone to not have an extension mobility logout timer, different from the settings in the service parameters?  Are all extension mobility logout settings global?  thanks

    Hi there,
    You will find those settings via;
    To set the Service Parameters for Cisco Extension Mobility, choose
    System > Service Parameters in Cisco  Unified Communications Manager Administration;
    choose the server that  is running the Cisco Extension Mobility service, and then  Cisco Extension Mobility
    Cheers!
    Rob
    "A smile relieves a heart that grieves" 
    - Stones

  • Possible scenarios Extension Mobility can get logged out

    I'm trying to determine what are the possible causes a user can get logged out from the Extension Mobility session?
    I know one of it is when the maximum login time is reach, the user will get logged out but what other scenario's can a user get logged out?

    Hi,
    One reason is listed in the link below
    http://www.cisco.com/c/en/us/support/docs/unified-communications/unified-communications-manager-callmanager/18772-extension-mobility.html#logsout
    Just want to add that a phone reset / restart or deactivating extension mobility service will not result in the logout of the IP phone from extension mobility logged in profile.
    HTH
    Manish

  • Reports for extension mobility

    Hi,
    Is there any report on CUCM 6.x shows when the user login and logout using extension mobility feature during period of time for example one month.

    There is a solution for this. it is called ALM PRO+.
    ALM PRO+ allows companies to view ExtensionMobility usage and is able to run detailed reports for usage and management purposes.
    Centralised administration for all sites/locations using ALM PRO
    License management and control
    Advanced reporting on EM usage
    Extended management reporting options
    Calculating work space usage
    Manage user and group profiles
    Web-based administration
    Drop me a PM for more information

  • 7975 Not showing Extension Mobility service

    I'm seeing an odd difference in behavior between 7970 and 7975 phone models surrounding Extension Mobility. This is on a UCM 6.1(2) install.
    The environment has been using 7970 as their primary production phone model for some time. Extension Mobility has been configured without issue and working as expected.
    The first batch of 7975 phones arrived last week for new users. The same process was followed to enable EM on these phones (enable Extension Mobility and subscribe the service to the device); however, when the Services button is pressed, the service does not appear as an option. There is no error displayed on the device, the list is just blank.
    Has anyone run into this or have ideas what has changed in the 7975 XML behavior?

    When you use firmware release 8.3(3) with Cisco Unified Communications Manager 6.x, you must use Cisco Unified Communications Manager engineering special release. If this is not used, you will receive an XML parse error when you login or logout of a Cisco Unified IP Phone. Take a look at this bug“CSCsj79645”.

  • Extension Mobility doesn't work

    Hello,
    I want to implement Extension Mobility service. I have followed the setup step by step. But when I select my login/logout service, I receive an error "Login Insuccessful" Error: [6].
    The IP Phone doesn't prompt me to enter my UserID and PIN.
    In the EM Traces I have:
    %EMApp-3-UNK:Error while getting dir handle: DirUser.OperationError
    %EMApp-3-UNK:Unable to establish dir connection :DirUser.OperationError
    For information the CCM are not yet registered to the DNS and I used the LMHOST file.
    Thanks you for your help,
    Regards,
    JPB

    Its very likely the CCMSysUser user account password has not been updated on Callmanager and AD server and you may be having authentication problems between the ip phones services on Callmanager to Active Directory.

Maybe you are looking for

  • How to add one component when some action take place

    Hi, i created a GUI using Netbeans Ide, In that i want add a component when i click some button i showed it here see the diagram [click here to see|http://www.mediafire.com/imageview.php?quickkey=jtgzjrfenwm] my sample code public class ProcessFiles1

  • How to find infinite loop?

    Dear Oracle Gurus, I have one (some?) problem and no idea what to do. Our platform is IBM xSeries 234, RHEL3, 10g (version ...0.2). Database has only Oracle Application Repository shemas. Here is output from OS: #ps aux ... oracleandja (LOCAL=NO) -Mo

  • What is the use of AFFILIATE check box in Business partner?

    Dear Experts, There is a check box named AFFILIATE in the accounting tab of the business partner master data. Can any one please tell me the usage of that check box. The SAP Business one version is 8.8 and PL is 10. India localization. thanks and reg

  • MacBook Pro Retina Early 2013 ME665xx/A same body like MacBook Retina Mid 2012 MC976xx/A ?

    Hello, I have a MacBook Pro Retina Early 2013 ME665xx/A. Does it have the same body like the MacBook Retina of Mid 2012 MC976xx/A so that a case for a MacBook Pro Mid 2012 fits on my Early 2013? Much thanks

  • Share photos on AppleTV away from home

    I'm buying my out of state parents an AppleTV.  I want to share photos and videos with them using AppleTV.  Besides Flicker, is there anything else I can use?