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

[mod_sofia] Fix sip_invite_to_uri without host #1791

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

greenbea
Copy link
Contributor

@greenbea greenbea commented Sep 2, 2022

sofia_outgoing_channel() sets the tech_pvt->dest_to and handles if sip_invite_to_uri doesn't have the host part in it, but that was being overwritten in sofia_glue_do_invite that sets the to_str to the sip_invite_to_uri and overwrites the tech_pvt->dest_to

technically the whole ternary isn't needed as tech_pvt->dest_to is already being set in sofia_outgoing_channel and tech_pvt->dest_to will have the value of sip_invite_to_uri if it's set on the channel

`sofia_outgoing_channel()` sets the `tech_pvt->dest_to` and handles if sip_invite_to_uri doesn't have the host part in it, but that was being overwritten in `sofia_glue_do_invite` that sets the to_str to the sip_invite_to_uri and overwrites the `tech_pvt->dest_to`
@briankwest
Copy link
Collaborator

The only thing I could see this interacting with is sofia_recovery_callback, but that should be checked/re-tested to be sure.

@greenbea greenbea closed this Jun 21, 2024
@greenbea greenbea deleted the patch-16 branch June 21, 2024 18:14
@greenbea greenbea restored the patch-16 branch June 21, 2024 22:46
@greenbea
Copy link
Contributor Author

was closed by mistake

@greenbea greenbea reopened this Jun 21, 2024
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

Successfully merging this pull request may close these issues.

2 participants