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:[email protected]: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:[email protected]: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!

Attachment: contact_address_problem_registration.tcpdump
Description: Binary data

_______________________________________________
Linphone-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/linphone-users

Reply via email to