# TLS trunk not disconnecting if exension hangs up first

**URL:** <https://community.freepbx.org/t/tls-trunk-not-disconnecting-if-exension-hangs-up-first/95418>\
**Category:** Providers\
**Created:** [March 23, 2024, 6:53pm UTC](https://community.freepbx.org/t/tls-trunk-not-disconnecting-if-exension-hangs-up-first/95418 "2024-03-23T18:53:32Z")\
**Posts on this page:** 1\
**Showing post:** 68

<div class="post-metadata">

**Author:** ![davidpzk](https://community.freepbx.org/letter_avatar_proxy/v4/letter/d/49beb7/32.png) [@davidpzk](https://community.freepbx.org/u/davidpzk)\
**Post date:** [April 7, 2024, 12:52am UTC](https://community.freepbx.org/t/tls-trunk-not-disconnecting-if-exension-hangs-up-first/95418/68 "2024-04-07T00:52:19Z")

</div>

Im back from school so catching up on messages here.

@BlazeStudios - The command I used to capture the packets was:  
tcpdump -i eth0 -s0 -w /tmp/pcap.pcap

@david55 - Is there a SSH command line I can use to export the session keys?

@david55 - I have found this issue now with both Telnyx and Twilio TLS trunks. Both trunk providers are having the same issue.

@david55 @Stewart1 - Yesterday I found this thread (post link below), that also was having TLS issues, and for them turning off “Verify Server” worked. I tried this yesterday, for me “Verify Server” was on so I then turned it off and had no noticeable different result.

> [@TLS SIP Trunk Configuration Problem](https://community.freepbx.org/t/tls-sip-trunk-configuration-problem/41341/6):
>
> Then you would need to set “Don’t Verify Server” to YES in the Asterisk SIP settings on your server B. It can’t verify a self-signed certificate presented by server A.

---

_[View the full topic](https://community.freepbx.org/t/tls-trunk-not-disconnecting-if-exension-hangs-up-first/95418)._
