We tested Linphone 1.1 appstore version with TCP protocol and observed that, recv system call is showing wrong number bytes received.
Here is the SIP packet
Thu Dec 8 11:59:13 unknown linphone[873] <Warning>: socket 69.x.x.101:5060: read 1203 bytes
Thu Dec 8 11:59:13 unknown linphone[873] <Warning>: Received message from 69.x.x.101:5060: SIP/2.0 100 Trying .. Via: SIP/2.0/TCP 192.168.1.107:4458;rport=52245;branch=z9hG4bK1144073394;received=183.x.x.229
From: <sip:address@hidden>;tag=344219498 To: <sip:address@hidden> Call-ID: 1279339083
CSeq: 20 INVITE Server: OpenSIPS (1.6.4-2-notls (x86_64/linux)) Content-Length: 0
To parse this "100 trying .." packet it is looping un-necessarily for 1203 bytes.
The problem with this is:- When we hold from Linphone side and it receives 100 Trying, Linphone is looping to parse 100 trying, by the time 200 ok came .
But Linphone doesn't process 200 OK as it is looping to parse 100 trying. Hold is not working properly.