Bridge Mode Error

Version 1
    This document was generated from CDN thread

    Created by: yogesh kumar on 16-09-2013 04:25:40 AM
    Hi,
    I am trying to run my application in Bridge mode. Mask I have used in openreq:
    Version 12
    ServiceRequested:  0x42096 (also tried 0x10)
     
     
    I am getting the error:
    EventType: FAILURE_CONF
    Text: CSInboundMsgProcessor: contains agent id or ext in bridge mode
     
    Even though the user credentials are of supervisor and when I use supervisor desktop I can do all supervisory stuff.
    Is service mask wrong or we have to make changes on UCCX configuration 

    I have  one more doubt. In supervisor desktop I don’t want to have call controls. So I don’t want to use Extension on the time of login. How do I authenticate it without using Extension?
    shall I set callMsgMask, AgentStateMask and ConfigMsgMask to be  0x00

    Subject: RE: Bridge Mode Error
    Replied by: Sergei Novitsky on 16-09-2013 08:27:23 AM
    yogesh kumar:
    Hi,
    I am trying to run my application in Bridge mode. Mask I have used in openreq:
    Version 12
    ServiceRequested:  0x42096 (also tried 0x10)
     
     
    I am getting the error:
    EventType: FAILURE_CONF
    Text: CSInboundMsgProcessor: contains agent id or ext in bridge mode
     
    Even though the user credentials are of supervisor and when I use supervisor desktop I can do all supervisory stuff.
    Is service mask wrong or we have to make changes on UCCX configuration 

    I have  one more doubt. In supervisor desktop I don’t want to have call controls. So I don’t want to use Extension on the time of login. How do I authenticate it without using Extension?
    shall I set callMsgMask, AgentStateMask and ConfigMsgMask to be  0x00
    For the Bridge mode, leave Agent ID and Extension blank/empty (the error above indicates this). For the ServiceRequested mask, in addition to CTI_SERVICE_ALL_EVENTS (0x10), you might also want to add CTI_SERVICE_CLIENT_CONTROL, CTI_SERVICE_CALL_DATA_UPDATE and/or CTI_SERVICE_SUPERVISOR. The end mask depends on what functionality you want to control. Good luck!

    Subject: RE: Bridge Mode Error
    Replied by: yogesh kumar on 17-09-2013 12:09:07 AM
    I am able to get open conf message and I am also getting agent state events in my application. Now I am having issue with authentication. How do I authentication the resource. Even if I use wrong credentials..I am still getting all the events. I only want to get these events only for valid supervisor. 

    Subject: RE: Bridge Mode Error
    Replied by: Sergei Novitsky on 17-09-2013 08:25:06 AM
    yogesh kumar:
    I am able to get open conf message and I am also getting agent state events in my application. Now I am having issue with authentication. How do I authentication the resource. Even if I use wrong credentials..I am still getting all the events. I only want to get these events only for valid supervisor. 
    Regardless of the mode (Bridge or Client), no authentication is being performed on the server side. In other words, you can have pretty much any data in the Client ID and Client PW parameters. Client ID might be helpful for the identification of your app in the server logs if you need that (multiple concurrent clients connected to the server). But there is no authentication in the OPEN_REQ.

    Subject: RE: Bridge Mode Error
    Replied by: yogesh kumar on 17-09-2013 05:37:13 PM
    I need further help in this. If I can not validate through open_req then what options do I have. I need to have some authentication mechanism for the supervisor application

    And also one more doubt. Application cannot run in hybrid mode. As running application as agent as well as supervisor. Then does it mean it has to be two different app for agent and supervisor? And when I write application functionality for barge-in and intercept. Then how do I do it? Then I will require agent id and extension in open_req?
    Its little confusing for me.  Appreciate the help. 

    Subject: RE: Bridge Mode Error
    Replied by: Sergei Novitsky on 18-09-2013 07:55:18 PM
    yogesh kumar:
    I need further help in this. If I can not validate through open_req then what options do I have. I need to have some authentication mechanism for the supervisor application

    And also one more doubt. Application cannot run in hybrid mode. As running application as agent as well as supervisor. Then does it mean it has to be two different app for agent and supervisor? And when I write application functionality for barge-in and intercept. Then how do I do it? Then I will require agent id and extension in open_req?
    Its little confusing for me.  Appreciate the help. 
    OPEN_REQ does not offer an authentication, so if you need one, you'd have to implement it in your app/front-end. For the second question, did you try running your client app in Bridge mode (this way you'll get events for all agents/devices), and set the ServiceRequested mask so it would have Supervisor control capabilities? Without testing, it's hard to say if that's the best possible approach, but that's what I'd start with.

    Subject: RE: Bridge Mode Error
    Replied by: simon atkins on 19-09-2013 03:17:01 AM
    Sergei, I've been reading these posts with interest and have a question about bridge-mode, since it came up.  Is there something specific you have to do to 'put' your app into bridge mode? I am currently trying to create a bridge mode application and from all the docs the way I believe is just to set ServicesRequested to 0x10 and open up the call and agent mask wide open during the OPEN_REQ request.  Is there anything else one needs to do?  At the moment all I get are SYSTEM EVENTS, HEARBEAT and AGENT_PRECALL EVENTS.

    many thanks
    Simon

    Subject: RE: Bridge Mode Error
    Replied by: David Seeba on 19-09-2013 09:57:07 AM
    Simon,

    All you need to do is set ServicesRequested to 0x10. What are CallMsgMask, AgentStateMask, ConfigMsgMask set to?

    --Dave

    Subject: RE: Bridge Mode Error
    Replied by: David Seeba on 19-09-2013 10:54:44 AM
    Looking at the list of masks in the 9.0 documenation, I would think CallMsgMask should be 0x65eff and the AgentStateMask should be 0x1ff.

    Not sure if that would cause the problem.

    --Dave

    Subject: RE: Bridge Mode Error
    Replied by: simon atkins on 19-09-2013 10:34:53 AM
    David Seeba:
    Simon,

    All you need to do is set ServicesRequested to 0x10. What are CallMsgMask, AgentStateMask, ConfigMsgMask set to?

    --Dave

    Thanks David, that's what I thought. My callmask is set to 0x7ffff (all call events) and agent mask is 0x3ff (all state events) and config 0x1f
    Interestingly the PeripheralType coming back in the OPEN_CONF is 0x11=17=Enterprise Agent Manager.  I was expecting it to be a switch. I wonder if this is the problem? 

    Subject: RE: Bridge Mode Error
    Replied by: Sergei Novitsky on 19-09-2013 11:28:54 AM
    simon atkins:
    Sergei, I've been reading these posts with interest and have a question about bridge-mode, since it came up.  Is there something specific you have to do to 'put' your app into bridge mode? I am currently trying to create a bridge mode application and from all the docs the way I believe is just to set ServicesRequested to 0x10 and open up the call and agent mask wide open during the OPEN_REQ request.  Is there anything else one needs to do?  At the moment all I get are SYSTEM EVENTS, HEARBEAT and AGENT_PRECALL EVENTS.

    many thanks
    Simon
    Simon - Yes, ServiceRequested should be set to 0x10 for the Bridge mode. I also add CTI_SERVICE_CLIENT_CONTROL + CTI_SERVICE_CALL_DATA_UPDATE + CTI_SERVICE_SUPERVISOR to it. For the other masks, try this:
    CRS_UINT unCallMsgMask = 0xffffffff;
    CRS_UINT unAgentStateMask = 0x1 + 0x2 + 0x4 + 0x8 + 0x10 + 0x20 + 0x40 + 0x80 + 0x100; // of course you could also just use the total result value CRS_UINT unConfigMsgMask = 0;  Nothing for Agent EXT, ID, and PW. After that (assuming you are getting expected OPEN_CONF), you should be getting events for all the devices/agents.

    Subject: RE: Bridge Mode Error
    Replied by: Peter Jenkins on 19-09-2013 05:27:50 PM
    I have just started writing an application using UCCXCTI for our company and I am finding these posts very helpful. Thank you.