Skip to content

VoIPMediaSession - send SIP OPTIONS periodically to keep the connection #951

@ydan87

Description

@ydan87

Hi there,
I have a server that uses SIPSorcery to connect to Twilio and initiate calls by creating VoIPMediaSession instance.
I'm experiencing sometimes issues that some SIP requests (mostly BYEs) don't arrive to the destination resulting some "retransmits" that also never suceeds.
In Twilio I found the following information:
image

How can I use VoIPMediaSession to periodically send SIP OPTIONS to Twilio so they won't close my connections? I saw an example regarding RTSP clients but not VoIPMediaSessions...

Thanks in advance...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions