linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] TCP instead of UDP for registration example with d


From: Daniel Shteinbok
Subject: [Linphone-developers] TCP instead of UDP for registration example with desktop liblinphone in C
Date: Wed, 30 Dec 2020 12:07:01 -0500

Hello,

I have a flexisip server set up to use TCP over port 5060. I am trying to run the registration example C program on a desktop to connect to the server and register a user. The current issue is that, despite creating a LinphoneTransports struct, setting it to use TCP port 5060, disabling UDP and calling linphone_core_set_transports(), the LinphoneProxyConfig still seems to default to UDP as the transport method.

I have made some modifications besides that to the program to replace the deprecated methods with more up-to-date equivalents. I have attached the C file in question, as well as a .txt file with the same contents (in case the C file is blocked as malware).

My question is, how does one make the LinphoneProxyConfig use UDP instead of TCP? Can it be done? What does it mean when the transport methods set for LinphoneProxyConfig and LinphoneCore are different from one another (this seems to be the case)? Is there a working example of registration over TCP or anything non-UDP?

My specific code aside, is there a sequence diagram of some sort or some higher-level documentation that I could take a look at to understand how all these parts work together during registration?

Thank you all very much.
Regards,
Daniel

Attachment: registration.c.txt
Description: Text document

Attachment: registration.c
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]