Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WS event not match with SIP event #98

Open
tan2607 opened this issue Jan 8, 2025 · 2 comments
Open

WS event not match with SIP event #98

tan2607 opened this issue Jan 8, 2025 · 2 comments

Comments

@tan2607
Copy link

tan2607 commented Jan 8, 2025

We try to use websocket event to detect answer call from client ( client pick-up the phone or SIP 200 OK)

  • The manual call is fine.
  • The Originate or the other ( power dialing mode and predictive mode) not working, the "Confirm" event happen after Tinyphone get the SIP event from PBX.
    ==> The question is there anyway to detect the SIP event? ( I had checked the log can see the detail of SIP event but ws cannot)
@kingster
Copy link
Member

kingster commented Jan 8, 2025

Hi

Can you explain what do you mean by

Originate or the other ( power dialing mode and predictive mode) not working

Maybe you can provide a sip trace/ sequence to help explain the problem a little more?

The question is there anyway to detect the SIP event

This is something I will check and get back. If pjsua offers a callback for these events then it should be possible.

@tan2607
Copy link
Author

tan2607 commented Jan 9, 2025

Hi,
Thank for your quick response, appreciate it!
I would like to describle via dial flow below:
This is websocket event for manual dialing
image
This is websocket event for Originate/AMI call ( Call trigger by 3rd application not by agent)
image
So we found that the "CONFIRM" event not acctually matching when the customer/client answer the call.

Problem : we cannot detect for some frontend services ( counting duration from Answer or display some function in webphone like hold or dialpad button)
Please lets me know if you need sip packet or wireshark capture regardign this.
09-01-2025-tinyphone.zip
I already send the log file as well.
Expected : Tinyphone can really check the SIP signnalling ( Answer, No Answer, Busy,...)
Kindly help to check.
Thanks a lot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants