Hello merci du supplèment de configuration mais je suis sur un conteneur docker donc pas de chroot ni de deamonize donc j'ai rajouté dans mon /etc/host ton enregistrement DNS, mais toujours le même problème. Voilà l'erreur complète si ça peut t'aider :
09:09:50 siproxd.c:387 received 572 bytes of data
09:09:50 accessctl.c:50 deny list (SIP):*NULL*
09:09:50 accessctl.c:52 allow list (SIP):*NULL*
09:09:50 accessctl.c:54 allow list (REG):*NULL*
09:09:50 accessctl.c:99 access check =3
09:09:50 security.c:48 security_check_raw: size=572
09:09:50 siproxd.c:481 checking Max-Forwards (=70)
09:09:50 siproxd.c:526 received SIP type REQ:REGISTER
09:09:50 utils.c:99 initializing DNS cache (256 entries)
09:09:50 utils.c:215 DNS lookup - resolved: ims.mnc010.mcc208.3gppnetwork.org -> 77.136.6.85
09:09:50 utils.c:255 DNS lookup - store into cache, entry 0)
09:09:50 utils.c:386 fetching interface IP by INTERFACE [1]
09:09:50 utils.c:437 initializing ifaddr cache (32 entries)
09:09:50 utils.c:481 getifaddrs - eth0 / lo, ifa_addr=0x55b002219c58, addrfamily=17
09:09:50 utils.c:481 getifaddrs - eth0 / sit0, ifa_addr=0x55b002219d10, addrfamily=17
09:09:50 utils.c:481 getifaddrs - eth0 / eth0, ifa_addr=0x55b002219dc8, addrfamily=17
09:09:50 utils.c:481 getifaddrs - eth0 / lo, ifa_addr=0x55b002219e80, addrfamily=2
09:09:50 utils.c:481 getifaddrs - eth0 / eth0, ifa_addr=0x55b002219f38, addrfamily=2
09:09:50 utils.c:491 getifaddrs - MATCH, sin_addr=172.17.0.6
09:09:50 utils.c:543 get_ip_by_ifname: if eth0 has IP:172.17.0.6 (flags=11043) UP
09:09:50 utils.c:563 ifname lookup - store into cache, entry 0)
09:09:50 utils.c:353 fetching outbound IP by HOSTNAME
09:09:50 utils.c:215 DNS lookup - resolved: [IP_PUBLIQUE] -> [IP_PUBLIQUE]
09:09:50 utils.c:255 DNS lookup - store into cache, entry 1)
09:09:50 siproxd.c:580 proxying REGISTER request to:ims.mnc010.mcc208.3gppnetwork.org
09:09:50 register.c:239 sip_register:
09:09:50 register.c:325 register: +3323723XXXX@192.168.99.2 expires=3600 seconds
09:09:50 sip_utils.c:279 comparing urls: sip:+3323723XXXX@ims.mnc010.mcc208.3gppnetwork.org -> sip:+3323723XXXX@ims.mnc010.mcc208.3gppnetwork.org
09:09:50 utils.c:134 DNS lookup - from cache: ims.mnc010.mcc208.3gppnetwork.org -> 77.136.6.85
09:09:50 utils.c:134 DNS lookup - from cache: ims.mnc010.mcc208.3gppnetwork.org -> 77.136.6.85
09:09:50 register.c:350 found entry for +3323723XXXX@192.168.99.2 <-> +3323723XXXX@ims.mnc010.mcc208.3gppnetwork.org at slot=0, exp=3055
09:09:50 utils.c:353 fetching outbound IP by HOSTNAME
09:09:50 utils.c:134 DNS lookup - from cache: [IP_PUBLIQUE] -> [IP_PUBLIQUE]
09:09:50 register.c:450 masquerading UA +3323723XXXX@192.168.99.2 local +3323723XXXX@[IP_PUBLIQUE]
09:09:50 proxy.c:89 proxy_request
09:09:50 route_processing.c:63 route_preprocess: no Route header present
09:09:50 utils.c:215 DNS lookup - resolved: 192.168.99.2 -> 192.168.99.2
09:09:50 utils.c:255 DNS lookup - store into cache, entry 2)
09:09:50 sip_utils.c:1018 sip_find_direction: reghost:192.168.99.2 ip:172.17.0.1
09:09:50 sip_utils.c:279 comparing urls: sip:+3323723XXXX@ims.mnc010.mcc208.3gppnetwork.org -> sip:+3323723XXXX@[IP_PUBLIQUE]
09:09:50 utils.c:134 DNS lookup - from cache: ims.mnc010.mcc208.3gppnetwork.org -> 77.136.6.85
09:09:50 utils.c:134 DNS lookup - from cache: [IP_PUBLIQUE] -> [IP_PUBLIQUE]
09:09:50 sip_utils.c:324 compare_url: IP mismatch
09:09:50 sip_utils.c:279 comparing urls: sip:(null)@ims.mnc010.mcc208.3gppnetwork.org -> sip:+3323723XXXX@[IP_PUBLIQUE]
09:09:50 sip_utils.c:298 compare_url: NULL username - ignoring
09:09:50 utils.c:134 DNS lookup - from cache: ims.mnc010.mcc208.3gppnetwork.org -> 77.136.6.85
09:09:50 utils.c:134 DNS lookup - from cache: [IP_PUBLIQUE] -> [IP_PUBLIQUE]
09:09:50 sip_utils.c:324 compare_url: IP mismatch
09:09:50 utils.c:386 fetching interface IP by INTERFACE [1]
09:09:50 utils.c:464 ifaddr lookup - from cache: eth0 -> 172.17.0.6 UP
09:09:50 utils.c:353 fetching outbound IP by HOSTNAME
09:09:50 utils.c:134 DNS lookup - from cache: [IP_PUBLIQUE] -> [IP_PUBLIQUE]
09:09:50 sip_utils.c:1179 sip_find_direction: unable to determine direction of SIP packet
09:09:50 proxy.c:242 request [REGISTER] from/to unregistered UA (RQ: +3323723XXXX@ims.mnc010.mcc208.3gppnetwork.org -> *NULL*@ims.mnc010.mcc208.3gppnetwork.org)
09:09:50 sock.c:434 send UDP packet to 192.168.99.2: 5060
Je pense vraiment que mon problème viens du fait que j'ai la même interface pour l'entré et la sortie sur le proxy SIP...
Aller on va peut être finir par trouver un jour ! :p