<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Segoe UI Emoji";
panose-1:2 11 5 2 4 2 4 2 2 3;}
@font-face
{font-family:Menlo;
panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.apple-converted-space
{mso-style-name:apple-converted-space;}
span.s1
{mso-style-name:s1;}
span.xapple-converted-space
{mso-style-name:xapple-converted-space;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Good point…<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">I also just tried domain / domain_name settings in vars.xml, which should be the hostname of the freeswitch-instance but … doesn’t work …
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Seems freeswitch doesn’t want a FQDN In Contact Header …
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> David Horton <daveh@drachtio.org>
<br>
<b>Sent:</b> Donnerstag, 1. Oktober 2020 17:43<br>
<b>To:</b> Stefan Kainz <s.kainz@wnt.at><br>
<b>Cc:</b> FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org><br>
<b>Subject:</b> Re: [Freeswitch-users] Microsoft Teams integration<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">good…just a point: putting it in /etc/hosts won’t be enough — it needs to be resolvable by Microsoft, so there need to be DNS records propagated<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US">On Oct 1, 2020, at 11:21 AM, Stefan Kainz <</span><a href="mailto:s.kainz@wnt.at"><span lang="EN-US">s.kainz@wnt.at</span></a><span lang="EN-US">> wrote:<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">Ok, our fqdn does resolve to just one ip. No multiple entries.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Thank you so far David, I’ll try to get the fqdn in contact header and if I cant do it, maybe send another mail to the list.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Thank you very much!<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Regards,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
</div>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<div>
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span class="apple-converted-space"><span lang="EN-US"> </span></span><span lang="EN-US">David Horton <</span><a href="mailto:daveh@drachtio.org"><span lang="EN-US">daveh@drachtio.org</span></a><span lang="EN-US">><span class="apple-converted-space"> </span><br>
<b>Sent:</b><span class="apple-converted-space"> </span>Donnerstag, 1. Oktober 2020 17:03<br>
<b>To:</b><span class="apple-converted-space"> </span>Stefan Kainz <</span><a href="mailto:s.kainz@wnt.at"><span lang="EN-US">s.kainz@wnt.at</span></a><span lang="EN-US">><br>
<b>Cc:</b><span class="apple-converted-space"> </span>FreeSWITCH Users Help <</span><a href="mailto:freeswitch-users@lists.freeswitch.org"><span lang="EN-US">freeswitch-users@lists.freeswitch.org</span></a><span lang="EN-US">><br>
<b>Subject:</b><span class="apple-converted-space"> </span>Re: [Freeswitch-users] Microsoft Teams integration<o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">I’m sure there is a way to do it in Freeswitch, but I myself don’t know how as I’ve never needed to do that. Maybe others can chime in..<o:p></o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">It may be obvious, but I should have mentioned that the DNS name in the Contact header must resolve to your server either via SRV or A records. Secondly, you do not want to have multiple A records for the DNS name (as
for instance if you had a bank of freeswitch servers) because if you do Microsoft will happily send a mid-call reINVITE (or BYE) to a different server than sent it the INVITE in the first place.<o:p></o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">On Oct 1, 2020, at 10:20 AM, Stefan Kainz <</span><a href="mailto:s.kainz@wnt.at"><span lang="EN-US">s.kainz@wnt.at</span></a><span lang="EN-US">> wrote:<o:p></o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">Ok, then i might have found whats causing all my problems.<o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">Would you happen to know how I achive this in freeswitch?<o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">Ive tried a couple of things already, but none seem to work.<o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">The gateway has “contact-host” set correctly, I also tried</span><span class="apple-converted-space"><span lang="EN-US" style="font-size:11.5pt;font-family:"Arial",sans-serif;color:#222222"> </span></span><span lang="EN-US" style="font-size:11.5pt;font-family:"Arial",sans-serif;color:#222222">sip_contact_host
…</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.5pt;font-family:"Arial",sans-serif;color:#222222"> </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.5pt;font-family:"Arial",sans-serif;color:#222222">Thank you very much!</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.5pt;font-family:"Arial",sans-serif;color:#222222"> </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.5pt;font-family:"Arial",sans-serif;color:#222222">Regards,</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
</div>
</div>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<div>
<div>
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span class="apple-converted-space"><span lang="EN-US"> </span></span><span lang="EN-US">David Horton <</span><a href="mailto:daveh@drachtio.org"><span lang="EN-US">daveh@drachtio.org</span></a><span lang="EN-US">><span class="apple-converted-space"> </span><br>
<b>Sent:</b><span class="apple-converted-space"> </span>Donnerstag, 1. Oktober 2020 14:20<br>
<b>To:</b><span class="apple-converted-space"> </span>Stefan Kainz <</span><a href="mailto:s.kainz@wnt.at"><span lang="EN-US">s.kainz@wnt.at</span></a><span lang="EN-US">><br>
<b>Cc:</b><span class="apple-converted-space"> </span>FreeSWITCH Users Help <</span><a href="mailto:freeswitch-users@lists.freeswitch.org"><span lang="EN-US">freeswitch-users@lists.freeswitch.org</span></a><span lang="EN-US">><br>
<b>Subject:</b><span class="apple-converted-space"> </span>Re: [Freeswitch-users] Microsoft Teams integration<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">Yes, you must have a domain in the Contact header. That’s another ridiculous requirement Microsoft came up with for this integration...<o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">On Oct 1, 2020, at 1:30 AM, Stefan Kainz <</span><a href="mailto:s.kainz@wnt.at"><span lang="EN-US">s.kainz@wnt.at</span></a><span lang="EN-US">> wrote:<o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt">Im following your advice now, and dont add record-route headers. </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt">Im trying an outbound call ( teams -> pstn ) and it disconnects soon after freeswitch sends the OK.</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt"> </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt">Here is the OK: </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt"> </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">send 1695 bytes to tls/[52.114.75.24]:10176 at 07:12:26.210854:</span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">------------------------------------------------------------------------</span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">SIP/2.0 200 OK</span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">Via: SIP/2.0/TLS 52.114.75.24:5061;branch=z9hG4bKbc16542e;rport=10176</span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">Record-Route: <</span></span><a href="sip:sip-du-a-eu.pstnhub.microsoft.com:5061;transport=tls;lr"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">sip:sip-du-a-eu.pstnhub.microsoft.com:5061;transport=tls;lr</span></a><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">></span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">FROM: Stefan Kainz<</span></span><a href="sip:+FROMNUMBER@sip.pstnhub.microsoft.com:5061;user=phone"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">sip:+FROMNUMBER@sip.pstnhub.microsoft.com:5061;user=phone</span></a><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">>;tag=b88e3a220f48472cb452fec5fe46579e</span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">To: <</span></span><a href="sip:+TONUMBER@xxx.example.at:5061;user=phone"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">sip:+TONUMBER@xxx.example.at:5061;user=phone</span></a><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">>;tag=9FFZm2y4cBmrS</span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">CALL-ID: 6a933a0ac454552081ca931b3daf42de</span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">CSEQ: 1 INVITE</span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">Contact: <</span></span><a href="sip:+TONUMBER@xxx.xxx.xxx.xxx:5061;transport=tls"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">sip:+TONUMBER@xxx.xxx.xxx.xxx:5061;transport=tls</span></a><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">></span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">User-Agent: TTG01 1.0</span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">Accept: application/sdp</span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, NOTIFY</span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">Require: timer</span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">Supported: timer, path, replaces</span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">Allow-Events: talk, hold, conference, refer</span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">Session-Expires: 3600;refresher=uac</span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">Content-Type: application/sdp</span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">Content-Disposition: session</span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">Content-Length: 801</span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">P-Asserted-Identity: "+TONUMBER" <</span></span><a href="sip:+TONUMBER@xxx.example.at"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">sip:+TONUMBER@xxx.example.at</span></a><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">></span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif"> </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">v=0</span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">o=FreeSWITCH 1601512094 1601512095 IN IP4 xxx.xxx.xxx.xxx</span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">s=FreeSWITCH</span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">c=IN IP4 xxx.xxx.xxx.xxx</span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">t=0 0</span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">a=msid-semantic: WMS pGvDw5lMt7NEFur7TOXy5dyI4XJtq8cF</span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">m=audio 17052 RTP/SAVP 0 101</span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">a=rtpmap:0 PCMU/8000</span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">a=rtpmap:101 telephone-event/8000</span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">a=fmtp:101 0-16</span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">a=ptime:20</span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">a=rtcp-mux</span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">a=rtcp:17052 IN IP4 xxx.xxx.xxx.xxx</span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">a=ice-ufrag:czL8C9GwWgQdfSIK</span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">a=ice-pwd:gICzT6c1eiFHGhUJGvI8vevi</span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">a=candidate:2023834489 1 udp 659136 xxx.xxx.xxx.xxx 17052 typ host generation 0</span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">a=end-of-candidates</span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">a=ssrc:1804998514 cname:Fy91tlEMiigNDyLm</span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">a=ssrc:1804998514 msid:pGvDw5lMt7NEFur7TOXy5dyI4XJtq8cF a0</span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">a=ssrc:1804998514 mslabel:pGvDw5lMt7NEFur7TOXy5dyI4XJtq8cF</span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">a=ssrc:1804998514 label:pGvDw5lMt7NEFur7TOXy5dyI4XJtq8cFa0</span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span class="s1"><span lang="EN-US" style="font-size:8.5pt;font-family:"Menlo",serif">a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:aoXrZjxmNQmdkxShUkmMO526J+5laS1UL8ZWiKyS</span></span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt"> </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt">I compared it with your examples, and noticed that i have an ip-address in contact-header, you on the other hand have a domain. </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt">Do you think that could be the problem?</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt"> </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">regards, </span><o:p></o:p></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt"> </span><o:p></o:p></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt"> </span><o:p></o:p></p>
</div>
</div>
</div>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="916" style="width:687.2pt" align="center">
</div>
<div id="divRplyFwdMsg">
<div>
<div>
<p class="MsoNormal"><b><span lang="EN-US">Von:</span></b><span class="apple-converted-space"><span lang="EN-US"> </span></span><span lang="EN-US">David Horton <</span><a href="mailto:daveh@drachtio.org"><span lang="EN-US">daveh@drachtio.org</span></a><span lang="EN-US">><br>
<b>Gesendet:</b><span class="apple-converted-space"> </span>Mittwoch, 23. September 2020 19:24<br>
<b>An:</b><span class="apple-converted-space"> </span>Stefan Kainz <</span><a href="mailto:s.kainz@wnt.at"><span lang="EN-US">s.kainz@wnt.at</span></a><span lang="EN-US">><br>
<b>Cc:</b><span class="apple-converted-space"> </span>FreeSWITCH Users Help <</span><a href="mailto:freeswitch-users@lists.freeswitch.org"><span lang="EN-US">freeswitch-users@lists.freeswitch.org</span></a><span lang="EN-US">><br>
<b>Betreff:</b><span class="apple-converted-space"> </span>Re: [Freeswitch-users] Microsoft Teams integration<o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif"> </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif">In my implementation I am using a drachtio server (</span><a href="https://drachtio/"><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif">https://drachtio</span></a><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif">.org),
more specifically configured as part of the jambonz CPaaS platform I build (</span><a href="https://docs.jambonz.org/teams/"><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif">https://docs.jambonz.org/teams/</span></a><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif">)</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif"> </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif">A Record-Route header only makes sense if you are creating a sip proxy, AFAIC. In my implementation I built a B2BUA so on requests I send to Teams there is no
RR. Of course, on responses I preserve their RR headers.</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif"> </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif">For your scenario, I think I passed on the trace but just in case here is a link to it again: </span><a href="https://gist.github.com/davehorton/9ea3d79e8eeda3cbb5e2e87209dcfe63"><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif">https://gist.github.com/davehorton/9ea3d79e8eeda3cbb5e2e87209dcfe63</span></a><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif"> </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif">One question: for the domain you are putting in the Contact header of your 200 OK response, does that resolve to a single server or multiple? I have found in the
latter case Teams will gladly send a mid-call request to a different server that heretofore was not involved in the call at all. On the server that initially handled the call, it will simply look like Teams is not being responsive..</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif"> </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif">Dave</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif"> </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif">On Sep 23, 2020, at 3:56 AM, Stefan Kainz <</span><a href="mailto:s.kainz@wnt.at"><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif">s.kainz@wnt.at</span></a><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif">>
wrote:</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif"> </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">Thank you for your Answer!<o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">May I ask what kind of SBC you are using?<o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">We also use Audiocodes SBC’s, which are working great, but even those send Record-Route Headers.<o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">Maybe I need to explain the szenario a little better…<o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">In the teams client I dial an external number ( my mobile phone for example )<o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">I pick up, and then push hold in the teams client. ( So far so good )<o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">When I try to unhold, of course also in teams, it becomes silent on both ends. ( even the moh stops )<o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">And then as I said I see a few OK Messages being retransmitted to the Microsoft servers.<o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">Its funny that you say you don’t need Record-Route Headers at all, because without setting those, I cant even make incoming calls work.<o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">With those headers, everything works perfectly except for the thing explained above.<o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">Even when trying to get incoming calls back from hold on teams. ( PSTN – freeswitch – teams, hold / unhold on teams )<o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">I also found a tutorial from kamailio on how to connect it to teams.<o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">There they also state that the record-route headers a needed.<o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><a href="https://skalatan.de/en/blog/kamailio-sbc-teams"><span lang="EN-US">https://skalatan.de/en/blog/kamailio-sbc-teams</span></a><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">Thank you again David!<o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">Regards,<o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">Stefan<o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<div>
<div>
<div>
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span class="xapple-converted-space"><span lang="EN-US"> </span></span><span lang="EN-US">David Horton <</span><a href="mailto:daveh@drachtio.org"><span lang="EN-US">daveh@drachtio.org</span></a><span lang="EN-US">><span class="xapple-converted-space"> </span><br>
<b>Sent:</b><span class="xapple-converted-space"> </span>Montag, 21. September 2020 22:36<br>
<b>To:</b><span class="xapple-converted-space"> </span>FreeSWITCH Users Help <</span><a href="mailto:freeswitch-users@lists.freeswitch.org"><span lang="EN-US">freeswitch-users@lists.freeswitch.org</span></a><span lang="EN-US">><br>
<b>Cc:</b><span class="xapple-converted-space"> </span>Stefan Kainz <</span><a href="mailto:s.kainz@wnt.at"><span lang="EN-US">s.kainz@wnt.at</span></a><span lang="EN-US">><br>
<b>Subject:</b><span class="xapple-converted-space"> </span>Re: [Freeswitch-users] Microsoft Teams integration<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">It has not been my experience that Microsoft Teams direct routing requires a Record-Route header on requests / responses you send to it (though their requests will have an RR and you must Route accordingly)<o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">Here is a sip trace showing a successful on-hold / off-hold scenario from one of my servers (not a freeswitch server). This is an on-hold triggered from the MS teams client, not sure if you are trying to do the reverse.<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">One thing: make sure the Contact header in your INVITEs resolve to a single server, otherwise (if you have mutiple A records for the DNS name) you will find that MS Teams will gladly respond to a reINVITE to a completely
different server than you sent from — this will manifest as not seeing the 200 OK to a re-INVITE you send, or not seeing the ACK when you respond 200 OK to a re-INVITE.<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">daveh<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">One thing to make sure of is that <o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">On Sep 20, 2020, at 12:05 PM, Stefan Kainz <</span><a href="mailto:s.kainz@wnt.at"><span lang="EN-US">s.kainz@wnt.at</span></a><span lang="EN-US">> wrote:<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt">Hello, </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt"> </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt">we're trying to use Freeswitch as a Microsoft Teams direct routing SBC.</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt"> </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt">So far everything works perfectly, except getting the call back from hold on an outbound call. </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt">The Problem is that Microsoft expects a Record-Route Header in every Request and every Response.</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt">I have been able to set/rewrite this Record-Route header with sip_h_ and sip_rh_ in most szenarios, but like i said - unhold on an outgoing call does not work.</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt"> </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt">The hold is initiated with a reinvite with a=inactive in sdp, which does work. </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt">However, the unhold - also a reinvite with a=sendrecv in sdp does not work correctly.</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt">In the sip-trace i see that the OK ( in response to the INVITE for unhold ) gets retransmitted a couple of times, because the ACK from microsoft isn't received. </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt"> </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt">This is due to the missing Record-Route Header in the OK Message.</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt">I have seen this behavior on inbound calls too, when i didnt set the Record-Route Header.</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt"> </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt">Now my question:</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt">Is there any way to add the Record-Route Header to every Message on a sip-profile or gateway? </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt">Or if not, is it possible to handle a reinvite in dialplan so i could set the header manually?</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt">Maybe there is somebody who already has this working that could point me in the right direction.</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt"> </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt">I know freeswitch isn't a SBC, but it would be nice to be able to use freeswitch as a Teams-SBC without Kamailio or something similar.</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt"> </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt">Any help is very much appreciated<span class="xapple-converted-space"> </span></span><span style="font-size:12.0pt;font-family:"Segoe UI Emoji",sans-serif">🙂</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt"> </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt">regards, </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt">Stefan</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt"> </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt"> </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt"> </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt"> </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt"> </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt"> </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt"> </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif">_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire<span class="xapple-converted-space"> </span></span><a href="https://signalwire.com/"><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif">https://signalwire.com</span></a><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif"><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time<span class="xapple-converted-space"> </span></span><a href="https://signalwire.community/"><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif">https://signalwire.community</span></a><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif"><br>
<br>
Professional FreeSWITCH Services<br>
</span><a href="mailto:sales@freeswitch.com"><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif">sales@freeswitch.com</span></a><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif"><br>
</span><a href="https://freeswitch.com/"><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif">https://freeswitch.com</span></a><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif"><br>
<br>
Official FreeSWITCH Sites<br>
</span><a href="https://freeswitch.com/oss"><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif">https://freeswitch.com/oss</span></a><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif"><br>
</span><a href="https://freeswitch.org/confluence"><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif">https://freeswitch.org/confluence</span></a><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif"><br>
</span><a href="https://cluecon.com/"><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif">https://cluecon.com</span></a><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif"><br>
<br>
FreeSWITCH-users mailing list<br>
</span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org"><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif">FreeSWITCH-users@lists.freeswitch.org</span></a><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif"><br>
</span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</span></a><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif"><br>
UNSUBSCRIBE:</span><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users"><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif">http://lists.freeswitch.org/mailman/options/freeswitch-users</span></a><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif"><br>
</span><a href="https://freeswitch.com/"><span lang="EN-US" style="font-size:10.5pt;font-family:"Tahoma",sans-serif">https://freeswitch.com</span></a><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
</body>
</html>