freeswitch icon indicating copy to clipboard operation
freeswitch copied to clipboard

[mod_sofia] Fix sip_invite_to_uri without host

Open greenbea opened this issue 3 years ago • 2 comments
trafficstars

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

greenbea avatar Sep 02 '22 18:09 greenbea

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

briankwest avatar Sep 06 '22 16:09 briankwest

was closed by mistake

greenbea avatar Jun 21 '24 22:06 greenbea