Open tricksterANDthug opened 4 days ago
the inbound call closed, the reason is :
2024-09-14T02:15:25.857Z INFO sip sip/inbound.go:310 Accepting the call {"nodeID": "NE_hPup8kFnonq5", "callID": "SCL_9UV5pudbiyaM", "fromIP": "54.172.60.3:5060", "toIP": "107.20.81.147:5060", "fromHost": "pstn.twilio.com", "fromUser": "+18555776268", "toHost": "107.20.81.147", "toUser": "+14707983338", "sipTag": "56990935_c3356d0b_c77df368-f2b4-4681-915e-a871049154d8", "twilioAccSID": "AC27d0f564dd33eac4e94edbfa4f827ac8", "twilioCallSID": "CA9042edbd13d7ec0530d028907eb3b21d", "sipTrunk": "ST_fDB9PEvwg8tV", "sipRule": "SDR_imWRwWQK746t", "room": "call-_+18555776268_bS8EDHvyD4ob", "participant": "sip_+18555776268", "participantName": "Phone +18555776268"}
2024-09-14T02:15:26.009Z DEBUG sip v2@v2.2.1-0.20240726160203-3f7f396734c3/engine.go:393 received offer for subscriber {"nodeID": "NE_hPup8kFnonq5", "callID": "SCL_9UV5pudbiyaM", "fromIP": "54.172.60.3:5060", "toIP": "107.20.81.147:5060", "fromHost": "pstn.twilio.com", "fromUser": "+18555776268", "toHost": "107.20.81.147", "toUser": "+14707983338", "sipTag": "56990935_c3356d0b_c77df368-f2b4-4681-915e-a871049154d8", "twilioAccSID": "AC27d0f564dd33eac4e94edbfa4f827ac8", "twilioCallSID": "CA9042edbd13d7ec0530d028907eb3b21d"}
2024-09-14T02:15:26.016Z INFO sip v2@v2.2.1-0.20240726160203-3f7f396734c3/remoteparticipant.go:119 track subscribed {"nodeID": "NE_hPup8kFnonq5", "callID": "SCL_9UV5pudbiyaM", "fromIP": "54.172.60.3:5060", "toIP": "107.20.81.147:5060", "fromHost": "pstn.twilio.com", "fromUser": "+18555776268", "toHost": "107.20.81.147", "toUser": "+14707983338", "sipTag": "56990935_c3356d0b_c77df368-f2b4-4681-915e-a871049154d8", "twilioAccSID": "AC27d0f564dd33eac4e94edbfa4f827ac8", "twilioCallSID": "CA9042edbd13d7ec0530d028907eb3b21d", "participant": "agent-AJ_nBnKuySLkpKX", "track": "TR_AM9DBHfVWfuUtU", "kind": "audio"}
2024-09-14T02:16:10.249Z WARN sip sip/inbound.go:510 Closing inbound call with error {"nodeID": "NE_hPup8kFnonq5", "callID": "SCL_9UV5pudbiyaM", "fromIP": "54.172.60.3:5060", "toIP": "107.20.81.147:5060", "fromHost": "pstn.twilio.com", "fromUser": "+18555776268", "toHost": "107.20.81.147", "toUser": "+14707983338", "sipTag": "56990935_c3356d0b_c77df368-f2b4-4681-915e-a871049154d8", "twilioAccSID": "AC27d0f564dd33eac4e94edbfa4f827ac8", "twilioCallSID": "CA9042edbd13d7ec0530d028907eb3b21d", "sipTrunk": "ST_fDB9PEvwg8tV", "sipRule": "SDR_imWRwWQK746t", "room": "call-_+18555776268_bS8EDHvyD4ob", "participant": "sip_+18555776268", "participantName": "Phone +18555776268", "reason": "media-timeout"}
2024-09-14T02:16:10.250Z INFO sip sip/inbound.go:524 Inbound call closed {"nodeID": "NE_hPup8kFnonq5", "callID": "SCL_9UV5pudbiyaM", "fromIP": "54.172.60.3:5060", "toIP": "107.20.81.147:5060", "fromHost": "pstn.twilio.com", "fromUser": "+18555776268", "toHost": "107.20.81.147", "toUser": "+14707983338", "sipTag": "56990935_c3356d0b_c77df368-f2b4-4681-915e-a871049154d8", "twilioAccSID": "AC27d0f564dd33eac4e94edbfa4f827ac8", "twilioCallSID": "CA9042edbd13d7ec0530d028907eb3b21d", "sipTrunk": "ST_fDB9PEvwg8tV", "sipRule": "SDR_imWRwWQK746t", "room": "call-_+18555776268_bS8EDHvyD4ob", "participant": "sip_+18555776268", "participantName": "Phone +18555776268", "reason": "media-timeout"}
there are no restrictions from our side.
@tricksterANDthug you may notice the "reason": "media-timeout"
in the logs. This indicates that LiveKit SIP received no media packets from remote server. This usually means that there's a firewall issue. Please make sure all media ports are open (by default: 10000-20000
, UDP).
Hello, I have set up the corresponding services on an AWS EC2 server, including LiveKit server, LiveKit SIP, and Voice Agent. After testing, calls from China can be successfully connected, but calls from the U.S. cannot. Could you please confirm if there are any restrictions on U.S. calls with STIR/SHAKEN ratings of A, B, or C?