Can you help me please?
I sent request to
https://api.retellai.com/import-phone-number
Body:
{
"phone_number": "9714225454",
"termination_uri": "sipve.callgear.ae:9061",
"sip_trunk_auth_username": "0158613",
"sip_trunk_auth_password": "f7xUD_tSLs",
"nickname": "Call Gear SIP Trunk",
"inbound_agent_id": "26127fd5899b90fcebae9723fe",
"outbound_agent_id": "26127fd5899b90fcebae9723fe"
}
I received
{
"phone_number": "9714225454",
"phone_number_type": "custom",
"phone_number_pretty": "9714225454",
"nickname": "Call Gear SIP Trunk",
"inbound_agent_id": "26127fd5899b90fcebae9723fe",
"outbound_agent_id": "26127fd5899b90fcebae9723fe",
"last_modification_timestamp": 1761728415578,
"custom_sms_enabled": false,
"creation_timestamp": 1761728415578,
"sip_outbound_trunk_config": {
"termination_uri": "sipve.callgear.ae:9061",
"transport": "TCP",
"auth_username": "0158613"
}
But transport should be not TCP, but TLS
and also we need to activate SRTP, how to do that with api request?
https://cdn.discordapp.com/attachments/1433018649106714646/1433020320423477318/image.png?ex=69032bac&is=6901da2c&hm=af52d06b77f47c3214271921bfda57f2b6de36295779d990b1214d166a32a954&