How to enable /disable MWI ?

Hi,
I want to write a small application to enable/disable IP Phone lamp. But confused by how to enable MWI(Message Waiting indicator). TAPI ? AXL ? or some others , which can implement it . Could you give me some direction, thank you !

I never checked what happens on a database level. However, for any actions that have a direct influence on a device, writing directly into the database is the wrong approach.
As an example: if you set a forward (callforward all) via database (and not AXL), calls may well be forwarded, but the phone's status won't be adapted (so you don't have the callforward indicator and no information about the callforward). If you set the callforward via JTAPI or AXL, the phone's status will also be updated to show that it has been forwarded.
When you configure a phone, you'll see the same thing in many cases.. especially in older CCM releases, you were often told that you need to reset the phone to apply a change you've made. In newer versions, this is often (but not always done automatically.. you'll see the phone restart after pressing update).. it's the same thing here.. you write into the database, but then you also have to apply those changes to the phone (one good example is changing a line label.. you won't get the label to change on the phone by just writing to the database.. you have to restart the phone for it to load the new label name).
Even if you need to get the mwi status, JTAPI will do that for you (CiscoAddress.getMessageWaiting - and to set it, it's CiscoAddress.setMessageWaiting). Since you need a CTI command to set the MWI, you can as well resort to CTI to get the MWI status as well and don't bother with the database.
fkcallingsearchspace_mwi is definitely not it though - I can tell you that without looking at the diagram since fk_anything is a foreign key and you have an uuid value in that field. The mwi status would be a boolean since it can have just two values. In fact, it's numplan.ismessagewaitingon but as I said.. with any element that has a direct influence on a phone's appearance or behavior, you cannot just change it... at best you need a phone reset. And if you do it with JTAPI (and probably TAPI too.. I can't be sure because I've never done TAPI and hope to never have to), you can change the MWI status on the fly without having to restart the phone, which is much more elegant.

Similar Messages

  • How to enable/disable the input fields based on the data entered/user action in the web dynpro abap?

    How to enable/disable the input fields based on the data entered in the web dynpro application abap?  If the user enters data in one input field then only the next input field should be enabled else it should be in disabled state. Please guide.

    Hi,
    Try this code.
    First create a attribute with the name readonly of type wdy_boolean and bind it read_only property of input field of which is you want to enable or disable.
    Next go to Init method.
    Set the readonly value as 'X'.
    DATA lo_el_context TYPE REF TO if_wd_context_element.
         DATA ls_context TYPE wd_this->element_context.
         DATA lv_visible TYPE wd_this->element_context-visible.
    *   get element via lead selection
         lo_el_context = wd_context->get_element( ).
    *   @TODO handle not set lead selection
         IF lo_el_context IS INITIAL.
         ENDIF.
    *   @TODO fill attribute
    *   lv_visible = 1.
    *   set single attribute
         lo_el_context->set_attribute(
           name =  `READONLY`
           value = 'X').
    After that Go to the Action  ENTER.
    First read the input field ( first input field, which is value entered field) , next give a condition
    if input value is not initial  then set the readonly value is '  '.
    DATA lo_nd_input TYPE REF TO if_wd_context_node.
         DATA lo_el_input TYPE REF TO if_wd_context_element.
         DATA ls_input TYPE wd_this->element_input.
         DATA lv_vbeln TYPE wd_this->element_input-vbeln.
    *   navigate from <CONTEXT> to <INPUT> via lead selection
         lo_nd_input = wd_context->get_child_node( name = wd_this->wdctx_input ).
    *   @TODO handle non existant child
    *   IF lo_nd_input IS INITIAL.
    *   ENDIF.
    *   get element via lead selection
         lo_el_input = lo_nd_input->get_element( ).
    *   @TODO handle not set lead selection
         IF lo_el_input IS INITIAL.
         ENDIF.
    *   get single attribute
         lo_el_input->get_attribute(
           EXPORTING
             name =  `VBELN`
           IMPORTING
             value = lv_vbeln ).
    if lv_vbeln IS not INITIAL.
        DATA lo_el_context TYPE REF TO if_wd_context_element.
        DATA ls_context TYPE wd_this->element_context.
        DATA lv_visible TYPE wd_this->element_context-visible.
    *  get element via lead selection
        lo_el_context = wd_context->get_element( ).
    *  @TODO handle not set lead selection
        IF lo_el_context IS INITIAL.
        ENDIF.
    *  @TODO fill attribute
    *  lv_visible = 1.
    *  set single attribute
        lo_el_context->set_attribute(
          name =  `READONLY`
          value = ' ' ).

  • How to Enable/Disable suppressUpload and suppressDownload

    my xml doesnt have this attribute
    how to enable /disable supressUpload and suppressDownload.
    <?xml version="1.0" encoding="utf-8" ?>
    - <MeRepApplication schemaVersion="1.1" id="ZAM_09" version="09">
      <Property name="CLIENT.BUILDNUMBER" />
      <Property name="C_APPLRESOLVE" />
      <Property name="DATA_VISIBLE_SHARED">X</Property>
      <Property name="E_APPLRESOLVE" />
      <Property name="FACADE_C_CLIENT">X</Property>
      <Property name="FACADE_E_CLIENT">X</Property>
      <Property name="HOMEPAGE.INVISIBLE" />
      <Property name="INITVALUE" />
      <Property name="RUNTIME">JSP</Property>
      <Property name="TYPE">APPLICATION</Property>
    - <SyncBO id="ZAM_09" version="2" type="twoWay" allowCreate="false" allowModify="true" allowDelete="false" reqDirectSync="true" downloadOrder="1">
    - <TopStructure name="TOP">
    - <Field name="SYNC_KEY" type="N" length="10" decimalLength="0" signed="false" isKey="true" isIndex="true">
      <Input type="create">false</Input>
      <Input type="modify">false</Input>
      </Field>
    - <Field name="BUKRS" type="C" length="4" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="ANLN1" type="C" length="12" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="ANLN2" type="C" length="4" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <ChildStructure name="010">
    - <Field name="SYNC_KEY" type="N" length="10" decimalLength="0" signed="false" isKey="true" isIndex="true">
      <Input type="create">false</Input>
      <Input type="modify">false</Input>
      </Field>
    - <Field name="BUKRS" type="C" length="4" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="ANLN1" type="C" length="12" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="ANLN2" type="C" length="4" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="KOSTL" type="C" length="10" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="WERKS" type="C" length="4" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="STORT" type="C" length="10" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="TXT50" type="C" length="50" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="TXA50" type="C" length="50" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
      </ChildStructure>
      </TopStructure>
      </SyncBO>
      </MeRepApplication>

    Just adding on to Nameeta's post, there is a supress download checkbox in the advanced setting s link(Settings -> Advanced Settings) on the client, this will supress downloads for all syncbos and not just for any one syncbo. Also there are no tools in the middleware to add these settings, the only way to do this is to modify the xml manually.
    Best Regards,
    Karthik
    Message was edited by:
            Karthik V Setty

  • Does anyone know how to enable/disable a dropdown menu in Forms at runtime?

    Is there a way how to disable/enable dropdown menu for menus that have multiple sub levels in Oracle Forms? I am trying to use the set_menu_item_property function but this takes 'menu.item' format for the first argument. I am trying to enable/disable a menu item in the form of 'menu.item.subitem' and was not able to do it using this function. If anyone knows a different function or method, please reply. I have shown an example below.
    Setup -> Software -> Front Page
    From the above example, I can enable/disable Software using set_menu_item_property function. But, how do I enable/disable the Front Page menu in Oracle forms at runtime?
    Thanks
    Edited by: user480347 on Aug 24, 2010 3:37 PM

    Yes you are on the right track. You need to pass then complete menu name to set_menu_item_property
    Immediate_parent menu.item_name e.g
    For example you have menu like this
    Id like
    A1    A10 > A1010
    Home > Input > Form 1
    A1    A10 > A1020
    Home > Input > Form 2 To disable Form 2 you must pass menu name as
    A10.A1020Hope it helps

  • How to enable/disable button

    Hi,
    i m new to pcui, i got how to hide the button in toolbar group. but could you please guide be how to enable r disable the button which is in toolbar group.
    thanks in advance

    Hi venkat,
    Follow the step, it's example of Lead CRMD_BUS2000108 & View is *ZMSR_RE5 *
    1)     Go to CRMC_PCUITOOLS.
    2)     Go to Analysis Tools -> Determine the Correct Model Access Class.
    3)     Give Application - CRMD_BUS2000108 & View – ZMSR_RE5 & execute.
    4)     Click on New -> MFT Sales (Transaction type)
    5)     Note Toolbar Group - > LEA_SR_50.
    6)     Go to CRMC_BLUEPRINT_C.
    7)     Go to Toolbar Group -> Toolbar Group Structure.
    8)     Give Toolbar Group - LEA_SR_50.
    9)     Search for ZMSR_RE5 Toolbar elements.
    10)     Click on Details.
    11)     Check whether FLAG is Not Set in Exp. Display. Choose Flag set Event has Occurred to Hide the Button.
    it will help u
    On.........................

  • How to Enable/Disable MessageTextInput Read Only property in PFR?

    Dear All,
    When i click on a submit button i need to enable/disable the Read only property of MessageTextInput item.
    Can any one tell me how to do this?
    I am executing the code
    if (pageContext.getParameter("EnableBT") != null) {
    OAMessageTextInputBean beanEmployeeIdCL = (OAMessageTextInputBean)webBean.findIndexedChildRecursive("EmployeeIdCL");
    beanEmployeeIdCL.setReadOnly(false);
    When i used the above code in Process Form Request method it is showing developer mode exception in run time as we can call the above code only in Process Request form.
    Request to please help regarding this.
    Thanks & Regards,
    CAK

    CAK,
    You need to make use of Partial Page Rendering (PPR) & SPELL. Modifying the bean property in PFR is not supported in OAF.
    Refer - PPR section of Devguide for more.
    Regards
    Gyan

  • How to enable / disable SSRS Parameter

    Hi
    I want to enable a parameter called "start date" (type is date) when another (value from dropdown) parameter is selected
    Say for an example, i have below 3 parameters
    1. drop down which 2 values called "vtextbox","vdate"
    2. start (data type is date)
    3. finish (data type is date)
    when i select "vdate"value from the dropdown 2nd and 3rd parameters has to be enable
    similarly when i select "vtextbox" value from the dropdown 2nd and 3rd parameter has to disable
    I have searched many forums every one says this is not possible in report manager interface
    But this is possible in custom code
    please make a note all three parameters are independant
    It would be great if any one provide the custom code for same
    Regards
    Santosh

    Hi itsmesantosh1982,
    According to your description, you want to use a parameter to control enable/disable other two parameters. Right?
    In Reporting Services, when we create a parameter, this parameter has been enabled. The only way you want to disable the parameter is deleting it. In this scenario, disable the two parameter is same as selecting all values in these two parameters. So
    we can just modify the default values in 2nd and 3rd parameter instead of using cascading parameter. We can create a dataset, put in the query below:
    IF @Param='vtextbox'
    select distinct startdate from [table]
    else
    select '[value]'
    The [value] can be any value which is not existing in [table]. So when you select 'vtextbox', the default value will be all values in the table. If you select 'vdate', it will need you to select value automatically because the return value is not existing
    in the table. This can be an effective workaround for your requirement.
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • How to enable /disable a command Button based on a table's selectOne choice

    Hi everyone.
    I am using JDeveloper 10.1.3.3 and wish to enable / disable a commandButton based on the user's selection of the selectOne radio button.
    The idea is that a row of a table may have an associated document so I want to enable or disable the button that downloads it based n the current row selected.
    I have followed the advice on problem with table I defined my selectOne component as follows :
    <af:tableSelectOne text="#{res['tables.selectionFacet.title']}"
        autoSubmit="true"
        attributeChangeListener="#{backing_browseCVs.onSelectionChange}">The function inside the backing bean looks like this
        public void onSelectionChange(AttributeChangeEvent attributeChangeEvent)
            // access the faces context
            FacesContext fc = FacesContext.getCurrentInstance();
            // get value of the expression #{row.hasCVDocument} that indicates
            // if a document has been added
            ValueBinding vb =
                fc.getApplication().createValueBinding("#{row.hasCVDocument}");
            Boolean hasDoc = (Boolean)vb.getValue(fc);
            // enable the doownload button accordingly
            downloadCVDocBtn.setDisabled(!hasDoc);
        }My problem is that the method never fires. I have placed a breakpoint at the first line but it is never reached.
    Any advice will be most welcome.
    Thanassis

    Hi,
    You might need to add 'dataProvider' part in the expression language in your selectionListener:
    #{bindings.CVList.currentRow.[b]dataProvider.hasCVDocument}
    #{bindings.CVList.currentRow} returns an instance of ViewRowImpl which does not have 'getHasCVDocument()' method, but does have:
    Object getCurrentRow()
    method, which returns objects from your CVList list, which do have getHasCVDocument() method...
    Expression language is resolved through reflection, so when you write:
    #{processScope.someClass.someReferencedClass.someAttribute} it is something like:
    Get someClass from processScope map, then:
    someClass.getSomeReferencedClass().getSomeAttribute()
    It's a bit more complex but you get the idea.
    Vladimir

  • Cmfctoolbarcomboboxbutton, how to enable/disable

    Hi,
    I inserted a CMFCToolBarComboBoxButton object in my toolbar. all work fine except enabling and disabling ComboBox according state of my App.
    I used EnableWindow but the control still actived.
    Any idea?
    Tanks.
    My creation code :
    if (wParam == IDR_MAINFRAME24) {
    m_ComboButton = new CMFCToolBarComboBoxButton(ID_MONTH_FILTER, GetCmdMgr()->GetCmdImage(ID_MONTH, FALSE),
    CBS_DROPDOWNLIST);
    CString strMonths, strMonth;
    int i, curPos = 0;
    if (strMonths.LoadStringW(IDS_MONTHS)) {
    i = 1;
    //m_ComboButton->AddItem(_T(""), 0);
    strMonth = strMonths.Tokenize(_T(";"), curPos);
    while (strMonth != _T("")) {
    m_ComboButton->AddItem(strMonth, i);
    strMonth = strMonths.Tokenize(_T(";"), curPos);
    i++;
    m_wndToolBar.ReplaceButton(ID_MONTH, *m_ComboButton);
    CMFCToolBarComboBoxButton * pMonthCombo = CMFCToolBarComboBoxButton::GetByCmd(ID_MONTH_FILTER, FALSE);
    if (pMonthCombo) {
    pMonthCombo->SetCenterVert(false);
    pMonthCombo->SetText(_T("Advanced filter"));
    pMonthCombo->EnableWindow(FALSE);

    Tank you for your help.
    you are right, but a update cammand ui message is not send by CMFCToolBarComboBoxButton object.
    I make a test on my side and mesajflaviu's suggestion really helpful. Using ON_UPDATE_COMMAND_UI macro, I can disable the CMFCToolBarComboBoxButton in the CMFCToolBar. See my test code snippet:
    BOOL m_enable; //use to detect if enable the combo box
    afx_msg void OnUpdateCombo(CCmdUI *pCmdUI);
    ON_UPDATE_COMMAND_UI(IDR_COM, &CMainFrame::OnUpdateCombo)
    void CMainFrame::OnUpdateCombo(CCmdUI *pCmdUI)
    pCmdUI->Enable(m_enable);
    void CMainFrame::OnEditDisable()
    // TODO: Add your command handler code here
    m_enable = FALSE;// use a menuitem to disable the combo box
    ///////create the CMFCToolBarComboBoxButton//////////
    LRESULT CMainFrame::OnToolbarReset(WPARAM wp, LPARAM lp)
    UINT uiToolBarId = (UINT)wp;
    TRACE("CMainFrame::OnToolbarReset : %i\n", uiToolBarId);
    switch (uiToolBarId)
    case IDR_TOOLBAR1:
    m_ComboButton = new CMFCToolBarComboBoxButton(IDR_COM, GetCmdMgr()->GetCmdImage(IDR_COM, FALSE), CBS_DROPDOWNLIST);
    m_ComboButton->EnableWindow(true);
    m_ComboButton->SetCenterVert();
    m_ComboButton->SetDropDownHeight(25);
    m_ComboButton->SetFlatMode();
    m_ComboButton->AddItem(_T("OPTION1"));
    m_ComboButton->AddItem(_T("OPTION2"));
    m_ComboButton->SelectItem(0);
    m_wndToolBar.ReplaceButton(IDR_COM, *m_ComboButton);
    break;
    return 0;
    Check the result screenshot:
    Enable:
    Disable: Color is turning yellow and cannot click
    Best regards,
    Shu
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to enable/disable archive mode from the pfile in oracle 10g?

    hi
    I am using oracle 10g.
    Is there any mechanism to / parameter to enable or disable archive log mode?
    can I enable arching directly from pfile without touching the startup process??
    pls help.
    thnx in advance..

    Please is not in pfile that you enable/disable archive log mode.
    For ENABLE Archivelog mode:
    shutdown immediate
    startup mount
    alter database archivelog;
    alter database open;
    For DISABLE Archivelog mode:
    shutdown immediate
    startup mount
    alter database noarchivelog;
    alter database open;

  • How to enable/disable a button in Photoshop panel?

    Anyone know how you'd create the proper code in a Photoshop extension panel so that certain buttons in the panel could be enabled or disabled dynamically as needed? 

    Hi Sonunew2flex,
    Write one public function in main application file as below...
    // In main application file
    public function changeButtonDisableStatus(bool:Boolean):void
         yourNuutonId.enabled = bool;
    //In your hear renderer do this
    if(cb.selected=true)
       Application.application.changeButtonDisableStatus(true);
    else
       Application.application.changeButtonDisableStatus(false);
    Thanks,
    Bhasker

  • How to enable disabled iphone 5s?

    I know my passcode but my lil son tried many wrong combination it seems and it got disabled. Also he threw my laptop and i lost itunes connectivety too. Now how can i enable it? Please answer asap. TIA

    You'll need to borrow someone else's computer and restore it as new using iTunes. There is no other way to re-enable it.
    ~Lyssa

  • How to enable/disable check boxes in a table.

    hi Gurus,
    i am new to webdynpro for abap.
    the problem i have is.
    i have a table with two columns. first one is a check box column and the second one is a value field. the table is populated with data(second field only) upon pressing some button.
    while populating data i want to make check box field/row ticked and disabled when second field row value is 'X' . if not leave the check box row/field enabled and unticked ( if i want i can tick the check box later). hope you guys me. this is sort of urgent. please reply with some code.
    thanks in advance.
    Sree

    Hi
    Issue what i am facing is,i want to display column of CHECKBOXes in my ALV.
    for that i declare atrribute of type CHECKBOX.
    And i write the following code.
    lr_column_settings ?= l_value.
    lt_columns = lr_column_settings->get_columns( ).
    loop over table - in each loop another column can be modified
    LOOP AT lt_columns INTO ls_column.
    IF ls_column-id = 'CHK_BOX'.
    CREATE OBJECT lr_chk_box
    EXPORTING
    checked_fieldname = ls_column-id.
    lr_chk_box->set_read_only( ABAP_FALSE ).
    lr_chk_box->set_read_only_fieldname( 'ALV_FINAL_STATUS' ).
    ls_column-r_column->set_cell_editor( lr_chk_box ).
    even i cant able to get checkbox in my ALV.
    IT is displaying as general field.
    Regards,
    Ravi

  • How to Enable/Disable/Grey out   fields

    Hello Friends,
    My requirement is to create 3 buttons....by default all should be enabled.when i click on first button other should get disable.....means one at a time.
    I have created 3 attributes of type wdy_boolean...and in button properties ENABLED-- i binded it to corresponding attributes.
    then in Actions i am setting that attributes...i tries as ABAP_TRUE as well as ABAP_FALSE but by default all are coming disabled.
    Can you pls help me out of this.
    Thanks
    Kiran

    in Customizing Transaction SPRO
    goto:
    SAP Solution Manager
    Scenario-Specific Settings
    Change Request Management
    Extended Configuration
    Change Transaction
    Transaction Types
    Partner Schema
    Define Partner Determination Procedure
    >> select your Procedure i.e. ZDHF0001
    goto: "Partner Functions in Procedure"
    change the flags in "Changeable"
    PS: be aware that this might cause other problems to appear.

  • How to enable/disable the listItem in ADF listView in JDEV 11.1.1.7.0

    Hi,
      the requirement is to enable and disable the listItems in a ADF ListView based on a certain flag condition. The listItem has an image and a output text. The listView is set to allow mutiple selections. The var of the listView which is set to row has the conditional flag which evaluates to true or false in in EL #{row.isSelected}.  For the rows that this expression is true I want to disallow the user to select the listItem which has the <af:image> and the <af;outputText>. Also looking for a way to not allow the highlighting of the listItem which shows up on selection.
    Appreciate any pointers for this.
    Thank you.

    Frank,
       Is there a way that we can modify the selection property of the listview to disallow the selection of the listItems which have the boolean flag evaluated to true?. Also wanted to know if skinning of the the component will disallow the highlighting of the listItem to give the visual cue?
    Thank you.

Maybe you are looking for

  • Producer/Consumer Design Pattern with Classes

    I'm starting a new project which involves acquiring data from various pieces of equipment using a GPIB port.  I thought this would be a good time to start using Classes.  I created a GPIB class which contains member data of:  Address, Open State, Err

  • Another iMac Randomly Shutting Down!!

    Hey Everyone. I'm new to the forums, though i've always used them as a resource over the years to learn more or troubleshoot issues. Hopefully, now, someone can help me with mine personally.. :-/ I have an intel 2.8gH Aluminum iMac that I purchased f

  • Idoc status 51 error

    Hi friends, When the inbound idoc is processed my user is getting the following error System error: Error in routine MRM_CHECK_RBKPV -RBKPV-BLART Message no. M8 607 Procedure Contact your system administrator. Can any one help me understand this erro

  • Blank File Info in Bridge 4.05

    Hello I cannot see the info when I right click on a file to get the 'File Info'. A white page opens but it is blank. Any Ideas? Mike Engles

  • Flat file for Sales master

    Hi, can anyone tell meformat for flat file  <a href="http://theblogwhichsaysall.blogspot.com">for</a> transaction va01. I'm using BDC