On latest versions I’m trying the sipdump module, the one benefit I’m liking over its alternatives is that you can enable/disable dumping to file via RPC..

So in normal operation you are not dumping all tls traffic, and then you can enable it only when you need to troubleshoot something.. 

Just throwing this out there in case it’s useful :) 

Cheers,
Joel. 

On Sun, Aug 2, 2020 at 05:15 Karsten Horsmann <khorsmann@gmail.com> wrote:
Hi,


use siptrace to see what Kamailio sees on the tls side or use the message buffer pv $mb

Like this (please check Syntax at your own, copy pasted that with my smartphone so no guarantees) 

It shows the raw message (unencrypted) before tls module it handles or after its decrypted AFAIK. 

event_route[network:msg] {
                        if (is_incoming()) {                                             xlog("L_INFO", "Received message '$mb' \n");
                                        } else {
                                                                xlog("L_INFO", "Sending message '$mb' \n");
}


Kind regards 
Karsten Horsmann 


tangd122 <tangd122@gmail.com> schrieb am Sa., 1. Aug. 2020, 19:40:
Thank you for your replies! Outbound calling is now completely working.

For incoming calls from SIP trunk to Teams there's still no ACK and CANCEL
messages. Which causes disconnect in 20 seconds and no audio.

I think there's something wrong with the routing or via headers in the 200
OK but don't know what.

The complete sip dump: https://paste.projectdev.org/imiluwecaf

Unfortunately i can't see the sip messages from the SIP provider side.



--
Sent from: http://sip-router.1086192.n5.nabble.com/Users-f3.html

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users