Skip to content

Livkeit SIP Service Testing: Outbound/Inbound Call Events & Statuses #335

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
vlxdisluv opened this issue Apr 16, 2025 · 0 comments
Open

Comments

@vlxdisluv
Copy link

Description
I'm looking for an easy way to connect to a room as a participant for testing purposes in livekit-sip service. The goal is to simulate and verify various SIP events (including error cases) during both outbound and inbound calls.

Background
When I deployed my code to the development stage, I encountered an unhandled scenario where the customer was busy. It would be nice to have a way to simulate this locally and handle it appropriately. The logs below illustrate the unhandled event:

2025-04-14T09:57:59.997Z	INFO	sip	sip/outbound.go:755	auth requested	{"nodeID": "NE_Mr3Xs7TrcUaC", "callID": "SCL_ec3vjkVrWWPq", "room": "outbound-campaign-call:company-id:7bdb1572-2d5d-49a4-9835-3cfea4988ddd:campaign-id:081a67b6-6325-4f86-80c3-e69906d73479:conversation-id:a47ee872-fa3b-4300-86d2-285de2b508bf", "participant": "callee", "participantName": "", "fromHost": "", "fromUser": "+3**", "toHost": "twilio.com", "toUser": "+9***", "sipCallID": "v7YfsH0seGSh3DfieXSlv7X5RALB", "status": 407, "body": ""}
2025-04-14T09:58:01.744Z	INFO	sip	sip/outbound.go:518	SIP invite failed	{"nodeID": "NE_Mr3Xs7TrcUaC", "callID": "SCL_ec3vjkVrWWPq", "room": "outbound-campaign-call:company-id:7bdb1572-2d5d-49a4-9835-3cfea4988ddd:campaign-id:081a67b6-6325-4f86-80c3-e69906d73479:conversation-id:a47ee872-fa3b-4300-86d2-285de2b508bf", "participant": "callee", "participantName": "", "fromHost": "", "fromUser": "+3**", "toHost": "twilio.com", "toUser": "+9***", "error": "INVITE failed: sip status: 486 (BUSY_HERE)"}
2025-04-14T09:58:01.744Z	INFO	sip	sip/outbound.go:294	SIP call failed	{"nodeID": "NE_Mr3Xs7TrcUaC", "callID": "SCL_ec3vjkVrWWPq", "room": "outbound-campaign-call:company-id:7bdb1572-2d5d-49a4-9835-3cfea4988ddd:campaign-id:081a67b6-6325-4f86-80c3-e69906d73479:conversation-id:a47ee872-fa3b-4300-86d2-285de2b508bf", "participant": "callee", "participantName": "", "fromHost": "", "fromUser": "+3**", "toHost": "twilio.com", "toUser": "+9***", "error": "INVITE failed: sip status: 486 (BUSY_HERE)"}
2025-04-14T09:58:01.744Z	INFO	sip	sip/outbound.go:254	Closing outbound call	{"nodeID": "NE_Mr3Xs7TrcUaC", "callID": "SCL_ec3vjkVrWWPq", "room": "outbound-campaign-call:company-id:7bdb1572-2d5d-49a4-9835-3cfea4988ddd:campaign-id:081a67b6-6325-4f86-80c3-e69906d73479:conversation-id:a47ee872-fa3b-4300-86d2-285de2b508bf", "participant": "callee", "participantName": "", "fromHost": "", "fromUser": "+3***", "toHost": "twilio.com", "toUser": "+9***", "reason": "busy"}

Request

  • Are there any recommendations, built-in tools, or best practices in the project for simulating SIP events during local testing?

Any advice or guidance on this topic would be highly appreciated.

Thank you!

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

No branches or pull requests

1 participant