Skip to content

Set route set for 18x with to tag#47

Merged
shenjinti merged 2 commits intorestsend:mainfrom
yeoleobun:patch1
Nov 26, 2025
Merged

Set route set for 18x with to tag#47
shenjinti merged 2 commits intorestsend:mainfrom
yeoleobun:patch1

Conversation

@yeoleobun
Copy link
Collaborator

fix #44

According RFC 3261:

12.1.2 UAC Behavior

When a UAC receives a response that establishes a dialog, it
constructs the state of the dialog. This state MUST be maintained
for the duration of the dialog.

13.2.2.1 1xx Responses

Provisional responses for an
INVITE request can create "early dialogs". If a provisional response
has a tag in the To field, and if the dialog ID of the response does
not match an existing dialog, one is constructed using the procedures
defined in Section 12.1.2.

Early dialog should count as dialog, which created by 180/183 with to tag. Should also the route set from Record-Route header.


12.1.2 UAC Behavior

If no Record-Route header field is present in the
request, the route set MUST be set to the empty set.

so I remove the predication:

        if new_route_set.is_empty() {
            return;
        }

@shenjinti shenjinti merged commit e1e76d0 into restsend:main Nov 26, 2025
3 checks passed
@yeoleobun yeoleobun deleted the patch1 branch November 27, 2025 04:03
FedorKiselev76 pushed a commit to FedorKiselev76/rsipstack that referenced this pull request Dec 28, 2025
Set route set for 18x with to tag
yeoleobun pushed a commit to yeoleobun/rsipstack that referenced this pull request Dec 29, 2025
fix(tts): update doc and tts options
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.

Record-Route not handled correctly in later requests

2 participants