Skip to content

Conversation

nltd101
Copy link

@nltd101 nltd101 commented Jul 4, 2025

Background:

  • The application creates an outbound call using udp, the lib retries to send via TCP stemming from large size of sip invite message. That 's amazing but it confused the recipient. The recipient recv the msg via TCP while the defined transport in sip message is UDP.
    The below is log of the recipient.
    2025-07-04 11:11:08.308780 nta.c:3329 agent_check_request_via() nta: Via check: invalid transport "SIP/2.0/UDP" from 52.74.182.186:59136

Solution:
I would like to make retry other transport could be configurable from the app. When developer explicitly disables retry, if the message is too large to send via udp, it will return the error. That introduces developer to configure mtu size or change the transport.

@nltd101 nltd101 changed the title [sofia-sip] retry tp programmable [sofia-sip] Make Transport Retry Behavior Configurable Jul 4, 2025
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.

1 participant