Closed tobias-herkert closed 2 years ago
This should be fixed by commit 13a4656
Thanks for reporting a bug.
Please test and let me know. I have no VoIP Services that accept TCP to test against.
Thanks,
Hi, thanks for the fast response! The fix is working :)
Closed.
Hello, I'm new to Java and trying to setup a small learning project using JavaForce VIOP via TCP.
I have a server and a client that start, but whenever I send an INVITE, I receive the following log: Bad packet (no Call-ID) from: XXXX:XXXX
I tracked the issue into the TransportTCPServer.java where the packet is correctly stored in the packets ArrayList. This packet is then "copied" into an packet provided by the SIP class in function receive. However the data array from the tmp packet is directly assigned to the data property of the packet from SIP which replaces the array from SIP. SIP then continues to work with its original array that is still all zeros. Zeros lead to an empty string and, of course, no Call-ID.