linphone-users
[Top][All Lists]
Advanced

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

Re: [Linphone-users] Contact field seems to be wrong


From: xunile
Subject: Re: [Linphone-users] Contact field seems to be wrong
Date: Wed, 25 Jan 2012 11:42:12 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20070509 SeaMonkey/1.1.2

Could someone answer about this issue please ?

At least, please tell me in which file(s) I should look for to solve this bug ? (I will submit a patch).
Remainder : wrong "contact name" is sent on the network.

Thanks!

address@hidden wrote:
Hi,

I am using Linphone-3.3.2 on Linux & uClinux. I want to use different listening SIP port, so in .linphonerc config file, there is this:
[sip]
sip_port=5061
guess_hostname=1
contact=<sip:address@hidden:5061>
inc_timeout=15
use_info=0
use_ipv6=0
register_only_when_network_is_up=0
default_proxy=0
use_rfc2833=0

My Linphone application connects to an Innovaphone SIP gateway. Looking at network traffic with ethereal, I can confirm that Linphone listens on port 5061 (that was expected).
BUT
Linphone seems to send wrong information in it's "Contact" field when sending REGISTER command to the SIP gateway. Here is an extract from the ethereal trace:
Request-Line: REGISTER sip:192.168.1.230 SIP/2.0
[...]
CSeq: 3 REGISTER
Contact: <sip:address@hidden:5060> <--- this line is wrong, should be 5061 and NOT 5060
Max-Forwards: 70
User-Agent: Linphone/3.3.2 (eXosip2/3.1.0)
[...]
(attachment contains the registration ethereal log)

I have contacted Innovaphone (SIP gateway), and they told me there is a bug in Linphone because the Contact field is wrong. Because of this, the Innovaphone products sends its answers to the wrong port (5060) and Linphone never gets them.

Thanks for your help!


------------------------------------------------------------------------

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




reply via email to

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