[SIP Beyond VoIP] Receiving invitation to put call on hold in python3-sipsimple results in received_proposal_request sub_state

Madis-Karli Koppel madiskarli.koppel at mindtitan.com
Thu Nov 11 12:17:24 CET 2021


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ag-projects.com/pipermail/sipbeyondvoip/attachments/20211111/953fea14/attachment.htm>


More information about the SIPBeyondVoIP mailing list