Skip to content

DUPLICATE_IDENTITY Cancel Outbound Call #426

@BisarOmer

Description

@BisarOmer

Hello, i am implementing outbound call, DUPLICATE_IDENTITY make livekit send cancel, it would immediately disconnect the sip connection.

my question is, it is a good way to handle DUPLICATE_IDENTITY in an outbound call? i think the call should be continue and do not let the second user join, not terminating the call.

sip	[email protected]/engine.go:666	server initiated leave	{"nodeID": "NE_MrRr4bJymkQF", "sipTrunk": "ST_i8ncqYBaz3ry", "callID": "SCL_jzRVSBwJuacs", "room": "outbound-call", "participant": "", "participantName": "", "fromHost": "", "fromUser": "", "toHost": "", "toUser": "", "reason": "DUPLICATE_IDENTITY", "canReconnect": false}

sip	sip/outbound.go:392	SIP invite failed	{"nodeID": "NE_MrRr4bJymkQF", "sipTrunk": "ST_i8ncqYBaz3ry", "callID": "SCL_jzRVSBwJuacs", "room": "outbound-call", "participant": "", "participantName": "", "fromHost": "", "fromUser": "", "toHost": "", "toUser": "", "error": "canceled"}

sip      | 2025-07-30T10:44:56.576Z	WARN	sip	sip/outbound.go:174	Closing outbound call with error	{"nodeID": "NE_MrRr4bJymkQF", "sipTrunk": "ST_i8ncqYBaz3ry", "callID": "SCL_jzRVSBwJuacs", "room": "outbound-call", "participant": "", "participantName": "", "fromHost": "", "fromUser": "", "toHost": "", "toUser": "", "reason": "invite-failed"}

sip      | 2025-07-30T10:44:56.576Z	INFO	sip	sip/outbound.go:129	SIP call failed	{"nodeID": "NE_MrRr4bJymkQF", "sipTrunk": "ST_i8ncqYBaz3ry", "callID": "SCL_jzRVSBwJuacs", "room": "outbound-call", "participant": "", "participantName": "", "fromHost": "", "fromUser": "", "toHost": "", "toUser": "", "error": "update SIP failed: canceled"}
Image

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