From johnthe5th@gmail.com Mon Jan 24 10:49:26 2022 From: Arnaud To: sr-users@lists.kamailio.org Subject: [SR-Users] Append HF don't work in event_route Date: Mon, 24 Jan 2022 10:49:10 +0100 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1464253979==" --===============1464253979== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hello, I'm trying to connect kamailio to Microsoft Teams. Dispatch is correctly configured and sended. Following this tutorial : https://skalatan.de/en/blog/kamailio-sbc-teams, I added an Event_Route to add contact header to SIP OPTION from dispath to MS : event_route[tm:local-request] { xlog("*** tm:local-request *** "); if(is_method("OPTIONS") && $ru =~ "pstnhub.microsoft.com") { xlog("L_INFO", "Append new contact !\n"); append_hf("Contact: \r\n"); } xlog("L_INFO", "Sent out tm request: $mb\n"); } When I check the log to see my sended frame, I don't see a contact header field : INFO: