Top

RAINBOW_ONWEBRTCCALLSTATECHANGED does not always emit

Comentários

4 comentários

  • Konrad Hyzy

    Hi, 

    the RAINBOW_ONWEBRTCCALLSTATECHANGED event passes only Call object with all the updates. In order to retrieve the current state of the call, try looking at 'status' property of Call object. 

    I couldn't reproduce the same behavior with the newest SDK version. Call status comes back to {key: 0, value: "Unknown"} as soon as I hang up with one of the users.

    Would you be able to share your code with us? 

     

    Best regards,

    Konrad 

    0
    Ações de comentário Permalink
  • Marc EGOLF

    Hi Konrad,

    Thanks for your answer.

    Did you reproduce it exactly how I described above? Only when you follow this exact scenario you should be able to recreate my issue.

    As you see in my code below I retrieve the call status and create a console log. This works perfectly in every scenario except in the one I described in my first post.

     

    Best Regards,
    Marc

    0
    Ações de comentário Permalink
  • Konrad Hyzy

    Hi Marc,

    so just to make sure, you have two users: one (let's call him user A) is using CPaaS app (a third party app using Rainbow Web SDK), the other is using our UCaaS web client (user B)

    The scenario is as follows:

    1. A calls B

    2. B answers the call

    3. B hangs up

    4. A stays busy despite being effectively disconnected from the call

    Please confirm whether or not I am right so I can proceed with the tests. 

     

    Thanks in advance,

    Konrad

    0
    Ações de comentário Permalink
  • Marc EGOLF

    Hi Konrad

    Yes this is exactly the case.

     

    Best Regards,
    Marc

    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