<div dir="ltr">Outbound call transfer fixed !<div><br></div><div>if can helps :</div><div><br></div><div>        if(status=="200"){<br>        remove_hf("ALLOW:");<br>        append_hf("ALLOW: INVITE,ACK,OPTIONS,CANCEL,BYE,NOTIFY \r\n", "CONTENT-TYPE");<br>        }<br></div><div><br></div><div>last but not least i need to fix transfer for incoming calls </div><div><br></div><div>so in my case i use rtpengine for manage RTP > SRTP conversion ..</div><div>so my issue in if i try to transfer pbx send me "not acceptable here" </div><div>if i remove ice PBX accept the INVITE but Teams require SRTP,</div><div>so does anyone know how to get it to work ?</div><div><br></div><div><br></div><div><br></div><div>Thanks you !!!</div><div><br></div><div>Davide</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno ven 29 gen 2021 alle ore 12:53 Davide Zanichelli <<a href="mailto:dav.zanichelli@gmail.com">dav.zanichelli@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><p style="box-sizing:inherit;margin:1rem 0px 0px;padding:0px;outline-color:inherit;color:rgb(23,23,23);font-family:"Segoe UI",SegoeUI,"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:16px"><span style="box-sizing:inherit;outline-color:inherit;display:inline"><span style="box-sizing:inherit;outline-color:inherit">Direct Routing supports two methods for call transfer:</span></span></p><ul style="box-sizing:inherit;margin:16px 0px 16px 38px;padding:0px;list-style:none;outline-color:inherit;color:rgb(23,23,23);font-family:"Segoe UI",SegoeUI,"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:16px"><li style="box-sizing:inherit;margin:0px;padding:0px;outline-color:inherit;outline-style:initial;outline-width:0px;list-style:outside none disc"><p style="box-sizing:inherit;margin:1rem 0px 0px;padding:0px;outline-color:inherit"><span style="box-sizing:inherit;outline-color:inherit;display:inline"><span style="box-sizing:inherit;outline-color:inherit">Option 1.</span></span> <span style="box-sizing:inherit;outline-color:inherit;display:inline"><span style="box-sizing:inherit;outline-color:inherit">SIP proxy processes Refer from the client locally and acts as a Referee as described in section 7.1 of RFC 3892.</span></span></p><p style="box-sizing:inherit;margin:1rem 0px 0px;padding:0px;outline-color:inherit"><span style="box-sizing:inherit;outline-color:inherit;display:inline"><span style="box-sizing:inherit;outline-color:inherit">With this option, the SIP proxy terminates the transfer and adds a new Invite.</span></span></p></li><li style="box-sizing:inherit;margin:0px;padding:0px;outline-color:inherit;outline-style:initial;outline-width:0px;list-style:outside none disc"><p style="box-sizing:inherit;margin:1rem 0px 0px;padding:0px;outline-color:inherit"><span style="box-sizing:inherit;outline-color:inherit;display:inline"><span style="box-sizing:inherit;outline-color:inherit">Option 2.</span></span> <span style="box-sizing:inherit;outline-color:inherit;display:inline"><span style="box-sizing:inherit;outline-color:inherit">SIP proxy sends the Refer to the SBC and acts as a Transferor as describing in Section 6 of RFC 5589.</span></span></p><p style="box-sizing:inherit;margin:1rem 0px 0px;padding:0px;outline-color:inherit"><span style="box-sizing:inherit;outline-color:inherit;display:inline"><span style="box-sizing:inherit;outline-color:inherit">With this option, the SIP proxy sends a Refer to the SBC and expects the SBC to handle the Transfer fully.</span></span></p></li></ul><p style="box-sizing:inherit;margin:1rem 0px 0px;padding:0px;outline-color:inherit;color:rgb(23,23,23);font-family:"Segoe UI",SegoeUI,"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:16px"><span style="box-sizing:inherit;outline-color:inherit;display:inline"><span style="box-sizing:inherit;outline-color:inherit">The SIP proxy selects the method based on the capabilities reported by the SBC.</span></span> <span style="box-sizing:inherit;outline-color:inherit;display:inline"><span style="box-sizing:inherit;outline-color:inherit">If the SBC indicates that it supports the method “Refer”, the SIP proxy will use Option 2 for call transfers.</span></span></p><p style="box-sizing:inherit;margin:1rem 0px 0px;padding:0px;outline-color:inherit;color:rgb(23,23,23);font-family:"Segoe UI",SegoeUI,"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:16px"><span style="box-sizing:inherit;outline-color:inherit;display:inline"><span style="box-sizing:inherit;outline-color:inherit">The following is an example of an SBC sending the message that the Refer method is supported:</span></span></p><div id="gmail-m_-1139517786523218944gmail-code-try-1" style="box-sizing:content-box;outline-color:inherit;color:rgb(23,23,23);display:flex;font-size:0.8rem;border-bottom:0px;margin-top:16px;min-height:30px;font-family:"Segoe UI",SegoeUI,"Helvetica Neue",Helvetica,Arial,sans-serif"><span style="box-sizing:inherit;outline-color:inherit;padding:2px 16px">Console</span><button type="button" style="box-sizing:inherit;font-family:inherit;font-size:12.8px;margin:0px;overflow:visible;outline-color:inherit;padding:2px 10px;border-left-width:1px;display:flex"><span style="box-sizing:inherit;outline-color:inherit;display:inline-flex;height:1.5rem;width:1.5rem"><span style="box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;display:inline-block;font-variant-numeric:normal;font-variant-east-asian:normal;direction:ltr;line-height:16px"></span></span><span style="box-sizing:inherit;outline-color:inherit">Copia</span><div style="box-sizing:inherit;opacity:0;display:flex"><span style="box-sizing:inherit;outline-color:inherit;display:inline-flex;height:1.5rem;width:1.5rem;font-size:1.125rem"><span style="box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;display:inline-block;font-variant-numeric:normal;font-variant-east-asian:normal;direction:ltr;line-height:16px"></span></span></div></button></div><pre style="box-sizing:inherit;font-size:0.875rem;margin-top:0px;margin-bottom:0px;padding:1rem;line-height:19px;outline-color:inherit;overflow:auto;word-break:normal;color:rgb(23,23,23);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace"><code style="box-sizing:inherit;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:1em;outline-color:inherit;direction:ltr;border:0px;padding:0px;display:block;line-height:19px"><span style="box-sizing:inherit;outline-color:inherit">ALLOW: INVITE, OPTIONS, INFO, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY
</span></code></pre><p style="box-sizing:inherit;margin:1rem 0px 0px;padding:0px;outline-color:inherit;color:rgb(23,23,23);font-family:"Segoe UI",SegoeUI,"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:16px"><span style="box-sizing:inherit;outline-color:inherit;display:inline"><span style="box-sizing:inherit;outline-color:inherit">If the SBC doesn’t indicate that Refer as a supported method, Direct Routing will use Option 1 (SIP proxy acts as a Referee) .</span></span> <span style="box-sizing:inherit;outline-color:inherit;display:inline"><span style="box-sizing:inherit;outline-color:inherit">The SBC must also signal that it supports the Notify method:</span></span></p><p style="box-sizing:inherit;margin:1rem 0px 0px;padding:0px;outline-color:inherit;color:rgb(23,23,23);font-family:"Segoe UI",SegoeUI,"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:16px"><span style="box-sizing:inherit;outline-color:inherit;display:inline"><span style="box-sizing:inherit;outline-color:inherit">Example of SBC indicating that Refer method is not supported:</span></span></p><div id="gmail-m_-1139517786523218944gmail-code-try-2" style="box-sizing:content-box;outline-color:inherit;color:rgb(23,23,23);display:flex;font-size:0.8rem;border-bottom:0px;margin-top:16px;min-height:30px;font-family:"Segoe UI",SegoeUI,"Helvetica Neue",Helvetica,Arial,sans-serif"><span style="box-sizing:inherit;outline-color:inherit;padding:2px 16px">Console</span><button type="button" style="box-sizing:inherit;font-family:inherit;font-size:12.8px;margin:0px;overflow:visible;outline-color:inherit;padding:2px 10px;border-left-width:1px;display:flex"><span style="box-sizing:inherit;outline-color:inherit;display:inline-flex;height:1.5rem;width:1.5rem"><span style="box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;display:inline-block;font-variant-numeric:normal;font-variant-east-asian:normal;direction:ltr;line-height:16px"></span></span><span style="box-sizing:inherit;outline-color:inherit">Copia</span><div style="box-sizing:inherit;opacity:0;display:flex"><span style="box-sizing:inherit;outline-color:inherit;display:inline-flex;height:1.5rem;width:1.5rem;font-size:1.125rem"><span style="box-sizing:inherit;outline-color:inherit;font-family:docons;font-size:inherit;speak:none;display:inline-block;font-variant-numeric:normal;font-variant-east-asian:normal;direction:ltr;line-height:16px"></span></span></div></button></div><pre style="box-sizing:inherit;font-size:0.875rem;margin-top:0px;margin-bottom:0px;padding:1rem;line-height:19px;outline-color:inherit;overflow:auto;word-break:normal;color:rgb(23,23,23);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace"><code style="box-sizing:inherit;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:1em;outline-color:inherit;direction:ltr;border:0px;padding:0px;display:block;line-height:19px"><span style="box-sizing:inherit;outline-color:inherit">ALLOW: INVITE, ACK, CANCEL, BYE, INFO, NOTIFY, PRACK, UPDATE, OPTIONS</span></code><code style="box-sizing:inherit;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:1em;outline-color:inherit;direction:ltr;border:0px;padding:0px;display:block;line-height:19px"><span style="box-sizing:inherit;outline-color:inherit"><br></span></code><code style="box-sizing:inherit;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:1em;outline-color:inherit;direction:ltr;border:0px;padding:0px;display:block;line-height:19px"><span style="box-sizing:inherit;outline-color:inherit"><br></span></code><code style="box-sizing:inherit;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:1em;outline-color:inherit;direction:ltr;border:0px;padding:0px;display:block;line-height:19px"><span style="box-sizing:inherit;outline-color:inherit"><br></span></code><code style="box-sizing:inherit;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:1em;outline-color:inherit;direction:ltr;border:0px;padding:0px;display:block;line-height:19px"><span style="box-sizing:inherit;outline-color:inherit">so i try to add "REFER" in the allow ì: heder but still no luck </span></code><code style="box-sizing:inherit;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:1em;outline-color:inherit;direction:ltr;border:0px;padding:0px;display:block;line-height:19px"><span style="box-sizing:inherit;outline-color:inherit"><br></span></code><code style="box-sizing:inherit;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:1em;outline-color:inherit;direction:ltr;border:0px;padding:0px;display:block;line-height:19px"><span style="box-sizing:inherit;outline-color:inherit">Davide</span></code></pre></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno ven 29 gen 2021 alle ore 11:24 Davide Zanichelli <<a href="mailto:dav.zanichelli@gmail.com" target="_blank">dav.zanichelli@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Ok thanks</div><div dir="auto"><br></div><div dir="auto">My issue is when i try to transfer a call to esternal user </div><div dir="auto">Thanks</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno ven 29 gen 2021 alle 11:10 Pepelux <<a href="mailto:pepeluxx@gmail.com" target="_blank">pepeluxx@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I think Teams doesn't send REFER messages. Transfers are managed directly by Teams. When you transfer a call you can send to a Team user instead to a SIP extension.<div><br></div><div>Regards</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 29 Jan 2021 at 10:55, Davide Zanichelli <<a href="mailto:dav.zanichelli@gmail.com" target="_blank">dav.zanichelli@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Hello</div><div dir="auto"><br></div><div dir="auto">Now inbound and outbound works as expected!</div><div dir="auto">But i have a issue during the call transfer.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">transfer fail and i dont receive REFER from Teams </div><div dir="auto"><br></div><div dir="auto">Does someone know how to manage re invite and refer with Teams ? </div><div dir="auto"><br></div><div dir="auto">Any advice are welcome</div><div dir="auto">Thanks you </div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno mer 27 gen 2021 alle 09:07 Davide Zanichelli <<a href="mailto:dav.zanichelli@gmail.com" target="_blank">dav.zanichelli@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello <div><br></div><div>im still having trouble with ack and bye ...</div><div><br></div><div>in inbound call my teams client stuck in "calling"</div><div><br></div><div>and seems that dont like my ack</div><div><br></div><div><br></div><div>====================<br>tag: snd<br>pid: 131292<br>process: 6<br>time: 1611683788.220244<br>date: Tue Jan 26 17:56:28 2021<br>proto: tls ipv4<br>srcip: 69.172.96.197<br>srcport: 5061<br>dstip: 52.114.75.24<br>dstport: 5061<br>~~~~~~~~~~~~~~~~~~~~<br>ACK sip:+1010@sip.pstnhub.microsoft.com:5061;transport=tls SIP/2.0<br>Record-Route: <sip:kml.call2teams.io:5061;transport=tls;r2=on;ftag=DKU70jvS4K86p;lr><br>Via: SIP/2.0/TLS 69.172.96.197:5061;branch=z9hG4bKaf91.b6d38c1afb72b2dd4847cc3f7d99d698.0<br>v:SIP/2.0/UDP 185.132.68.116;received=185.132.68.116;rport=5060;branch=z9hG4bKZXc92a9KDyUFg<br>Max-Forwards:69<br>f:"Davide Zanichelli"<<a href="mailto:sip%3A3454558075@185.132.68.116" target="_blank">sip:3454558075@185.132.68.116</a>>;tag=DKU70jvS4K86p<br>t:<<a href="http://sip:+1010@sip.pstnhub.microsoft.com:5061" target="_blank">sip:+1010@sip.pstnhub.microsoft.com:5061</a>>;tag=25f6b5d613cb478aa1d495a391860101<br>i:9493b287-a2f6-4891-859c-231994af46d6<br>CSeq:31288100 ACK</div></div><div dir="ltr"><div><br>m:<<a href="http://sip:mod_sofia@185.132.68.116:5060" target="_blank">sip:mod_sofia@185.132.68.116:5060</a>><br>l:0<br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno gio 21 gen 2021 alle ore 09:18 Davide Zanichelli <<a href="mailto:dav.zanichelli@gmail.com" target="_blank">dav.zanichelli@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello<div>i dont understand why teams reply me 481 !!!</div><div><br></div><div>Thanks </div><div>davide</div><div><br>||||||||||||||||||||<br>====================<br>tag: snd<br>pid: 102385<br>process: 6<br>time: 1611216424.610918<br>date: Thu Jan 21 08:07:04 2021<br>proto: tls ipv4<br>srcip: 69.172.96.197<br>srcport: 5061<br>dstip: 52.114.75.24<br>dstport: 5061<br>~~~~~~~~~~~~~~~~~~~~<br>BYE sip:+1010@sip.pstnhub.microsoft.com:5061;transport=tls SIP/2.0<br>Record-Route: <sip:kml.call2teams.io:5061;transport=tls;r2=on;ftag=7NFv9B0B3K6QB;lr><br>Record-Route: <sip:69.172.96.197:5060;r2=on;ftag=7NFv9B0B3K6QB;lr><br>Via: SIP/2.0/TLS 69.172.96.197:5061;branch=z9hG4bK02e5.5f6af95bad6e683b84ebf07b31a7755f.0<br>v:SIP/2.0/UDP 185.132.68.116;received=185.132.68.116;rport=5060;branch=z9hG4bK9j0gNmmXj9Q6D<br>Max-Forwards:69<br>f:"Davide Zanichelli"<<a href="mailto:sip%3A3454558075@185.132.68.116" target="_blank">sip:3454558075@185.132.68.116</a>>;tag=7NFv9B0B3K6QB<br>t:<sip:+1010@sip.pstnhub.microsoft.com:5061;user=phone>;tag=da13ee6f8a0f4277b597fa9fd40a783f<br>i:781214b3-d662-1239-fc81-9259e6a86632<br>CSeq:31054416 BYE<br>User-Agent:FreeSWITCH-mod_sofia/1.6.20~64bit<br>Allow:INVITE,ACK,BYE,CANCEL,OPTIONS,MESSAGE,INFO,UPDATE,REGISTER,REFER,PRACK,NOTIFY,PUBLISH,SUBSCRIBE<br>k:precondition,100rel,path,replaces<br>Reason:Q.850;cause=16;text="NORMAL_CLEARING"<br>l:0<br><br>||||||||||||||||||||<br>====================<br>tag: rcv<br>pid: 102417<br>process: 38<br>time: 1611216424.629297<br>date: Thu Jan 21 08:07:04 2021<br>proto: tls ipv4<br>srcip: 52.114.75.24<br>srcport: 5061<br>dstip: 69.172.96.197<br>dstport: 5061<br>~~~~~~~~~~~~~~~~~~~~<br>SIP/2.0 481 Call Leg/Transaction Does Not Exist<br>FROM: "Davide Zanichelli"<<a href="mailto:sip%3A3454558075@185.132.68.116" target="_blank">sip:3454558075@185.132.68.116</a>>;tag=7NFv9B0B3K6QB<br>TO: <sip:+1010@sip.pstnhub.microsoft.com:5061;user=phone>;tag=da13ee6f8a0f4277b597fa9fd40a783f<br>CSEQ: 31054416 BYE<br>CALL-ID: 781214b3-d662-1239-fc81-9259e6a86632<br>VIA: SIP/2.0/TLS 69.172.96.197:5061;branch=z9hG4bK02e5.5f6af95bad6e683b84ebf07b31a7755f.0,SIP/2.0/UDP 185.132.68.116;received=185.132.68.116;branch=z9hG4bK9j0gNmmXj9Q6D;rport=5060<br>REASON: Q.850;cause=95;text="90301fea-2875-4a99-b6f0-25e35ff07710;Call leg unavailable"<br>CONTENT-LENGTH: 0<br>ALLOW: INVITE,ACK,OPTIONS,CANCEL,BYE,NOTIFY<br>SERVER: Microsoft.PSTNHub.SIPProxy v.2021.1.15.7 i.EUWE.8<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno mer 20 gen 2021 alle ore 18:03 Richard Fuchs <<a href="mailto:rfuchs@sipwise.com" target="_blank">rfuchs@sipwise.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 19/01/2021 07.11, Daniel-Constantin Mierla wrote:<br>
> Hello,<br>
><br>
> I built rtpengine deb packages for debian just a few days ago and all <br>
> went fine. I used the file mr8.5.1.5.tar.gz from the github releases <br>
> of rtpengine project.<br>
><br>
> However, I noticed that some past releases fail to build because of <br>
> the tests. I had to edit a bit the Makefile to disable the tests target.<br>
<br>
If some of the tests are causing a problem, you can let me know and I'll <br>
see if they can be defused to make things work for everybody.<br>
<br>
Cheers<br>
<br>
<br>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>
</blockquote></div>
</blockquote></div></div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div></div>
</blockquote></div>
</blockquote></div>