Two things:

1. You're not paying attention. Previously, I asked if there's force_rport() in your kam config. Looks like you do. Remove it from the REQINIT route.
2. Are you sure Kamailio can read the cert and key files from /etc/letsencrypt/live/abcsbc.com/? By default, those files may not be readable by kamailio, depending if you run it under root or kamailio user. Change the folder permissions or better yet copy the cert and key to some /tmp/ folder and adjust config for testing purpose sake.
3. You don't need [server:172.31.19.8:5061] & [client:172.31.19.8:5061] definitions in tls.cfg, default will suffice.
4. To avoid all this back and forth, enable debugging in Kamailio and see if there's any errors like Kam not being able to load certs and priv keys e.t.c

Regards,
Sergiu
--
Teams PBX connector plus full MS Direct Routing automation
Webhttps://teamsphone.net

On Mon, Dec 18, 2023 at 8:21 PM faisal.jamil.khan--- via sr-users <sr-users@lists.kamailio.org> wrote:
this is my tls config

https://pastebin.com/RWBJcpuS

this is the kamctl file
https://pastebin.com/Cy4aCtbm
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-leave@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe: