-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[1.x] Wrong username after receiving an atttended transfer (Sip Plugin) #3482
Comments
You mean in the demo UI, or in the events the plugin sends from that point on? |
As a side note, call transfers envisage separate handles (typically with helper sessions in the SIP plugin). As such, even when you are transferred, as far as the plugin is concerned that's an entirely new call on a separate resource (the previous call is closed). This means that we don't reuse callers/callees I think. |
In our own application we use "autoaccept_reinvites": false, if we receicve an attended transfer we just get the 'updatingcall' event with a reinvite from the plugin |
I'm not sure I understand. Transfers are done via the You can find more info in #1815, which is the PR where we first added support for transfers. I also made a presentation (video here) that should help better understand the process. |
We only get an "update" event via the websocket, not a new call on a helper session. We currently initialize the attended transfer directly using the app client of our phone-system 3cx. We also implement helper sessions to accept calls using the replace attribute. I am currently not sure if I've configured janus incorrectly or if its a behaviour of our phone system. The audio does get transferred correctly, just the user- and displayname seem to be wrong. |
What version of Janus is this happening on?
version: 1.3.0
commit: dfd86e3
Have you tested a more recent version of Janus too?
No, most recent release
Was this working before?
No, also broken on 1.2.2
Is there a gdb or libasan trace of the issue?
Additional context
If someone someone is being transfered to you via attended transfer, the username and displayname are not being updated to the now current callee. I guess the problem lies within janus_sip.c somewhere near line 5445, the callee never gets updated there.
Is this the intended behaviour?
The text was updated successfully, but these errors were encountered: