1. Brekeke Product Name and version: BSS 2.4.7.3/286.1
2. Java version: 1.6.0_17
3. OS type and the version: 2.6.18-194.32.1.el5.centos.plus
4. UA (phone), gateway or other hardware/software involved: softphone
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html : server at the public, client on vpn
6. Your problem: wrong register address
We're trying to connect a call through a VPN. At the client i now have two ip adresses available:
- 172.28.28.67 (IP adress ethernet)
- 172.29.0.10 (Ip adress VPN)
SIP registering succeeds through the VPN, however during a call the a/v
packets are sent to the wrong IP by the sip server.
When I look at the registered clients at the sip server, the server thinks my
contact uri is sip:user@172.28.28.67:6022 (IP address ethernet). We
think it should be 172.29.0.10 (IP address VPN).
Below is SIP registration message from Wireshark generated by the client.
The Via header contains the 172.28 address, the Contact header contains the
172.29 address.
It seems the contact URI in the registrar database is based on the Via header not on the Contact header. Although the information in the Via header may be incorrect, which is a client thing, it suprises me that the Registrar database uses the Via header.
So my question: how does this work on BKK sip server? Is it correct that the via header is used as contact uri for the Registrar database?
Thanks
Via: SIP/2.0/UDP 172.28.28.76:6022;rport;branch=z9hG4bK89646238
From: <sip:user@mydomain>;tag=597456652
To: <sip:user@mydomain>
Call-ID: 1127362553
CSeq: 1 REGISTER
Contact: <sip:user@172.29.0.10:6022;line=037fcc4cf772075>
Max-Forwards: 70
User-Agent: softphone
Expires: 1800
Supported: 100rel
Content-Length: 0
2. Java version: 1.6.0_17
3. OS type and the version: 2.6.18-194.32.1.el5.centos.plus
4. UA (phone), gateway or other hardware/software involved: softphone
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html : server at the public, client on vpn
6. Your problem: wrong register address
We're trying to connect a call through a VPN. At the client i now have two ip adresses available:
- 172.28.28.67 (IP adress ethernet)
- 172.29.0.10 (Ip adress VPN)
SIP registering succeeds through the VPN, however during a call the a/v
packets are sent to the wrong IP by the sip server.
When I look at the registered clients at the sip server, the server thinks my
contact uri is sip:user@172.28.28.67:6022 (IP address ethernet). We
think it should be 172.29.0.10 (IP address VPN).
Below is SIP registration message from Wireshark generated by the client.
The Via header contains the 172.28 address, the Contact header contains the
172.29 address.
It seems the contact URI in the registrar database is based on the Via header not on the Contact header. Although the information in the Via header may be incorrect, which is a client thing, it suprises me that the Registrar database uses the Via header.
So my question: how does this work on BKK sip server? Is it correct that the via header is used as contact uri for the Registrar database?
Thanks
Via: SIP/2.0/UDP 172.28.28.76:6022;rport;branch=z9hG4bK89646238
From: <sip:user@mydomain>;tag=597456652
To: <sip:user@mydomain>
Call-ID: 1127362553
CSeq: 1 REGISTER
Contact: <sip:user@172.29.0.10:6022;line=037fcc4cf772075>
Max-Forwards: 70
User-Agent: softphone
Expires: 1800
Supported: 100rel
Content-Length: 0