[SIP Beyond VoIP] Receiving invitation to put call on hold in python3-sipsimple results in received_proposal_request sub_state
Adrian Georgescu
ag at ag-projects.com
Thu Nov 11 12:32:50 CET 2021
Can you send the SIP trace of a such a call?
Adrian
> On 11 Nov 2021, at 08:17, Madis-Karli Koppel <madiskarli.koppel at mindtitan.com> wrote:
>
> Hello
>
> 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.
>
> 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.
>
> 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.
>
> System information
> Python 3.8.10
> python3-sipsimple 5.2.6 installed using apt-get install -y python3-sipsimple
> Ubuntu 20.04
>
> Do you know why this might happen and what should be changed here?
>
> All the best,
> Madis-Karli Koppel
> _______________________________________________
> SIPBeyondVoIP mailing list
> SIPBeyondVoIP at lists.ag-projects.com
> https://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip
More information about the SIPBeyondVoIP
mailing list