[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Linphone-users] Contact field seems to be wrong
From: |
xunile |
Subject: |
[Linphone-users] Contact field seems to be wrong |
Date: |
Fri, 06 Jan 2012 15:45:14 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20070509 SeaMonkey/1.1.2 |
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!
contact_address_problem_registration.tcpdump
Description: Binary data
- [Linphone-users] Contact field seems to be wrong,
xunile <=