https://retellai.com/?utm_source=discord&utm_medium=seo logo
Transfer call to SIP endpoint with SRTP?
# ❓・bug-report
w
I would like to transfer a call from an AI agent to a SIP endpoint using SRTP. Is this possible? Right now my transfer to looks like this: sip:+18083675309@custom.sipserver.com;transport=tls My SIP gateway requires SRTP. From what I'm seeing your invite offers RTP/AVP but my response advertises RTP/SAVP. I don't yet have a BAA signed if that makes a difference. I was trying to test before signing the BAA.
Is there anything else I can do to get help with this?
n
Is the number being used connected inbound via SRTP ?
w
I do not believe so. If I get inbound over SRTP, then will outbound transfers be over SRTP?
n
There is a good chance the answer is yes, as long as you define it as an inbound endpoint as well with tls
It's an interesting question i admit
Catch me later tonight and we can examine it together, if you want
w
@nir.simionovich Thanks for taking the time to work with me on this. First, what is "later tonight" for you? I'm EST timezone, didn't know about you. Second, I created an Elastic Trunk from Twilio to connect with RetellAi. If I turn OFF "Secure Trunking" aka SRTP the call will go through from Twilio to RetellAi. If I have it on, the call immediately drops. Looking through discord, seems this is a common issue. My problem is that retellai documentation says it supports SRTP (https://docs.retellai.com/deploy/custom-telephony).
n
I'm GMT+@
or EST+7
GMT+2
it does - but you need to make sure that your signalling is based on TLS - not UDP
w
Just a fyi, I am using the TLS on on the signaling. Thanks for pointing at that as well.
n
Generally speaking, TLS doesn't "force" SRTP, although, most thing its implied
@willzzzzzzzz. did you manage to work this out ?