linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] Enforcing TCP as transport protocol


From: Saumil Gandhi
Subject: Re: [Linphone-developers] Enforcing TCP as transport protocol
Date: Mon, 18 Aug 2014 13:06:51 +0530

Hi,

Re-posting this because I've still not been able to get this to work. Here's what the relevant section of my linphonerc_factory looks like:

===

[sip]

guess_hostname=1

inc_timeout=15

register_only_when_network_is_up=1

auto_net_state_mon=0

auto_answer_replacing_calls=1

media_encryption_mandatory=0

use_info=0

use_ipv6=0

keepalive_period=600

ping_with_options=1

default_proxy=0

sip_port=0

sip_tcp_port=5060

sip_tls_port=0

udp_port=0


[proxy_0]

reg_proxy=<sip:sip.mydomain.com;transport=tcp>

reg_route=<sip:sip.mydomain.com;transport=tcp>

reg_expires=600


======

I have created a TCP DNS SRV record for sip.mydomain.com as well. However, when I launch my android apk, while the proxy server is picked up correctly, but the protocol is still set to UDP. Further, because my reg_route is set correctly, my outbound proxy should be selected by default, but even this is not being picked up and it comes up an unchecked in the settings.

I have observed that sometimes, when the apk crashes and restarts, it picks up both these settings correctly. Not sure if that helps, but thought I'd mention if it points to anything useful.


Thanks,
Saumil



On Mon, Aug 4, 2014 at 11:27 PM, Saumil Gandhi <address@hidden> wrote:
Hi Luiz,

I setup TCP DNS SRV record for my servers. I have two questions:

1. Are there any changes I need to make to the config file?
2. I pass sip.tcp.mydomain.com as the domain parameter while initiating a linphone login with the apk, but it does not work (I get a Fails to Register). If I pass my IP address it works
3. My IP mapping is correct, because if I test my sip.tcp.mydomain.com on web.linphone.org, I am able to sign-on to my SIP account.

So wondering what I need to do within my Android client so that I am able to register to my server.

Thanks,
Saumil


On Wed, Jul 23, 2014 at 6:46 PM, Saumil Gandhi <address@hidden> wrote:
Hi Luiz,

I don't think I do. Is that necessary for enforcing TCP? I was hoping I could configure my Linphone android client to use TCP as the transport protocol, and be done with it. Am I wrong in that assumption?

Thanks,
Saumil


On Wed, Jul 23, 2014 at 6:08 PM, Luiz Silva <address@hidden> wrote:
Hello,

Do you have the TCP DNS SRV record for your servers? something like _sip._tcp.yourdomain.com ?

Luiz


On Tue, Jul 22, 2014 at 6:55 AM, Saumil Gandhi <address@hidden> wrote:
Hi,

My linphonerc_default looks like this:

===

[net]

download_bw=380

upload_bw=380

firewall_policy=2

stun_server=my.stun.server.ip


[sip]

contact=sip:address@hidden

use_info=0

use_ipv6=0

keepalive_period=30000

ping_with_options=1

default_proxy=0

sip_port=0

sip_tcp_port=5060

sip_tls_port=0

udp_port=0


[proxy_0]

reg_proxy=<sip:my.server.ip;transport=tcp>

reg_route=<sip:my.server.ip;transport=tcp>


[video]

size=qvga

enabled=1

display=1

show_local=1

self_view=1

automatically_initiate=1

automatically_accept=1


[app]

sharing_server=https://www.linphone.org:444/upload.php

tunnel=disabled


[tunnel]

host=

port=443


===

Any reason that TCP is not being picked up as the default transport protocol? I always seem to be getting UDP when I compile the apk.

Thanks,
Saumil

_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers



_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers





reply via email to

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