locked
UCCP CreateSession = Exception from HRESULT: 0x80EE0061 RRS feed

  • Question

  • I have modified the HootAndHollerSample with a button that calls the following code.

     

    // Create the sip endpoint and advise for endpoint events

    this.endpoint = this.platform.CreateEndpoint(this.txtUri.Text, null, null);

     

    Utilities.Advise<_IUccEndpointEvents>(this.endpoint, this);

     

    IUccSessionManager sm = (IUccSessionManager)this.endpoint;

     

    IUccSession session = sm.CreateSession(UCC_SESSION_TYPE.UCCST_AUDIO_VIDEO, null);

     

    Utilities.Advise<_IUccSessionEvents>(session, this);

     

    //Advise<_IUccAudioVideoSessionEvents>(session, this);

     

    Utilities.Advise<_IUccSessionParticipantCollectionEvents>(session, this);

     

    The code fails with "Exception from HRESULT: 0x80EE0061". I don't understand why.

     

    I have already signed-in to OCS 2007  successfully.

     

    Can anyone shed some light on why the CreateSession method would be failing? It doesn't appear to matter what type of session it is.

     

    Thanks.

    Wednesday, March 5, 2008 12:06 AM