[Top][All Lists]

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

[Linphone-users] Wrong "via" header IP address

From: Casper Langemeijer
Subject: [Linphone-users] Wrong "via" header IP address
Date: Mon, 02 Aug 2010 22:47:42 +0200

Hi All,

I try to connect from my home through a VPN connection to an asterisk
server. VPN and office network addresses are 172.24.x.x. My local
network is 192.168.1.x

linphone is advertising (my local network IP) as host in
the "via" header.

I can see my asterisk server contacting in my office
firewall error log. Apparently it receives the REGISTER packet and
responds to the IP in the "via" header.

Originally the sender address of the packets was my local network IP as
well. According to bugreport a possible
solution was to add an explicit route to my asterisk server, so I did.

$ route add ppp0

It fixed that part of the problem. This seems to be the same issue as
mentioned in this debian bugreport.

Here is one of the REGISTER packets sent, copied from the Linphone debug

message: cb_sndreq_retransmission (id=4)
message: eXosip: timer sec:4 usec:10000!
message: DNS resolution with
message: getaddrinfo returned the following addresses:
message: port 5060
message: Message sent: (to dest=
Via: SIP/2.0/UDP;rport;branch=z9hG4bK898566468
From: <sip:address@hidden>;tag=1790236968
To: <sip:address@hidden>
Call-ID: 952225778
Contact: <sip:address@hidden>
Max-Forwards: 70
User-Agent: Linphone/3.3.2 (eXosip2/3.3.0)
Expires: 600
Content-Length: 0

If I can help you by providing any other information, please let me

Thank you,


reply via email to

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