ICI queue presence information

Hi guru's,
I am currently working on a project where we do have Genesys integration for telephony, and we came across something strange.
In toolbar, you can obtain presence information from Genesys about the queue's but the information is poorly displayed.
Standard methode CL_BCB_SYSTEM~GET_PRESENCEQUEUE_INFO2 is being executed which returns table lt_presence_resp.
This table contains information about _group_info and _queue_info.
Within the _queue_info there are lines containing data we are interested in:
Field
Description
_id
Queue ID
_description
Queue name
_logged_in
Current number of agents being logged on to the queue
_ready
Current number of agents being available for a next interaction
_pending
Current number of wating interactions
We would to have shown in BSP: ICCMP_CCS, page queues_enh.htm the results of this method. But instead SAP is doing some "strange" things..so the data is not presented like we want, but like:
Field
Description
Actions
Queue to be dialed or not (when status is red, not clickable)
Participatns
Queue name
Status
Status symbol (green is availbale, red is no one available)
We do want it as follow:
Fiels
Description
Actions
Queues to be de dailed or not (when status is red or green -> clickable else not)
Participants
Queue name
Status
Status symbol (green is availble , red is no one available, grey is no one logged on)
Loggend on
Current number of agents being logged on
Ready
Current number of agents being availabele for a next interaction
Pending
Current number of waiting interactions
I do think we need to change the following;
Make copy of BSP ICCMP_CCS to ZICCMP_CCS
Change page queues_enh.htm to presented to data as we want to.
Enhance component CRMCMP_IC_FRAME --> header_jscripts.js not to point to ICCMP_CCS, page dialpad_enh.htm but to ZICCMP_CCS page dialpad_enh.htm
Has anyone ever accomplish to have the date presented in a different way in this HTML page?
Regards,
Martin

Hi,
we have solved this.
Regards,
Martin

Similar Messages

  • Tuxedo Server Queue Level Information

    I have two queries related to Tuxedo Information base
    1. How Tuxedo decides how many requests can reside in server queue of one instance of server.
    2. How through C API function one can get the total no of request queued on one server? What is pre-condition (limitations) to get this information?
    Thanks & Regards,
    - Ajeet

    Ajeet,
    Tuxedo allows messages to be placed on a message queue as long as there is
    available space on the queue below the operating system imposed maximum byte
    limit. If a particular message would take up over 75% of the maximum byte
    limit or if the message would not fit on the queue at all but a short header
    message would fit on the queue, then Tuxedo writes a short header message to
    the queue and transfers the actual message data using a file. This is
    slower than transferring the entire message in the queue but avoids queue
    full error conditions whenever possible.
    Queries to the T_MSG MIB class can be used to see the OS maximum allowable
    byte limit, the number of bytes currently on the queue, and the number of
    messages currently on the queue. The T_QUEUE MIB class is focused on the
    Tuxedo attributes of the queue rather than the operating system attributes
    of the queue.
    The operating system command "ipcs -q -a" can also be used to see the
    maximum number of bytes, current number of bytes, and current number of
    messages for all queues in the system.
    Ed
    <AJEET TEWARI> wrote in message news:[email protected]..
    I have two queries related to Tuxedo Information base
    1. How Tuxedo decides how many requests can reside in server queue of one
    instance of server.
    2. How through C API function one can get the total no of request queued on
    one server? What is pre-condition (limitations) to get this information?
    Thanks & Regards,
    - Ajeet

  • Srr-queue documentation/information needed

    Hi !
    I have to enable traffic shapping on Catalyst 2960 switches. I'st look like possible under srr-queue queuing system. I would like to know about srr-queue. Anybody have a document understanding srr-queue ? I try to find something on the web but I did not find a lot of usefull documentation...
    I know srr-queue have 4 differents queue, but it's the only thing I know currently...
    I would like to know I the traffic is assign to those, which one have priority over other.....
    Thanks a lot !

    BTW, besides the reference information provided by Lucien and Giuseppe about using srr-queue in shape mode (e.g. http://www.cisco.com/en/US/docs/switches/lan/catalyst2960/software/release/12.2_50_se/configuration/guide/swqos.html#wp1163879), don't overlook "shaping" an egress port using the "srr-queue bandwidth limit" command (e.g. http://www.cisco.com/en/US/docs/switches/lan/catalyst2960/software/release/12.2_50_se/configuration/guide/swqos.html#wp1253412). When "shaping" in this manner, you can then also use srr-queue in shape mode (e.g. http://www.cisco.com/en/US/docs/switches/lan/catalyst2960/software/release/12.2_50_se/configuration/guide/swqos.html#wp1168422). The advantage of this approach, it doesn't limit some queues to a specific rate but does allow priorization between the SRR queues. (Much like a hierarchical policy on a router.)

  • CRM list of queues registration information

    Hi,
    I am new to CRM and have some questions regarding BDocs and queues in CRM,
    1. We found some queues starting with CSA* in inbound getting stuck for long. Found the reason to be that since these queues are not registered, they are not processed. Do these BDocs really need to be processed? 2. If yes then what all queue names are to be registered in CRM. What each of these inbound queues does?
    3. If not needed, then how can we delete these queues?
    4. Any step - by step document for registering Queues or on BDocs?
    Point to note is data is transfered from CRM to BW.
    Appreciate your help...
    Regards,
    Madhav

    >
    Kai Blanke wrote:
    > As I said: As long as the CSA queues exist, there will still be BDocs in the MW in an intermediate / yellow state, as the CSA queues are used for internal asynchronous storing of BDocs during processing. If you delete the queues, you will need to delete the BDocs also, and eventually get data inconsistencies depending on where you distribute your data. If you are deleting them, your MW will get stuck with hanging BDocs which is not an alternative.
    > Therefore you should register the queues and have the entries processed. As these are processed internally, the processing is pretty fast; a nice server should process some tenthousands per hour.
    >
    > The only way of not generating such queues is by stopping the MW, but this is only an option for a standalone system.
    We also have the same problem. The CSA* queues are not registered in SMQR. We have queues dating back to May of 2008. Will it be safe to delete them? Or should we still process these queues? We have 51,000++ messages on the inbound queue right now. Any help on this will be very much appreciated. Thanks!

  • No Presence Status With 9971 Phones

    CUCM - 9.1.2.10000-28
    CUCM IM and Presence - 9.1.1.31900-1
    9971 Load - sip9971.9-3-2-10
    Have an issue with the 9971s not updating presence information on Jabber (windows and osx).
    All phones are able to be controled from Jabber, ie. Dial, answer etc.
    I have made sure of the following:
    User is added to phone and line.
    Phone is associated to with users profile.
    Proper CTI permissions applied including allow control of phones supporting conferencing, CTI enabled etc.
    Primary DN is selected.
    All phones have CTI enabled.
    Presence status is updated just fine on all other devices. If I move myself from the 9971 and control a 7965 presence status begins to function. However once moved back to 9971 presence status stops updating and Available never changes to On Call when I go off hook.
    Again I can control the phone without any issues from Jabber.
    This only happens to my users that are assigned 9971 phones.
    Any ideas or places to look that I might have missed?

    Hi,
    I copy here from the docs
    http://www.cisco.com/en/US/docs/voice_ip_comm/cucm/admin/9_1_1/ccmfeat/CUCM_BK_C3E0EFA0_00_cucm-features-services-guide-91_chapter_0110010.html#CUCM_TP_SFF7026D_00
    Can you check it against your scenario?
    Presence Information
    The presence status "on a call" is displayed for a user in the following situations:
    Outgoing Calls
    The user initiates a call from Cisco Jabber for Windows in Extend and Connect mode.
    The user initiates a call from a device that is configured as a remote destination which is routed using Unified CM or Unified CM with Unified CM SME.
    Incoming Calls
    The user answers a call on a device configured as a remote destination routed using Unified CM or Unified CM with Unified CM SME.
    The user answers a call routed to a device configured as a remote destination using Cisco Single Number Reach.
    The presence status "on a call" is not displayed for a user in the following situations:
    When the user initiates a call from a device that is configured as a remote destination; the call is not routed using Unified CM or Unified CM with Unified CM SME.
    When the user answers a call on a device that is configured as a remote destination; the call is not routed using Unified CM or Unified CM with Unified CM SME.
    HTH,
    Christos

  • Issue with the presence indicator in list/library web part.

    When viewing a user field (Created By, Modified By or a custom People column) through the list web part (either through the default page /Forms/AllItems.aspx or a custom web part page using a list/library) the presence indicator always says presence unknown.
     However if I go to the Site Permissions on the same site, or My Site or a custom page using a modified core search results web part I wrote the presence indicator works fine.  I can't find any errors being reported on the server.  
    Looking at the rendered code the list web part generates:
    <IMG name=imnmark width=12 height=12 title="" class=ms-imnImg id=imn_48683,type=smtp alt="No presence information" src="/_layouts/images/blank.gif" border=0 sip="[email protected]">
    Locations where the presence indicator works the code is:
    <IMG name=imnmark width=12 height=12 title="" class=ms-imnImg id=imn{20140822-1752-098D-8C11-188AD0B8B8B6},type=sip alt=Available src="http://portal.mydomain.com/_layouts/images/imnon.png" border=0 sip="[email protected]" valign="middle">
    It appears that the List web part is not detecting that the users have a sip address and they appear to be rendered using smtp instead.  It's also odd that the list web part is pulling the correct sip address while the one that works is pulling the
    email address, not the sip address stored in the user profile.  I spent considerable time going through the xslt to try and figure how the tag is rendered but I haven't been able to figure it out.
    We are using Cisco Jabber 9.2.3 for IM, I don't know if that should make a difference or not. It's working fine in other parts of SharePoint and in Outlook. Running SharePoint Dec 2011 CU (14.0.6114.5000) with MS Office 2010 SP2 installed on the client. Tested
    in IE 9.0/10/11.
    Any ideas?

    We don't have a Lync server and I don't have the software available.  Are you saying just having Lync installed even though it won't work might help?
    I did some more digging and believe that this is an issue with the XsltListViewWebPart.  If I go to the UserInformationList the web part used to render the list is the ListViewWebPart and the presence indicator works there.  Also our environment
    was migrated from 2007 and there are a number of pages that are using the old ListViewWebPart and the presence indicator works fine in this part.  If edit the page and add the same list library to it, it's added as a XsltListViewWebPart and the presence
    indicator does not work.
    The presence control is not rendered by the xsl files used by the webpart.  I modified the xsl to display the raw xml and the html code for the presence is part of the xml.  I'm guessing this can't be changed and is part of how SharePoint is rendering
    the data for the XsltListViewWebPart.  You can see the Editor and CheckoutUser lines have the html code embedded in the data.
    <Row
    ID="60"
    PermMask="0x7fffffffffffffff"
    HTML_x0020_File_x0020_Type=""
    File_x0020_Type="xlsx"
    HTML_x0020_File_x0020_Type.File_x0020_Type.mapall="icxlsx.png|Microsoft Excel|SharePoint.OpenDocuments"
    HTML_x0020_File_x0020_Type.File_x0020_Type.mapcon="SharePoint.OpenDocuments"
    HTML_x0020_File_x0020_Type.File_x0020_Type.mapico="icxlsx.png"
    serverurl.progid="1http://myparkersdev.domain.com/sites/BPIT/_layouts/xlviewer.aspx?id=/sites/BPIT/Shared%20Documents/Database%20Sizes.xlsx"
    ile_x0020_Type.progid="SharePoint.OpenDocuments.3"
    File_x0020_Type.url="FALSE"
    FSObjType="0"
    FileRef="/sites/BPIT/Shared Documents/Database Sizes.xlsx"
    FileRef.urlencode="%2Fsites%2FBPIT%2FShared%20Documents%2FDatabase%20Sizes%2Exlsx"
    FileRef.urlencodeasurl="/sites/BPIT/Shared%20Documents/Database%20Sizes.xlsx"
    FileLeafRef="Database Sizes.xlsx"
    FileLeafRef.Name="Database Sizes"
    FileLeafRef.Suffix="xlsx"
    CheckoutUser="&lt;span class=&quot;ms-imnSpan&quot;&gt;&lt;a href='javascript:;' onclick='IMNImageOnClick(event);return false;' class='ms-imnlink'&gt;&lt;img name='imnmark' class='ms-imnImg' title='' border='0' height='12' width='12' src='/_layouts/images/blank.gif' alt='No presence information' sip='[email protected]' id='imn_77,type=smtp'/&gt;&lt;/a&gt;&lt;a onclick=&quot;GoToLink(this);return false;&quot; href=&quot;/sites/BPIT/_layouts/userdisp.aspx?ID=526&quot;&gt;Ian Howe&lt;/a&gt;&lt;/span&gt;"
    CheckoutUser.id="526"
    CheckoutUser.title="Ian Howe"
    CheckoutUser.span="&lt;nobr&gt;&lt;span&gt;&lt;a onclick=&quot;GoToLink(this);return false;&quot; href=&quot;/sites/BPIT/_layouts/userdisp.aspx?ID=526&quot;&gt;Ian Howe&lt;/a&gt;&lt;img border=&quot;0&quot; height=&quot;1&quot; width=&quot;3&quot; src=&quot;/_layouts/images/blank.gif&quot;/&gt;&lt;a href='javascript:;' onclick='IMNImageOnClick(event);return false;' class='ms-imnlink'&gt;&lt;img name='imnmark' class='ms-imnImg' title='' border='0' height='12' width='12' src='/_layouts/images/blank.gif' alt='No presence information' sip='[email protected]' id='imn_78,type=smtp'/&gt;&lt;/a&gt;&lt;/span&gt;&lt;/nobr&gt;"
    CheckedOutUserId="526"
    IsCheckedoutToLocal="0"
    Created_x0020_Date="0;#2014-08-22 09:47:01"
    Created_x0020_Date.ifnew=""
    ContentTypeId="0x0101000AE0EC76CD0DB743B42D2FE022EAA6DC"
    Modified="8/22/2014 10:51 AM"
    Editor="&lt;span class=&quot;ms-imnSpan&quot;&gt;&lt;a href='javascript:;' onclick='IMNImageOnClick(event);return false;' class='ms-imnlink'&gt;&lt;img name='imnmark' class='ms-imnImg' title='' border='0' height='12' width='12' src='/_layouts/images/blank.gif' alt='No presence information' sip='[email protected]' id='imn_79,type=smtp'/&gt;&lt;/a&gt;&lt;a onclick=&quot;GoToLink(this);return false;&quot; href=&quot;/sites/BPIT/_layouts/userdisp.aspx?ID=526&quot;&gt;Ian Howe&lt;/a&gt;&lt;/span&gt;"
    Editor.id="526"
    Editor.title="Ian Howe"
    Editor.span="&lt;nobr&gt;&lt;span&gt;&lt;a onclick=&quot;GoToLink(this);return false;&quot; href=&quot;/sites/BPIT/_layouts/userdisp.aspx?ID=526&quot;&gt;Ian Howe&lt;/a&gt;&lt;img border=&quot;0&quot; height=&quot;1&quot; width=&quot;3&quot; src=&quot;/_layouts/images/blank.gif&quot;/&gt;&lt;a href='javascript:;' onclick='IMNImageOnClick(event);return false;' class='ms-imnlink'&gt;&lt;img name='imnmark' class='ms-imnImg' title='' border='0' height='12' width='12' src='/_layouts/images/blank.gif' alt='No presence information' sip='[email protected]' id='imn_80,type=smtp'/&gt;&lt;/a&gt;&lt;/span&gt;&lt;/nobr&gt;"
    ecb.dispex="return DispEx(this,event,'TRUE','FALSE','FALSE','SharePoint.OpenDocuments.3','0','SharePoint.OpenDocuments','','1http://myparkersdev.domain.com/sites/BPIT/_layouts/xlviewer.aspx?id=/sites/BPIT/Shared%20Documents/Database%20Sizes.xlsx','526','526','1','0','0x7fffffffffffffff','','')" />
    I just find it strange that the old ListViewWebPart works.  Our SP environment has not been patched to the latest version, I'll try that next and see if it makes a difference.

  • How to Block user from Sending IM or Hide Presence of there user who is not in his department

    Hi All,
    How to Block user from Sending IM or Hide Presence of there user who is not in his department.
    Thank you

    Hi Jp,
    Method 1:
    You can use the Enhanced Privacy Mode in Lync 2013
    <section class="ocpSection">
    Enable Privacy Mode
    By default, everyone except Blocked Contacts can see your presence status. To modify the privacy settings, you can do the following:
    In the Lync main window, click the Options button.
    In the Lync - Options dialog box, click Status, and then do one of the following:
    Click I want everyone to be able to see my presence regardless of system settings (override default settings).
    Click I want the system administrator to decide - currently everyone can see my presence but this could change in the future.
    </section>
    About Enhanced Privacy Mode
    If your organization has enabled Enhanced Privacy Mode in Lync, you can choose whether to limit visibility of your presence information to only those people you’ve added to your Contacts list. You do that by selecting one of the following on the
    Options->Status window:
    I want everyone to be able to see my presence
    I only want people in my Contacts list to see my presence
    Method 2:
    Using Privacy Relationship, you can block a particular user by adding him to blocked contacts
    Anil Kumar (MCITP)
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

  • How to fetch presence in Lync 2013 from SQL server (using query)

    We are running Lync 2013 setup with 5 FE and 2 BE SQL (mirrored) servers.
    How can i get presence information for our users by script or SQL queries?
    My Concern is to fetch out current presence information of a list of users (CSV file) by script (Powershell or SQL query) for automation purpose. So that one need not to go to Lync 2013 (or anything) Client for every single user, to check their corresponding
    presence.
    E.g Say a service desk agent is handling tickets of 200 users per day. So it will be time consuming for him/her to go to Lync 2013 client and check presence for every user. It would be better for SD agent to operate, if we could make a script to fetch presence
    status for the list of 200 users.
    We will fetch the information when required and send a mail to him/her.
    i have asked this question under Presence and IM forum.
    https://social.technet.microsoft.com/Forums/en-US/ef6287d1-e474-48ab-a411-f3813d256145/how-to-fetch-presence-information-in-lync-2013?forum=lyncprofile
    been suggested to post it here.

    Create a Store procedure which will give you integer value according to presence status:
    USE [rtc]
    GO
    /****** Object:  StoredProcedure [dbo].[GetAvailability]    Script Date: 05/01/2015 10:36:35 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    -- =============================================
    -- Author:  <sudipta samanta>
    -- Create date: <02.01.2015>
    -- Description: <fetch presence information of user>
    -- =============================================
    CREATE PROCEDURE [dbo].[GetAvailability]
    @_Publisher varchar(50)
    AS
    DECLARE
    @agrregate_state varchar(500),
    @availability varchar(50),
    @index_first int,
    @index_last int,
    @index int
    BEGIN
    SET NoCount ON
    set @agrregate_state = (select top 1 Data from dbo.DiagPublisherDataView(@_Publisher) order by LastPubTime desc);
    set @index_first = (select CHARINDEX('<availability>',@agrregate_state));
    set @index_last = (select CHARINDEX('</availability>',@agrregate_state));
    set @index = @index_first + 14;
    set @availability = (SUBSTRING(@agrregate_state,@index,@index_last - @index));
    return CONVERT(int, @availability);
    END
    GO

  • Presence data from web service

    Hello,
    i like to get presence data from the presenceconsumer web service. But everytime a call getUserPresence i get a PolicyException (POL0002): 'Privacy verification failed for address %1, request is refused'.
    I use a web service proxy generated from the wsdl of the presenceconsumer web service. Authentication is made against the appregationproxy by setting username and password. Both users (the one i use for authentication and the one whose presence data i want to get) are registered in the timesten database.
    The user whose presence data should be accessed is logged in the OracleCommunicator and has the other user on the allowed list for presence data.
    All other operations of the presence web services work without any problem, so why not getUserPresence?
    Thanks for help

    Hi,
    I have found the problem and fixed it :)
    If you see my code, I was checking for the pending subscriptions after publish() method. When I tried this check before publish() method, I got the expected results (All the pending subscriptions).
    Also, I got an error (ServiceException) while dynamically retrieving the subscribed attributes for some reason. I have found an alternative solution, by manually allowing only the PresenceAttributeType.Activity (instead of all getSubscribedAttributes()).
    Note: This code was working fine in my local machine because, I have already setup-ed the users (Buddy list) through Oracle communicator in my machine. I was not able to install OC in the VM for some reason though OS is same in both my machine and the VM (OS: Windows 2000 SP4).
    thanks & regards,
    S.Vasanth Kumar.
    My latest code for your reference.
    =======================================================
    package presencedemo;
    import java.net.URI;
    import java.rmi.RemoteException;
    import java.util.Calendar;
    import org.csapi.schema.parlayx.common.v2_0.PolicyException;
    import org.csapi.schema.parlayx.common.v2_0.ServiceException;
    import org.csapi.schema.parlayx.common.v2_0.SimpleReference;
    import org.csapi.schema.parlayx.presence.v2_0.ActivityValue;
    import org.csapi.schema.parlayx.presence.v2_0.AttributeTypeAndValue;
    import org.csapi.schema.parlayx.presence.v2_0.CommunicationMeans;
    import org.csapi.schema.parlayx.presence.v2_0.CommunicationMeansType;
    import org.csapi.schema.parlayx.presence.v2_0.CommunicationValue;
    import org.csapi.schema.parlayx.presence.v2_0.OtherValue;
    import org.csapi.schema.parlayx.presence.v2_0.PlaceValue;
    import org.csapi.schema.parlayx.presence.v2_0.PresenceAttribute;
    import org.csapi.schema.parlayx.presence.v2_0.PresenceAttributeType;
    import org.csapi.schema.parlayx.presence.v2_0.PresencePermission;
    import org.csapi.schema.parlayx.presence.v2_0.PrivacyValue;
    import org.csapi.schema.parlayx.presence.v2_0.SphereValue;
    import org.csapi.schema.parlayx.presence.v2_0.SubscriptionRequest;
    import org.csapi.wsdl.parlayx.presence.consumer.v2_0.interface_.PresenceConsumerClient;
    import org.csapi.wsdl.parlayx.presence.supplier.v2_0.interface_.PresenceSupplierClient;
    /* PresenceDemoClient.java
    * This class contains the primary functionality for
    * connecting to the Presence Server and retreiving
    * presence information for a set of buddies
    public class PresenceDemoClient {
    PresenceSupplierClient supplier;
    PresenceConsumerClient consumer;
    private String PresenceServer;
    private String PresenceUsername;
    private String PresencePassword;
    private String PresenceRealm;
    private String PresencePort;
    URI BuddyList[];
    PresenceAttributeType[] pat1;
    // Constructor - creates a supplier and consumer presence client
    // for publishing, subscribing to, and retrieving user presence.
    public PresenceDemoClient(String server, String username, String password,
    String realm, String port, URI[] buddies) {
    try {
    supplier = new PresenceSupplierClient();
    consumer = new PresenceConsumerClient();
    PresenceServer = server;
    PresenceUsername = username;
    PresencePassword = password;
    PresenceRealm = realm;
    PresencePort = port;
    BuddyList = new URI[buddies.length];
    BuddyList = (URI[])buddies.clone();
    } catch (Exception e) {
    System.out.println(e.toString());
    // publishPresence - this method publishes presence on behalf of the
    // current user. Allowed information includes and activityString and a note
    public void publishPresence(String activityString, String note) {
    try {
    System.out.println("Publishing presence for " + PresenceUsername);
    // create supplier web service endpoint
    supplier.setEndpoint("http://" + PresenceServer + ":" +
    PresencePort +
    "/aggregationproxy/presencesupplierws/presencesupplier");
    System.out.println("Supplier URL: " + "http://" + PresenceServer + ":" +
    PresencePort +
    "/aggregationproxy/presencesupplierws/presencesupplier");
    supplier.setMaintainSession(true);
    supplier.setUsername(PresenceUsername);
    supplier.setPassword(PresencePassword);
    ActivityValue activity = null;
    String expires = "3600"; // default expiration of subscription
    if (note == null || note.length() < 1)
    note = "From Web Service Client";
    if (activityString == null)
    activity = ActivityValue.ActivityNone;
    else if (activityString.equals("Available"))
    activity = ActivityValue.Available;
    else if (activityString.equals("Busy"))
    activity = ActivityValue.Busy;
    else if (activityString.equals("Meeting"))
    activity = ActivityValue.Meeting;
    else if (activityString.equals("Away"))
    activity = ActivityValue.Away;
    else
    activity = ActivityValue.ActivityNone;
    PresenceAttribute pa = new PresenceAttribute();
    AttributeTypeAndValue typeValue = new AttributeTypeAndValue();
    typeValue.setActivity(activity);
    if (Integer.parseInt(expires) == 0)
    typeValue.setUnionElement(PresenceAttributeType.Other);
    else
    typeValue.setUnionElement(PresenceAttributeType.Activity);
    CommunicationMeans mean = new CommunicationMeans();
    System.out.println(new URI("sip:" + PresenceUsername + "@" +
    PresenceRealm));
    mean.setContact(new URI("sip:" + PresenceUsername + "@" +
    PresenceRealm));
    mean.setPriority(1);
    mean.setType(CommunicationMeansType.Chat);
    CommunicationValue commValue = new CommunicationValue();
    commValue.setMeans(new CommunicationMeans[] { mean });
    typeValue.setCommunication(commValue);
    OtherValue other = new OtherValue();
    other.setName("Expires");
    other.setValue(expires);
    typeValue.setOther(other);
    typeValue.setPrivacy(PrivacyValue.PrivacyNone);
    typeValue.setPlace(PlaceValue.PlaceNone);
    typeValue.setSphere(SphereValue.SphereNone);
    pa.setTypeAndValue(typeValue);
    pa.setNote(note);
    //Allowing all pending subscriptions
    SubscriptionRequest[] srArray = supplier.getOpenSubscriptions();
    for (SubscriptionRequest sr:srArray) {
    URI watcher = sr.getWatcher().normalize();
    /*System.out.println("Blocking: " + watcher);
    supplier.blockSubscription(watcher);*/
    System.out.println("Allowing: " + watcher);
    /*PresenceAttributeType patArray[] = supplier.getSubscribedAttributes(watcher.toString());
    PresencePermission permissions[] = new PresencePermission[supplier.getSubscribedAttributes(watcher.toString()).length];
    for(int i=0;i<patArray.length;i++){
    PresenceAttributeType pat = patArray;
    System.out.println("\tPermission: " + pat);
    PresencePermission pp = new PresencePermission();
    pp.setPresenceAttribute(pat); //You always pass in Activity
    pp.setDecision(true); //Put the user on the allow list
    permissions[i] = pp;
    supplier.updateSubscriptionAuthorization(watcher,permissions);*/
    PresenceAttributeType pat = PresenceAttributeType.Activity;
    PresencePermission pp = new PresencePermission();
    pp.setPresenceAttribute(pat); //You always pass in Activity
    pp.setDecision(true); //Put the user on the allow list
    supplier.updateSubscriptionAuthorization(watcher,new PresencePermission[]{pp});
    Calendar dateTime = Calendar.getInstance();
    pa.setLastChange(dateTime);
    supplier.publish(new PresenceAttribute[] { pa });
    System.out.println("Publish done: " + "sip:" + PresenceUsername + "@" +
    PresenceRealm);
    } catch (Exception e) {
    System.out.println("Publish failed: " + e.toString());
    e.printStackTrace();
    // subscribePresence - this method subscribes to
    // presence information of buddylist members
    public void subscribePresence() {
    try {
    // create web services endpoint
    consumer.setEndpoint("http://" + PresenceServer + ":" +
    PresencePort +
    "/aggregationproxy/presenceconsumerws/presenceconsumer");
    System.out.println("Consumer URL: " + "http://" + PresenceServer + ":" +
    PresencePort +
    "/aggregationproxy/presenceconsumerws/presenceconsumer");
    consumer.setMaintainSession(true);
    consumer.setUsername(PresenceUsername);
    consumer.setPassword(PresencePassword);
    // Setting the attribute to activity.
    PresenceAttributeType pa = PresenceAttributeType.Activity;
    PresenceAttributeType[] pat = new PresenceAttributeType[] { pa };
    // These input are required but not used.
    SimpleReference sr = new SimpleReference();
    sr.setCorrelator("unused_correlator");
    sr.setInterfaceName("unused_interfacename");
    sr.setEndpoint(new URI("http://unused.com"));
    int counter = 0;
    // Calling the subscribe web service with sip
    // address of each buddy
    for (counter = 0; counter < BuddyList.length; counter++) {
    System.out.println("Subscribing presence for: " + BuddyList[counter]);
    consumer.subscribePresence(BuddyList[counter], pat, "unused",
    sr);
    Thread.sleep(3000); // Give the backend enough time to get the subscription.
    // Define Presence Activity types and attribute storage
    PresenceAttributeType pa1 = PresenceAttributeType.Activity;
    pat1 = new PresenceAttributeType[] { pa1 };
    } catch (Exception e) {
    System.out.println("Exception " + e.toString());
    e.printStackTrace();
    // getUserPresence - this method retuns the presence information
    // of a particular buddy(user)
    public PresenceAttribute getUserPresence(URI user) {
    PresenceAttribute pa;
    try {
    System.out.println(consumer.getEndpoint() + "," + consumer.getUsername());
    pa = consumer.getUserPresence(user, pat1)[0];
    } catch (PolicyException pEx) {
    pa = null;
    System.out.println("PolicyException:getUserPresence: " + pEx.getMessageId() + ":" + pEx.getText());
    String[] variables = pEx.getVariables();
    for(String str:variables){
    System.out.println(str);
    } catch (ServiceException serEx) {
    pa = null;
    System.out.println("ServiceException:getUserPresence: " + serEx.toString());
    } catch (RemoteException rEx) {
    pa = null;
    System.out.println("RemoteException:getUserPresence: " + rEx.toString());
    return pa;
    public static void main(String args[]) throws Exception{
    URI[] buddy_list = {new URI("sip:[email protected]"),new URI("sip:[email protected]"),new URI("sip:[email protected]")};
    PresenceDemoClient client = new PresenceDemoClient("192.168.111.222","employee1","welcome1","vitkovice","8888",buddy_list);
    client.publishPresence("Available",":)");
    client.subscribePresence();
    URI[] buddy_list2 = {new URI("sip:[email protected]"),new URI("sip:[email protected]"),new URI("sip:[email protected]")};
    PresenceDemoClient client2 = new PresenceDemoClient("192.168.111.222","employee2","welcome1","vitkovice","8888",buddy_list2);
    client2.publishPresence("Available",":)");
    client2.subscribePresence();
    URI[] buddy_list3 = {new URI("sip:[email protected]"),new URI("sip:[email protected]"),new URI("sip:[email protected]")};
    PresenceDemoClient client3 = new PresenceDemoClient("192.168.111.222","employee3","welcome1","vitkovice","8888",buddy_list3);
    client3.publishPresence("Available",":)");
    client3.subscribePresence();
    URI[] buddy_list4 = {new URI("sip:[email protected]"),new URI("sip:[email protected]"),new URI("sip:[email protected]")};
    PresenceDemoClient client4 = new PresenceDemoClient("192.168.111.222","employee4","welcome1","vitkovice","8888",buddy_list4);
    client4.publishPresence("Available",":)");
    client4.subscribePresence();
    Thread.sleep(10000); //Allow some time for all the subscription notifications.
    PresenceAttribute pa = client.getUserPresence(buddy_list[0]);
    System.out.println(buddy_list[0] + ": " + pa.getTypeAndValue().getActivity() + " " + pa.getNote());
    PresenceAttribute pa2 = client2.getUserPresence(buddy_list2[0]);
    System.out.println(buddy_list2[0] + ": " + pa2.getTypeAndValue().getActivity() + " " + pa2.getNote());
    PresenceAttribute pa3 = client2.getUserPresence(buddy_list3[0]);
    System.out.println(buddy_list3[0] + ": " + pa3.getTypeAndValue().getActivity() + " " + pa3.getNote());
    PresenceAttribute pa4 = client2.getUserPresence(buddy_list4[0]);
    System.out.println(buddy_list4[0] + ": " + pa4.getTypeAndValue().getActivity() + " " + pa4.getNote());

  • Requesting location information from a client device (7921G)

    Hey gents,
    Can a client device such as the 7921G gather its own location? I think I remember a configuration example for location presence information on a client. But unfortunately I can't find the configuration guide anymore.
    Can anyone point me in the right direction, please?
    Many thanks,
    Sebastian Jeuk

    This may help if you haven't seen it:
    http://www.cisco.com/en/US/docs/voice_ip_comm/cuipph/7921g/7_0/english/administration/guide/7921ovr.html

  • Is it possible to archive user presence change in Lync 2013?

    We are using Lync 2013 and were wondering for QA purposes, is there a way to get or archive presence data in Lync 2013? Is the presence information only available in the client?
    Thanks!
    -Ed Rhoades
    Best Regards, Edward Rhoades II

    I don't believe this is archived (but someone feel free to correct me)
    Based on the Technet article
    http://technet.microsoft.com/en-us/library/jj204900.aspx the following information is archived:
    Peer-to-peer instant messages
    Conferences (meetings), which are multiparty instant messages
    Conference content, including uploaded content (for example, handouts) and event-related content (for example, joining, leaving, uploading sharing, and changes in visibility)
    Whiteboards and polls shared during a conference
    Also looking at some of the sample reports, I can't see an option for it: http://gallery.technet.microsoft.com/office/Sample-Lync-Server-12fb1c4c
    If this helped you please click "Vote As Helpful" if it answered your question please click "Mark As Answer" | Blog
    www.lynced.com.au | Twitter
    @imlynced

  • Filtration BP date in outbound queue.

    Hi experts!
    I have a question. I need to stop data refering to BP in outbound queues. Information about content outbound queue, i receive from FM 'TRFC_QOUT_GET_CURRENT_QUEUES'. Now i must to stop data BP (not copy to ERP system).
    Can anybody tells me, how i must do it?
    Thanks.
    Regards Kostya Khveshchenik
    Edited by: Kostya Khveshchenik on Dec 26, 2008 12:13 PM

    Hi,
    Pls. mark the thead as closed if it's resolved.. if possible share the solution too..
    Cheers,
    Sumit Mittal

  • SCSM 2012: Strange Queue SLA Bug

    We're in the process of scoping down our User Roles and I'm coming across a strange condition which I think might be a bug.
    We have multiple teams within our organisation, each team has their own Support Group and SLA. We have created separate Queues and SLA's for each team.
    For example:
    Support Group = "Tier 1"
    Queue (Tier 1) = All Incidents where Support Group equals "Tier 1"
    SLO (Tier 1) = Is targeted at "Queue (Tier 1)"
    This is what I've found, if I create a new User Role based on "Incident Resolver" and grant that Role access to to everything, that is tick the "All XYZ can be accessed" in each section of the wizard, the user can see the 'SLO Description',
    'Target End Date' and 'Time before SLO Breached' in the incident form.
    However, if I then limit this user role to 'Queue (Tier 1)' only, keeping everything else the same this information disappears from the view.
    After some more investigation I found, if you select 'All work items can be accessed' under Queues this information shows, however if you tick a couple of individual queues manually or tick all of the queues manually you get this bug. It only works
    when selecting 'All work items can be accessed'.
    We might have to raise a case, quite difficult to explain on the forum. But wanted to post it in case others have come across this issue.

    For the benefit of others I thought I'd update this post.
    The solution to this problem can be found
    here and
    here.
    Regards

  • Cisco VCS X7.1 RFC 4480 support (Rich Presence)

    Hi all,
    This is regarding Cisco VCS-C X7.1 or 7.2.
    We’re trying to implement Rich Presence (RFC 4480) which is stated as supported in this document (page 34):
    http://www.cisco.com/c/dam/en/us/td/docs/telepresence/infrastructure/vcs/release_note/Cisco_VCS_Release_Note_X7-1.pdf
    However, the VCS returns “Online” indication even if the system in question is in a call. There’s no “busy” status for some reason. I’m referring to the SIP PUA which gives an option for using the presence even with H.323 endpoints, given their registration in a form of URI.
    Is the Rich Presence supported for Jabber only?
    Thanks!

    Rich Presence isn't available for the normal endpoints, only the SIP SIMPLE status generated by the Presence User Agent (PUA).  From the on-line help:
    Endpoints that do not support presence can have status published on their behalf by the VCS. The service that publishes this information is called the Presence User Agent (PUA).
    The PUA takes information from the local registration database and the call manager and determines, for each endpoint that is currently locally registered, whether or not it is currently in a call. The PUA then provides this status information via a PUBLISH message.
    For the PUA to successfully provide presence information about a locally registered endpoint:
    The endpoint must be registered with an alias in the form of a URI.
    The domain part of the URI must be able to be routed to a SIP registrar that has a presence server enabled. (This could be either the local Presence Server, if enabled, or another Presence Server on a remote system.)
    When enabled, the PUA generates presence information for all endpoints registered to the VCS, including those which already support presence. The status information provided by the PUA is either:
    online (registered but not in a call)
    in call (registered and currently in a call)
    The PUA will update and publish presence information on receipt of:
    a registration request (for new registrations)
    a registration refresh (for existing registrations)
    a deregistration request
    call setup and cleardown information
    Wayne
    Please remember to rate responses and to mark your question as answered if appropriate.

  • Config more than one Domain SIP on Presence Server

    Hello,
    We are doing integration between CUPS and LYNC. we have a client that have many domains example:
    [email protected]
    [email protected]
    [email protected]
    so, in service parameters I configure the domain grupocopisa.com for the sip proxy. Also configure de network domain with grupocopisa.com
    I "THINK" I need to conf more than one domainsip proxy because the sip invites from is well treated. no?
    [email protected]
    [email protected]

    Hello,
    I read and see that this integration manual not aplied for my project. We are not remplacing the LYNC with jaber. We are integration the CUPS and LYNC but using only the LYNC client. This manual is for remplacing the lync client for jabber client, and doing step by step mainteing the presence feature between jabber and lync during the migration of remote head quarters. please correct me if im wrong.
    http://www.cisco.com/en/US/docs/voice_ip_comm/cups/8_6/english/integration_notes/Federation/Intradomain_Federation/Overview_chapter.html
    Partitioned Intradomain Federation
    More and more enterprises are choosing Cisco Unified Presence as their  IM and Availability platform. These enterprises already have Microsoft  Office Communications Server (OCS) or Microsoft Live Communications  Server (LCS) deployed and want to move their users from Microsoft Office  Communicator to a Cisco Unified Presence supported client. During the  transition, it is important that these users who migrate to a  Cisco Unified Presence supported client can continue to share presence  information and instant messages with those users who are still using  Microsoft Office Communicator. For more information about supported  Cisco Unified Presence clients, see Software Requirements.
    Partitioned Intradomain Federation enables Cisco Unified Presence client  users and Microsoft Office Communicator users within the same  enterprise domain to exchange presence Availability and IM.
    This integration supports users within an enterprise domain who are  either configured on Cisco Unified Presence and use a  Cisco Unified Presence supported client as their desktop client, or are  enabled on OCS or LCS and use Microsoft Office Communicator as their  desktop client.

Maybe you are looking for

  • I'm trying to install Word for Mac, but it doesn't contain enough memory.  Any suggestions?, I'm trying to install Word for Mac on my 10.7.4, but there isn't enough memory.  Any suggestions?

    I need to install Word for Mac on my MacBook OS X Lion 10.7.4, but there are two problems:  1)  Microsoft sells only Office, not the individual programs, and 2) I don't have enough memory to do so (2 GB).  Any suggesions?  I'm currently using Pages,

  • OO ABAP in WF

    Hi, While going thro' documentation, came across terms like "Local  persistent object reference" Incase of OO ABAP scenario for workflow. Wanted to concept about LPOR usage and what exactly is it? Thanks in advance, Akshay

  • Text object gets deleted in Adobe Reader 11

    In Adobe Acrobat X i was inserting text objects to one of the pdf . It opens properly in Adobe Reader 10, but in Adobe Reader 11, when I click on that PDF file, text objects which i have edited gets deleted. Here is the source pdf file link which i a

  • Missing font in iWeb

    hi all, every time i start up iWeb i get a message telling me i have a font missing, "MaturaMTScriptCapitals" it then tells me "to include missing fonts, add them to your fonts folder etc", i found my FONTS folder which is empty, underneath it is a f

  • Student and Teacher Edition Requirements

    I have two very important questions with regards to the student and teacher edition of Adobe Acrobat XI Professional. 1. I am a senior at Central Bucks High School West. I do plan on going to Bucks County Community College next year. If I were to buy