SIP account registration every 30 seconds
Describe your environment
Please specify the following:
- OS: Debian 12
- Jami version: Εἰρήνη
- What build you are using: jami.net
Steps to reproduce
Note: Better the scenario is, better we will be able to reproduce and debug.
- Can you reproduce the bug: at will
- Steps:
- 1. You must have a SIP account defined in Jami.
- 2. The fact that my router firewall does not accept outside connection from untrusted application on the LAN could have an impact. I've disabled UPnp or Bonjour NAT-PMP features. Also perhaps the fact that I have 2 devices on the LAN configured for SIP but with 2 different accounts.
- 3. Start Jami in debug mode:
jami -d
- 4. Wait a few minutes
- Actual result: Jami considers that the IP address has changed, as it does not differentiate internal and external address, and starts registering the account on the SIP server.
[account bb923de51d78f7c1] Contact address changed: (192.168.1.159:44377 → 107.159.206.45:44377). Updating registration.
- Expected result: Find that the IP has not changed and do nothing.
Additional information
[1744078022.152|5314|sipaccount.cpp :1712] [account bb923de51d78f7c1] Contact address changed: (192.168.1.159:44377 → 107.159.206.45:44377). Updating registration.
[1744078022.152|5314|sipaccount.cpp :943 ] New contact: "XXX-XXX-XXXX" <sips:************@107.159.206.45:44377;transport=tls>
[1744078082.179|5314|sipvoiplink.cpp :770 ] username = ************, server = 208.100.60.28, from = 208.100.60.28
[1744078082.183|5314|sipaccount.cpp :1570] Matching account ID in request is a fullmatch ************@208.100.60.28
[1744078082.183|5314|sipvoiplink.cpp :112 ] Processing out-of-dialog option request
[1744078082.183|5314|sipvoiplink.cpp :151 ] Sent out-of-dialog response for option request
[1744078137.195|5314|sipvoiplink.cpp :770 ] username = ************, server = 208.100.60.28, from = 208.100.60.28
[1744078137.204|5314|sipaccount.cpp :1570] Matching account ID in request is a fullmatch ************@208.100.60.28
[1744078137.204|5314|sipvoiplink.cpp :112 ] Processing out-of-dialog option request
[1744078137.204|5314|sipvoiplink.cpp :151 ] Sent out-of-dialog response for option request
[1744078137.215|5314|sipaccount.cpp :1611] [Account bb923de51d78f7c1] Checking IP route after the registration
[1744078137.215|5314|sipaccount.cpp :1636] Checking received VIA address: 107.159.206.45
[1744078137.215|5314|sipaccount.cpp :1712] [account bb923de51d78f7c1] Contact address changed: (192.168.1.159:44377 → 107.159.206.45:44377). Updating registration.
[1744078137.215|5314|sipaccount.cpp :943 ] New contact: "XXX-XXX-XXXX" <sips:************@107.159.206.45:44377;transport=tls>
[1744078197.216|5314|sipvoiplink.cpp :770 ] username = ************, server = 208.100.60.28, from = 208.100.60.28
[1744078197.223|5314|sipaccount.cpp :1570] Matching account ID in request is a fullmatch ************@208.100.60.28
[1744078197.223|5314|sipvoiplink.cpp :112 ] Processing out-of-dialog option request
[1744078197.223|5314|sipvoiplink.cpp :151 ] Sent out-of-dialog response for option request
[1744078252.248|5314|sipvoiplink.cpp :770 ] username = ************, server = 208.100.60.28, from = 208.100.60.28
[1744078252.257|5314|sipaccount.cpp :1570] Matching account ID in request is a fullmatch ************@208.100.60.28
[1744078252.257|5314|sipvoiplink.cpp :112 ] Processing out-of-dialog option request
[1744078252.257|5314|sipvoiplink.cpp :151 ] Sent out-of-dialog response for option request
[1744078252.268|5314|sipaccount.cpp :1611] [Account bb923de51d78f7c1] Checking IP route after the registration
[1744078252.268|5314|sipaccount.cpp :1636] Checking received VIA address: 107.159.206.45