Try to bind to 127.13.3.7 to brain Linphone
This commit is contained in:
parent
3f14980eb8
commit
879f87fd7f
|
@ -4,6 +4,4 @@
|
||||||
|
|
||||||
Choose a SIP UDP, Audio RTP/UDP and Video RTP/UDP that is different between your clients.
|
Choose a SIP UDP, Audio RTP/UDP and Video RTP/UDP that is different between your clients.
|
||||||
Check behind NAT/Firewall.
|
Check behind NAT/Firewall.
|
||||||
Set public IP as 127.0.0.2
|
Set public IP as 127.13.3.7
|
||||||
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>`
|
|
||||||
|
|
|
@ -63,7 +63,7 @@ int create_ip_server(char* service, int type) {
|
||||||
conf.ai_protocol = 0;
|
conf.ai_protocol = 0;
|
||||||
|
|
||||||
enable = 1;
|
enable = 1;
|
||||||
err = getaddrinfo(NULL, service, &conf, &result);
|
err = getaddrinfo("127.13.3.7", service, &conf, &result);
|
||||||
if (err != 0) {
|
if (err != 0) {
|
||||||
fprintf(stderr, "Error with getaddrinfo()\n");
|
fprintf(stderr, "Error with getaddrinfo()\n");
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
|
|
|
@ -2,5 +2,4 @@ ControlPort 9051
|
||||||
UseEntryGuards 0
|
UseEntryGuards 0
|
||||||
SafeLogging 0
|
SafeLogging 0
|
||||||
SocksPort 9050 OnionTrafficOnly CacheDNS UseDNSCache
|
SocksPort 9050 OnionTrafficOnly CacheDNS UseDNSCache
|
||||||
Log INFO stdout
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue