hi,

i have kamailio with TLS
i dont have homer and voipmonitor with TLS decryption doesnt work

how can i check final SIP INVITE (after all rewrites/modifications) before is send to the peer?

tried
onsend_route {
          if ($rm == "INVITE") {
                        xlog("L_INFO", "Final SIP Message before Sending: $mbu\n");
          }
}

but record-route/via are different than reality (checked with sngrep with TLS disabled)

kamailio log
 Record-Route: <sip:;r2=on;lr;ftag=b0d1d4ce-...
 Record-Route: <sip:10.10.10.10;r2=on;lr;ftag=b0d1d4..
 Via: SIP/2.0/UDP 30.30.30.30:5080;TH=div;rport;branch=z9hG4bK

sngrep
 Record-Route: <sip:9.9.9.9;r2=on;lr;ftag=246bdf1c...
 Record-Route: <sip:9.9.9.9;line=sr-Jf7BrWSBdWSzrD
 Via: SIP/2.0/UDP 9.9.9.9;branch=z9hG4bKdb73.0735168f3e5f....
 Via: SIP/2.0/UDP 9.9.9.9;branch=z9hG4bKsr-2y7Ud3XCMD4N6Vi8M-iCM-XGdWSBMDGzuhJZu-iGMh9ztEu7q.....

10.10.10.10 - private kamailio ip (fictional)
30.30.30.30 - ip of  SIP PBX (caller)
9.9.9.9 - public kamailio ip

Marek
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:

Reply via email to