Top

Presence change event

Comentários

11 comentários

  • Vincent BERDER

    Hello,

     

    You should see a "busy" state on the Rainbow client and in the rainbow node sdk you have an event rainbow_onpresencechanged.

    For example :

    019-5-10 15:55:25 [1557496525897] - debug: vincent01 - EVENTS - (publishEvent) param 0 for event rainbow_onpresencechanged data : { fulljid:
    'tel_xxxx@openrainbow.com/phone',
    jid:
    'xxxx@openrainbow.com',
    resource: 'phone',
    status: 'chat',
    message: 'EVT_ESTABLISHED',
    type: 'phone' }

     

    So it looks to be a bad configuration.

    You should note that the PBX has to be connected to rainbow, and that the rainbow user should be associeted to a phoneset in this PBX (system in rainbow config).

     

    Regards,

    Vincent.

    0
    Ações de comentário Permalink
  • Josep Mª Mor Vals

    Hi,

    In fact, we are not using the onPresenceChaged event, but we use the onContactPresenceChanged event (because it is triggered when the presence of a contact changes).

    The fact is that the presence is set to 'unknown' if we consult it from the Rainbow cli, and there is no event received on  the app we have developed (all other events are correctly received but phone calls).

    Regards,

     

    Josep Mª

    0
    Ações de comentário Permalink
  • Vincent BERDER

    Hello,

     

    Ok, so let me describe the use case to see if i understood.

    Alice is your account logged in the node sdk to listen the "onContactPresenceChanged" event.

    Bob is a user with the OXO link.

    Your need is to follow from Alice the Presence of Bob.

    And then you do not received the Bob presence status when he is talking with he OXO phone.

     

    Did i undserstood your issue ?

     

    Vincent.

     

    0
    Ações de comentário Permalink
  • Josep Mª Mor Vals

    Yes, this is exactly my issue.

    All presence changes are working ok (both Rainbow Client and Node App), except talking with OXO phone (unknown presence on Rainbow Client, no event on Node App).

    0
    Ações de comentário Permalink
  • Vincent BERDER

    So Here some news :

    * You need to add in Alice roster's the bob contact to receive events about PBX telephony state (busy...). You can add a contact in the roster from node SDK with contacts::addToContactsList .

    Or you can to do it from web UI (The (+) icon 'invite to join your network').

    * Then you will see the busy state for bob in the Web Client when logged in with Alice.

    Current issue :

    The SDK also do not yet treat these received events. So you can only verify it on UI for now :(.

    Vincent.

    0
    Ações de comentário Permalink
  • Josep Mª Mor Vals

    Hi Vincent,

    Have tried to invite contacts from web UI, but can't (they are part of our company, ans a message appears saying the it's on our contact list).

    We have developed this app and it's ready to production. Before starting we made a query asking how to carry on the development, and they explained this way to do it.

    My customer is waiting, will be possible to catch this events? And if this will be possible, when is expected to be available?

    Thanks.

    0
    Ações de comentário Permalink
  • Josep Mª Mor Vals

    Hi Vincent.,

    Is there any news on the subject that concerns us?

    Tanks,

    0
    Ações de comentário Permalink
  • Vincent BERDER

    Hello,

     

    With the informations you give us, you should receive presence on the UI. So do you have some informations (user login, company) And log, that the support can analyse to find the issue.

    And for the event treatment in Rainbow Node SDK, we are evaluating the developpement needed to be done.

    BR,

    Vincent.

    0
    Ações de comentário Permalink
  • Josep Mª Mor Vals

    Hi Vincent,

    Is this happening maybe because I'm using the rainbow-node-sdk, not rainbow-web-sdk?

    0
    Ações de comentário Permalink
  • Vincent BERDER

    Hello Josep,

     

    I delivered a version 1.57.1 which fix the issue of the missing event "rainbow_oncontactpresencechanged" when a contact in the roster is on phone.

    Please can you do your tests with this version ?

     

    Regards,

    Vincent.

    0
    Ações de comentário Permalink
  • Josep Mª Mor Vals

    I tried to update rainbow-node-sdk, this is what I get

    PS C:\Program Files (x86)\ondaraRainbowService> npm update --save rainbow-node-sdk
    npm WARN presence-history@0.0.1 No repository field.
    npm WARN presence-history@0.0.1 No license field.

    Is this ok?

    0
    Ações de comentário Permalink

Por favor, entrar para comentar.

Ainda não consegue encontrar o que você precisa?

  • Contate-nos

    Você tem alguma pergunta sobre o Rainbow? Deixe-nos uma mensagem para obter mais informações.

    Contato
  • Pergunte à Comunidade

    Você precisa de ajuda? Faça suas perguntas na Comunidade para obter respostas de outros usuários do Rainbow.

    Enviar mensagem