### Description
When callee device not reachable kamailio tries to reach it, I have profile with 3 retries with 1second interval. But Contact header present only in 1-st Invite. Next Invites are send without Contact header...
With topoh module - Contact normal in all INVITES. ### Troubleshooting
#### Reproduction
Load and configure topos module Create permanent location record which is unreachable. Make call to it. make sure that you have profile with retries.
#### Log Messages
[kamailio.tar.gz](https://github.com/kamailio/kamailio/files/1542939/kamailio.tar.gz)
#### SIP Traffic
[retry-Invite-on-not-reach.tar.gz](https://github.com/kamailio/kamailio/files/1542940/retry-Invite-on-not-reach...)
### Additional Information
* **Kamailio Version** version: kamailio 5.2.0-dev1 (x86_64/linux) flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB poll method support: poll, epoll_lt, epoll_et, sigio_rt, select. id: unknown compiled on 14:50:56 Dec 8 2017 with gcc 4.8.5
* **Operating System**: Red Hat Enterprise Linux Server 7.3
3.10.0-514.el7.x86_64 #1 SMP Wed Oct 19 11:24:13 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux
Closed #1356.
This should be fixed with the commit referenced above. Reopen if still an issue.
Thank you Daniel.
It is work as expected now. Sorry for delay byt I does not receive email notification from github...