https://retellai.com/?utm_source=discord&utm_medium=seo logo
Hi, I’m testing Custom Telephony (SIP trunking) wi...
# ❓・ai-evy-support
o
@AI Evy Hi, I’m testing Custom Telephony (SIP trunking) with my PBX. Trunk shows Avail and I see OPTIONS packets. Number: +myphonenr Termination URI: sip:mydomain (also tried with IP/port). Auth left blank (IP whitelist). But outbound calls fail with “invalid session error”, and no INVITE reaches my PBX. 👉 Should this work on the free plan, and what is the correct Termination URI format? Thanks!
a
Thanks for tagging me @onur.kazan_46983. I'll look through relevant sources and get back to you shortly.
### Answer Looking at your SIP trunking setup, I can help clarify the configuration requirements based on the Retell AI documentation. For Elastic SIP trunking, you need to configure both termination (outbound calls) and origination (inbound calls) settings [(1) ]() . The termination SIP URI should be provided by your telephony provider and specified during the SIP trunk setup . For the origination side, you need to set Retell AI's SIP server address as the origination SIP URI:
sip:5t4n6j0wnrl.sip.livekit.cloud
. For toll-free numbers, you should specify the transport protocol by using:
sip:5t4n6j0wnrl.sip.livekit.cloud;transport=tcp
. The IP block for United States traffic is
143.223.88.0/21
,
161.115.160.0/19
, which you may need to whitelist in your PBX configuration. Retell supports these transport methods : - UDP - TCP - TLS And media encryption supported includes SRTP . Regarding your specific issue with outbound calls failing and no INVITE reaching your PBX, the documentation notes that if your outbound call is not connecting, you should check your termination setting in your SIP trunking provider and also check the logs in your telephony provider . However, I don't see specific information about free plan limitations for custom telephony in the available sources. For definitive answers about plan restrictions and troubleshooting your specific "invalid session error," I'd recommend: - Visit [Contact Sales]() - Visit [) Would you like a general answer based on my knowledge instead?
​ To learn more, see the sources I considered: [[1] Custom Telephony Overview](https://docs.retellai.com/deploy/custom-telephony) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.