[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 14:00:21 CET 2021


Hello

Had to remove the IPs and numbers so the Content-Length headers might not
match. Expires in 7 days, will updated if needed:
https://pastebin.com/VV8A49Dr, key is DRyQLjaUUA

All the best
[image: Mindtitan] <https://www.mindtitan.com>
Madis-Karli Koppel
E: madiskarli.koppel at mindtitan.com | W: www.mindtitan.com


On Thu, 11 Nov 2021 at 13:33, Adrian Georgescu <ag at ag-projects.com> wrote:

> 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
>
> _______________________________________________
> SIPBeyondVoIP mailing list
> SIPBeyondVoIP at lists.ag-projects.com
> https://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ag-projects.com/pipermail/sipbeyondvoip/attachments/20211111/ba65c74e/attachment.htm>


More information about the SIPBeyondVoIP mailing list