Try to bind to 127.13.3.7 to brain Linphone

This commit is contained in:
Quentin 2019-02-20 08:40:15 +01:00
parent 3f14980eb8
commit 879f87fd7f
3 changed files with 2 additions and 5 deletions

View file

@ -4,6 +4,4 @@
Choose a SIP UDP, Audio RTP/UDP and Video RTP/UDP that is different between your clients.
Check behind NAT/Firewall.
Set public IP as 127.0.0.2
Manage your SIP account --> Add
Fill the SIP identity and the proxy address with respectively `sip:<user>@127.0.0.1:<port>` and `sip:127.0.0.1:<port>`
Set public IP as 127.13.3.7

View file

@ -63,7 +63,7 @@ int create_ip_server(char* service, int type) {
conf.ai_protocol = 0;
enable = 1;
err = getaddrinfo(NULL, service, &conf, &result);
err = getaddrinfo("127.13.3.7", service, &conf, &result);
if (err != 0) {
fprintf(stderr, "Error with getaddrinfo()\n");
exit(EXIT_FAILURE);

View file

@ -2,5 +2,4 @@ ControlPort 9051
UseEntryGuards 0
SafeLogging 0
SocksPort 9050 OnionTrafficOnly CacheDNS UseDNSCache
Log INFO stdout