<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">After initial call setup, the PBX sends an INVITE with no body:<div class=""><br class=""></div><div class=""><div class="">70. INVITE <a href="sip:RECEIVING_NUMBER@INTERNAL_IP" class="">sip:RECEIVING_NUMBER@INTERNAL_IP</a> SIP/2.0</div><div class="">71. Via: SIP/2.0/UDP EXTERNAL_IP:5060;rport;branch=z9hG4bK802267e061bb35ab74d75e8b1d5bfa2a</div><div class="">72. From: <<a href="sip:CALLING_NUMBER@EXTERNAL_IP" class="">sip:CALLING_NUMBER@EXTERNAL_IP</a>>;tag=0c577d27ab792e05</div><div class="">73. To: "RECEIVING_NUMBER_IDENTITY" <<a href="sip:RECEIVING_NUMBER@EXTERNAL_IP" class="">sip:RECEIVING_NUMBER@EXTERNAL_IP</a>>;tag=b2a2be6b-4219-421b-a06a-c0dbec54867f</div><div class="">74. Call-ID: 5ec07aba0ad70af7a83eb14bb384217e</div><div class="">75. CSeq: 1770141517 INVITE</div><div class="">76. P-Asserted-Identity: " " <<a href="sip:CALLING_NUMBER@EXTERNAL_IP:5060" class="">sip:CALLING_NUMBER@EXTERNAL_IP:5060</a>></div><div class="">77. Contact: <<a href="sip:CALLING_NUMBER@EXTERNAL_IP:5060;transport=udp" class="">sip:CALLING_NUMBER@EXTERNAL_IP:5060;transport=udp</a>></div><div class="">78. Max-Forwards: 70</div><div class="">79. Allow: INVITE,ACK,CANCEL,OPTIONS,BYE,INFO,REFER,NOTIFY,SUBSCRIBE,REGISTER,PUBLISH,UPDATE</div><div class="">80. Supported: 100rel</div><div class="">81. User-Agent: IP Office 11.0.4.6.4 build 1</div><div class="">82. Content-Length: 0</div><div class=""><br class=""></div><div class="">Is this suppose to put the call on hold? To put the call on hold there must be SDP with a=recvonly.</div><div class=""><br class=""></div><div class="">Then SIP Simple answers with 200 OK and nothing has changed.</div><div class=""><br class=""></div><div class="">But then the PBX must send back an ACK but it does not. So that call is in limbo at this state.</div><div class=""><br class=""></div><div class="">This PBX is not working right.</div><div class=""><br class=""></div><div class="">Regards,</div><div class="">Adrian</div><div class=""><br class=""></div><div class=""><br class=""></div><div><br class=""><blockquote type="cite" class=""><div class="">On 11 Nov 2021, at 10:00, Madis-Karli Koppel <<a href="mailto:madiskarli.koppel@mindtitan.com" class="">madiskarli.koppel@mindtitan.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hello<div class=""><br class=""></div><div class="">Had to remove the IPs and numbers so the Content-Length headers might not match. Expires in 7 days, will updated if needed: <a href="https://pastebin.com/VV8A49Dr" class="">https://pastebin.com/VV8A49Dr</a>, key is DRyQLjaUUA</div><div class=""><br class=""></div><div class="">All the best<br clear="all" class=""><div class=""><div dir="ltr" data-smartmail="gmail_signature" class="gmail_signature"><div dir="ltr" class=""><table cellspacing="0" cellpadding="0" border="0" style="font-family:"Times New Roman";width:655px" class=""><tbody class=""><tr class=""><td valign="middle" style="border-right:2px solid rgb(169,169,169);padding-right:10px;vertical-align:middle" class=""><a href="https://www.mindtitan.com/" target="_blank" class=""><img src="https://i.ibb.co/T0QTdpp/qrn9KK.jpg" alt="Mindtitan" style="display:block" class=""></a></td><td style="vertical-align:middle;padding-left:10px" class=""><table cellspacing="0" cellpadding="0" border="0" class=""><tbody class=""><tr class=""><td style="font-family:Arial;font-size:12pt;color:rgb(51,51,51)" class=""><font style="font-weight:bold;font-size:12pt" class="">Madis-Karli Koppel</font></td></tr><tr class=""><td style="font-family:Arial;font-size:10pt" class=""><font style="color:rgb(51,51,51);font-size:10pt" class="">E: <a href="mailto:madiskarli.koppel@mindtitan.com" style="color:rgb(0,102,204)" target="_blank" class="">madiskarli.koppel@mindtitan.com</a></font><font style="color:rgb(51,51,51);font-size:10pt" class=""> | </font><font style="color:rgb(51,51,51);font-size:10pt" class="">W: <a href="https://www.mindtitan.com/" style="color:rgb(0,102,204)" target="_blank" class="">www.mindtitan.com</a></font></td></tr></tbody></table></td></tr></tbody></table></div></div></div><br class=""></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 11 Nov 2021 at 13:33, Adrian Georgescu <<a href="mailto:ag@ag-projects.com" class="">ag@ag-projects.com</a>> wrote:<br class=""></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">Can you send the SIP trace of a such a call?<br class="">
<br class="">
Adrian<br class="">
<br class="">
> On 11 Nov 2021, at 08:17, Madis-Karli Koppel <<a href="mailto:madiskarli.koppel@mindtitan.com" target="_blank" class="">madiskarli.koppel@mindtitan.com</a>> wrote:<br class="">
> <br class="">
> Hello<br class="">
> <br class="">
> When I try to put the call on hold then the call will go to sub_state received_proposal_request and call will end on the callers side (not using python3-sipsimple) but will continue in python3-sipsimple. This only happens with some sip number providers, others work fine. The issue was not present with this sip number provider and using python2 version of sipsimple: python-sipsimple.<br class="">
> <br class="">
> The only thing I know is that in sipsimple/core/_core.invitation.pxi the sub_state is set to received_proposal_request if offer is empty and when I log SIPInvitationChangedState in python then it has body=None. <br class="">
> <br class="">
> Also, according to wireshark, the OK response that is sent for INVITE to put the call on hold is malformed (I suspect this is the reason the call ends for the caller but not sure). It tries to send several malformed OKs. This only happens in python3 version, in python2 the OK response is fine.<br class="">
> <br class="">
> System information<br class="">
> Python 3.8.10<br class="">
> python3-sipsimple 5.2.6 installed using apt-get install -y python3-sipsimple<br class="">
> Ubuntu 20.04<br class="">
> <br class="">
> Do you know why this might happen and what should be changed here?<br class="">
> <br class="">
> All the best,<br class="">
> Madis-Karli Koppel<br class="">
> _______________________________________________<br class="">
> SIPBeyondVoIP mailing list<br class="">
> <a href="mailto:SIPBeyondVoIP@lists.ag-projects.com" target="_blank" class="">SIPBeyondVoIP@lists.ag-projects.com</a><br class="">
> <a href="https://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip" rel="noreferrer" target="_blank" class="">https://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip</a><br class="">
<br class="">
_______________________________________________<br class="">
SIPBeyondVoIP mailing list<br class="">
<a href="mailto:SIPBeyondVoIP@lists.ag-projects.com" target="_blank" class="">SIPBeyondVoIP@lists.ag-projects.com</a><br class="">
<a href="https://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip" rel="noreferrer" target="_blank" class="">https://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip</a><br class="">
</blockquote></div>
_______________________________________________<br class="">SIPBeyondVoIP mailing list<br class=""><a href="mailto:SIPBeyondVoIP@lists.ag-projects.com" class="">SIPBeyondVoIP@lists.ag-projects.com</a><br class="">https://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip<br class=""></div></blockquote></div><br class=""></div></body></html>