{"id":50343107,"url":"https://github.com/frejun-tech/teler-livekit-outbound","last_synced_at":"2026-05-29T18:30:29.295Z","repository":{"id":351470679,"uuid":"1162501627","full_name":"frejun-tech/teler-livekit-outbound","owner":"frejun-tech","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-15T05:12:45.000Z","size":816,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-29T18:30:28.762Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/frejun-tech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-20T10:41:55.000Z","updated_at":"2026-04-15T05:12:49.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/frejun-tech/teler-livekit-outbound","commit_stats":null,"previous_names":["frejun-tech/teler-livekit-outbound"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/frejun-tech/teler-livekit-outbound","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frejun-tech%2Fteler-livekit-outbound","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frejun-tech%2Fteler-livekit-outbound/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frejun-tech%2Fteler-livekit-outbound/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frejun-tech%2Fteler-livekit-outbound/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frejun-tech","download_url":"https://codeload.github.com/frejun-tech/teler-livekit-outbound/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frejun-tech%2Fteler-livekit-outbound/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33666290,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-05-29T18:30:29.221Z","updated_at":"2026-05-29T18:30:29.281Z","avatar_url":"https://github.com/frejun-tech.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LiveKit Outbound Calling (Frejun-Teler SIP)\n\nSimple plug-and-play outbound calling using:\n\n* LiveKit Cloud (Agent created via UI)\n* Frejun Teler SIP Trunk\n* Python script\n\n---\n\n## What is Teler?\n\nTeler is a programmable voice API by FreJun. It handles carriers, phone numbers, and real-time audio streaming so you can connect AI models directly to phone calls. → [frejun.ai](https://frejun.ai)\n\n---\n\n## Prerequisites\n\nBefore running:\n\n* LiveKit Cloud project\n* Agent created \u0026 deployed in LiveKit UI\n* SIP outbound configured in LiveKit\n* Frejun-teler SIP trunk created\n* LiveKit API Key + Secret\n* SIP trunk ID\n\nyou can setup your SIP trunk with Teler and Livekit by following the [Guide.](LiveKit_Cloud_Frejun_SIP_Integration_Guide.pdf)\n\n---\n\n## Setup\n\n### 1️⃣ Clone Repository\n\n```bash\ngit clone https://github.com/frejun-tech/teler-livekit-outbound.git\ncd livekit-outbound\n```\n\n---\n\n### 2️⃣ Install Dependencies\n\n```bash\npip install -r requirements.txt\n```\n\n---\n\n### 3️⃣ Configure Environment Variables\n\nCreate a env file by copying the `.env.example` file to `.env`:\n\n```bash\ncp .env.example .env\n```\n\nIt shoudl look like this : \n```env\nLIVEKIT_URL=wss://your-project.livekit.cloud\nLIVEKIT_API_KEY=your_livekit_api_key\nLIVEKIT_API_SECRET=your_livekit_api_secret\n\nSIP_TRUNK_ID=your_sip_trunk_id\nSIP_CALL_TO=your_number_with_country_code\n\nROOM_NAME=Teler-livekit-call-room\nAGENT_NAME=your_agent_name\n```\n\nonce the env file has been created you can now fill in the details for your test run.\n---\n\n## Running an Outbound Call\n\nInside the `.env` file\n\nmake sure the details are correct, assign the SIP_CALL_TO with the number you want to call\nand then run the main file, either directly from the IDE or the terminal/cmd using : \n\nReplace the number with the destination number in E.164 format.\n\n```bash\npython main.py\n```\n\n\n---\n\n## Important (Cold Start Handling)\n\nIf your LiveKit Agent shows **Pending**, first call may connect but agent may not respond or might take around 30 seconds.\n\nFix:\n\n* Ensure agent is deployed\n* Make one warm-up call\n* Or redeploy agent from UI if stuck\n\nIf issue persists, verify:\n\n* Agent is Active in LiveKit dashboard\n* SIP trunk ID is correct\n* Agent name matches deployed agent\n\n---\n\n## Common Errors\n\n**Call connects but agent silent**\n\n* Agent in Pending state\n* Agent not deployed\n* Wrong Agent name\n* Wrong SIP trunk ID\n\n**401 / 403 errors**\n\n* Invalid API key/secret\n* SIP authentication mismatch\n\n---\n[MIT License Copyright (c) 2026 FreJun](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrejun-tech%2Fteler-livekit-outbound","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrejun-tech%2Fteler-livekit-outbound","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrejun-tech%2Fteler-livekit-outbound/lists"}