Hi everyone I’m new to SIP integration. My code u...
# telephony
f
Hi everyone I’m new to SIP integration. My code used to work fine with Twilio, but it’s not working with the Airtel SIP details. Could you please help me understand how to connect the Airtel SIP trunk with LiveKit?
r
What problem are you having? Do you have a call ID from your dashboard https://cloud.livekit.io/projects/p_/telephony that demonstrates the issue?
f
Hi @refined-appointment-81829 I am getting this issue
Copy code
2025-11-12T23:10:46.770+0530	INFO	sip	sip/outbound.go:573	SIP invite failed	{"nodeID": "NE_U98tz47QJa5f", "sipTrunk": "ST_wKyFAyv38HWY", "callID": "SCL_8igJuTknXs2r", "traceID": "3869674a75546b6e", "room": "my-first-room", "participant": "outbound-caller", "participantName": "Outbound Test Call", "fromHost": "", "fromUser": "+918049129100", "toHost": "10.5.70.3:5060", "toUser": "+918126131525", "jitterBuf": false, "error": "transaction failed to complete (0 intermediate responses)"}
2025-11-12T23:10:46.770+0530	INFO	sip	sip/outbound.go:346	SIP call failed	{"nodeID": "NE_U98tz47QJa5f", "sipTrunk": "ST_wKyFAyv38HWY", "callID": "SCL_8igJuTknXs2r", "traceID": "3869674a75546b6e", "room": "my-first-room", "participant": "outbound-caller", "participantName": "Outbound Test Call", "fromHost": "", "fromUser": "+918049129100", "toHost": "10.5.70.3:5060", "toUser": "+918126131525", "jitterBuf": false, "error": "transaction failed to complete (0 intermediate responses)"}
2025-11-12T23:10:46.770+0530	WARN	sip	sip/outbound.go:292	Closing outbound call with error	{"nodeID": "NE_U98tz47QJa5f", "sipTrunk": "ST_wKyFAyv38HWY", "callID": "SCL_8igJuTknXs2r", "traceID": "3869674a75546b6e", "room": "my-first-room", "participant": "outbound-caller", "participantName": "Outbound Test Call", "fromHost": "", "fromUser": "+918049129100", "toHost": "10.5.70.3:5060", "toUser": "+918126131525", "jitterBuf": false, "reason": "invite-failed"}
2025-11-12T23:10:46.773+0530	INFO	sip	sip/media_port.go:287	media timeout loop stopped	{"nodeID": "NE_U98tz47QJa5f", "sipTrunk": "ST_wKyFAyv38HWY", "callID": "SCL_8igJuTknXs2r", "traceID": "3869674a75546b6e", "room": "my-first-room", "participant": "outbound-caller", "participantName": "Outbound Test Call", "fromHost": "", "fromUser": "+918049129100", "toHost": "10.5.70.3:5060", "toUser": "+918126131525", "jitterBuf": false}
2025-11-12T23:10:46.773+0530	INFO	sip	sip/outbound.go:282	call statistics	{"nodeID": "NE_U98tz47QJa5f", "sipTrunk": "ST_wKyFAyv38HWY", "callID": "SCL_8igJuTknXs2r", "traceID": "3869674a75546b6e", "room": "my-first-room", "participant": "outbound-caller", "participantName": "Outbound Test Call", "fromHost": "", "fromUser": "+918049129100", "toHost": "10.5.70.3:5060", "toUser": "+918126131525", "jitterBuf": false, "stats": {"port":{"streams":0,"packets":0,"packets_ignored":0,"packets_input":0,"mux_packets":0,"mux_bytes":0,"audio_packets":0,"audio_bytes":0,"dtmf_packets":0,"dtmf_bytes":0,"closed":true},"room":{"input_packets":0,"input_bytes":0,"dtmf_packets":0,"mixer_samples":0,"mixer_frames":0,"output_samples":1593600,"output_frames":1660,"closed":true},"mixer":{"tracks":0,"tracks_total":0,"restarts":0,"mixes":1660,"mixes_timed":1590,"mixes_jump":70,"mixes_zero":35,"input_samples":0,"input_frames":0,"mixed_samples":0,"mixed_frames":0,"output_samples":1593600,"output_frames":1660},"closed":true}, "durMin": 0}
2025-11-12T23:10:46.773+0530	INFO	sip	service/service.go:258	SIP call ended	{"nodeID": "NE_U98tz47QJa5f", "callID": "SCL_8igJuTknXs2r", "reason": "invite-failed"}
Error i am getting
Copy code
livekit.api.twirp_client.TwirpError: TwirpError(code=canceled, message=twirp error unknown: transaction failed to complete (0 intermediate responses), status=408)
image.png
r
Is this Self Hosted LiveKit server?
If so probably better to ask in #C07FVFL1H3P. This channel is for LiveKit cloud SIP. I don't know about the self hosted case.
f
@refined-appointment-81829 No its not self hosted . The attached image is of the livekit server not self hosted ,
👍🏼 1
r
Umm, well looking at your log I see you are sending to a private IP address. Why are you sending to an unroutable address?
10.5.70.3
I guess you will need to talk to them about that.
10.x.x.x is not a valid IP range for public networks
f
@refined-appointment-81829 Let me talk to them and ping you again if needed thanks a lot .
r
Good luck
f
@refined-appointment-81829 Hi, I checked with Airtel and here’s the conclusion: Airtel provides a private IP connection that links to the Neron Box (PBX), and all calling is handled through that PBX. The PBX IP is whitelisted only within our local network, so it isn’t accessible publicly. Can you help me understand the right approach to enable outbound calls for our agents? • Do we need to self-host a SIP server? • Or do we need to expose a public IP that the Neron Box can communicate with? Now Neron Box has GUI Interface only we cannt do any change in the Asterisk config and all .