has anybody faced the issue with Exotel + Livekit ...
# telephony
f
has anybody faced the issue with Exotel + Livekit for inbound? I just did a session with Exotel team, and we wanted to do the inbound call, they said that Livekit is not returning the 200 response due which exotel is not triggering it
@refined-appointment-81829 can you help me here? this is my PCAP
r
A quick glance at the INVITE in packet 1 and 2 The
TO
in the PCAP is not correct.
✅ 1
Also, I look at which trunk you are likely using on the LiveKit side and I do not see any dispatch rule for that trunk.
✅ 1
f
thanks man, also to solve this we have also approached the support team for other stuffs including this one. if there any thing you need from me to solve this here? please let me know, I have again tried this today but not solved
r
Did you already add a dispatch rule or have not gotten to that yet? You will need that before it will work
f
I have already created the inbound trunk from the Livekit Cloud Console. then tried to trigger the phone call
this is my json, info changed for privacy reasons:
Copy code
{
  "sipTrunkId": "ST_bNPiF6XXSSDS",
  "name": "extol",
  "numbers": [
    "+91XXXXXXXXXX"
  ],
  "krispEnabled": true
}
dispatch rule:
Copy code
{
  "sipDispatchRuleId": "SDR_jWyusFRXXX",
  "rule": {
    "dispatchRuleIndividual": {
      "roomPrefix": "call-"
    }
  },
  "trunkIds": [
    "ST_9fez7QqcqSSS"
  ],
  "name": "inbound rule for exotel",
  "roomConfig": {
    "agents": [
      {
        "agentName": "inbound-agent"
      }
    ]
  }
}
I set this before I tried to make the call
r
I think you shared the wrong dispatch rule. The trunk ID there does not match the trunk ID in the dispatch rule you shared.
f
sure thanks, I will look into this and get back to you.