# Event route for local generated requests event_route[tm:local-request] { if(is_method("OPTIONS") && $ru =~ "pstnhub.microsoft.com") { append_hf("Contact: sip:$fd:5061;transport=tls\r\n"); } xdbg("sent out tm request: $mb\n"); }
-----Oorspronkelijk bericht----- Van: sr-users sr-users-bounces@lists.kamailio.org Namens wvalles Verzonden: donderdag 28 januari 2021 03:58 Aan: sr-users@lists.sip-router.org Onderwerp: Re: [SR-Users] Problems establishing SIP signaling between MsTeams and Kamailio
Hello Rob and Community,
I comment that this configuration if I have it added in my kamailio.cfg in this way.
event_route[tm:local-request] {
if(is_method("OPTIONS") && $ru =~ "pstnhub.microsoft.com") { append_hf("Contact: sip:sbc.netvoiceperu.com:5061;transport=tls\r\n"); } xlog("L_INFO", "Sent out tm request: $mb\n"); }
In fact I have also followed the guide from "https://skalatan.de/en/blog/kamailio-sbc-teams", however I still can't establish the connection between MsTeams and Kamailio correctly. As I said in the previous comment, from Kamailio I see that the flag towards MsTeams is in AP. But from MsTeams I see that the "Sip Options Status" is in Warning.
Additionally, through Kamailio's sip_trace, I don't see Kamailio's SIP OPTIONS 200 OK responses to MsTeams. Could you help me by taking a look at my kamailio.cfg? Maybe there is an error in the configuration or something additional is missing to correctly complete the signaling between Kamailio and MsTeams. I attach my "kamailio.cfg".
Please your support everyone.
Cheers
kamailio.cfg http://sip-router.1086192.n5.nabble.com/file/t8092/kamailio.cfg
-- 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